Index: components/gcm_driver/gcm_client.h |
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h |
index 8e0fb2f369d6fca14e13d819d869555fb0acb792..6fce669f450749fc7dd63b55f39b5b752fe8b6ff 100644 |
--- a/components/gcm_driver/gcm_client.h |
+++ b/components/gcm_driver/gcm_client.h |
@@ -265,6 +265,11 @@ class GCMClient { |
// Gets internal states and statistics. |
virtual GCMStatistics GetStatistics() const = 0; |
+ |
+ // Sets a list of accounts with OAuth2 tokens for the next checkin. |
+ // |account_tokens| maps email addresses to OAuth2 access tokens. |
+ virtual void SetAccountsForCheckin( |
+ const std::map<std::string, std::string>& account_tokens) = 0; |
}; |
} // namespace gcm |