Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: components/gcm_driver/gcm_backoff_policy.h

Issue 530253002: Add GCMChannelStatusRequest to talk with server for all users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android build Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698