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..f40ad792b79e3c5d8f299748bac4657aabb8d94e |
--- /dev/null |
+++ b/components/gcm_driver/gcm_backoff_policy.h |
@@ -0,0 +1,12 @@ |
+// 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. |
+ |
fgorski
2014/09/03 20:42:16
missing #ifndef COMPONENTS_GCM_DRIKVER_GCM_BACKOFF
jianli
2014/09/03 21:17:55
Done.
|
+#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 |