| 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..aeab63acab77e0d4e0e2fcb218dc572466ace3da 100644
|
| --- a/components/gcm_driver/gcm_client.h
|
| +++ b/components/gcm_driver/gcm_client.h
|
| @@ -265,6 +265,15 @@ 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.
|
| + // |account_removed| indicates that an account has been removed since the
|
| + // last time the callback was called, which triggers an immediate checkin,
|
| + // to ensure that association between device and account is removed.
|
| + virtual void SetAccountsForCheckin(
|
| + const std::map<std::string, std::string>& account_tokens,
|
| + bool account_removed) = 0;
|
| };
|
|
|
| } // namespace gcm
|
|
|