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; |