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

Unified Diff: components/gcm_driver/gcm_driver.cc

Issue 2697793004: Push API: Validate storage before returning cached subscriptions (Closed)
Patch Set: Comment out PUSH_GETREGISTRATION_STATUS_PUBLIC_KEY_UNAVAILABLE Created 3 years, 10 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_driver.cc
diff --git a/components/gcm_driver/gcm_driver.cc b/components/gcm_driver/gcm_driver.cc
index 21d30549d07030b043adfa405f0ab45eb6b94931..11134689bce8c79ebd19041f7a9f8e724f216498 100644
--- a/components/gcm_driver/gcm_driver.cc
+++ b/components/gcm_driver/gcm_driver.cc
@@ -16,12 +16,6 @@
namespace gcm {
-namespace {
-
-const size_t kMaxSenders = 100;
-
-} // namespace
-
InstanceIDHandler::InstanceIDHandler() {
}
@@ -33,6 +27,8 @@ void InstanceIDHandler::DeleteAllTokensForApp(
DeleteToken(app_id, "*", "*", callback);
}
+const size_t GCMDriver::kMaxSenders = 100;
+
GCMDriver::GCMDriver(
const base::FilePath& store_path,
const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner)

Powered by Google App Engine
This is Rietveld 408576698