jianli | 1235e51c | 2014-09-08 18:56:41 | [diff] [blame] | 1 | // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef COMPONENTS_GCM_DRIVER_GCM_BACKOFF_POLICY_H_ |
| 6 | #define COMPONENTS_GCM_DRIVER_GCM_BACKOFF_POLICY_H_ |
| 7 | |
| 8 | #include "net/base/backoff_entry.h" |
| 9 | |
| 10 | namespace gcm { |
| 11 | |
| 12 | // Returns the backoff policy that applies to all GCM requests. |
| 13 | const net::BackoffEntry::Policy& GetGCMBackoffPolicy(); |
| 14 | |
| 15 | } // namespace gcm |
| 16 | |
| 17 | #endif // COMPONENTS_GCM_DRIVER_GCM_BACKOFF_POLICY_H_ |