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

Unified Diff: components/gcm_driver/gcm_driver.h

Issue 594383003: [GCM] Passing GCMClient::AccountTokenInfo list to GCMDriver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@account-mapper
Patch Set: Rebased 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_driver.h
diff --git a/components/gcm_driver/gcm_driver.h b/components/gcm_driver/gcm_driver.h
index 98780688cee148bb87c449803a44100456bea3e1..17a15d3aa017f589b9235ebf819a320d0e531c1c 100644
--- a/components/gcm_driver/gcm_driver.h
+++ b/components/gcm_driver/gcm_driver.h
@@ -118,6 +118,12 @@ class GCMDriver {
virtual void SetGCMRecording(const GetGCMStatisticsCallback& callback,
bool recording) = 0;
+ // Sets a list of accounts with OAuth2 tokens available in the system.
jianli 2014/09/25 20:26:45 It is a bit confusing by "setting a list of accoun
fgorski 2014/09/26 22:51:42 Done.
+ // |account_tokens|: list of email addresses, account IDs and OAuth2 access
+ // tokens.
+ virtual void SetAccountTokens(
+ const std::vector<GCMClient::AccountTokenInfo>& account_tokens) = 0;
+
// Updates the |account_mapping| information in persistent store.
virtual void UpdateAccountMapping(const AccountMapping& account_mapping) = 0;

Powered by Google App Engine
This is Rietveld 408576698