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

Unified Diff: components/gcm_driver/gcm_client.h

Issue 600053002: [GCM] Loading the account mappings from store to the driver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_client.h
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h
index abf2fd5e9bfb8029cab850a37460043ab8d514c7..016438406a1b79a0ba998f55f17df226ddd89367 100644
--- a/components/gcm_driver/gcm_client.h
+++ b/components/gcm_driver/gcm_client.h
@@ -201,7 +201,9 @@ class GCMClient {
// Called when the GCM becomes ready. To get to this state, GCMClient
// finished loading from the GCM store and retrieved the device check-in
// from the server if it hadn't yet.
- virtual void OnGCMReady() = 0;
+ // |account_mappings|: a list of accounts mapped to this GCM client.
jianli 2014/09/24 21:21:31 nit: a list of persisted accounts ...
fgorski 2014/09/24 22:25:40 Done.
+ virtual void OnGCMReady(
+ const std::vector<AccountMapping>& account_mappings) = 0;
// Called when activities are being recorded and a new activity has just
// been recorded.

Powered by Google App Engine
This is Rietveld 408576698