| Index: components/gcm_driver/gcm_backoff_policy.h
|
| diff --git a/components/gcm_driver/gcm_backoff_policy.h b/components/gcm_driver/gcm_backoff_policy.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d49accbadf702228bdc2cb6679c08e9d0d1fbcdd
|
| --- /dev/null
|
| +++ b/components/gcm_driver/gcm_backoff_policy.h
|
| @@ -0,0 +1,17 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_GCM_DRIVER_GCM_BACKOFF_POLICY_H_
|
| +#define COMPONENTS_GCM_DRIVER_GCM_BACKOFF_POLICY_H_
|
| +
|
| +#include "net/base/backoff_entry.h"
|
| +
|
| +namespace gcm {
|
| +
|
| +// Returns the backoff policy that applies to all GCM requests.
|
| +const net::BackoffEntry::Policy& GetGCMBackoffPolicy();
|
| +
|
| +} // namespace gcm
|
| +
|
| +#endif // COMPONENTS_GCM_DRIVER_GCM_BACKOFF_POLICY_H_
|
|
|