910e62b5创建于 1月15日历史提交
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_BROWSER_BACKGROUND_FETCH_BACKGROUND_FETCH_CONSTANTS_H_
#define CONTENT_BROWSER_BACKGROUND_FETCH_BACKGROUND_FETCH_CONSTANTS_H_

namespace content {

// Maximum number of parallel requests that a Background Fetch should fetch.
constexpr size_t kMaximumBackgroundFetchParallelRequests = 1;

// Value used to refer to an invalid request index for Background Fetch.
constexpr int kInvalidBackgroundFetchRequestIndex = -1;

}  // namespace content

#endif  // CONTENT_BROWSER_BACKGROUND_FETCH_BACKGROUND_FETCH_CONSTANTS_H_