Index: components/gcm_driver/gcm_driver_desktop.h |
diff --git a/components/gcm_driver/gcm_driver_desktop.h b/components/gcm_driver/gcm_driver_desktop.h |
index 9f0231df660ad31f927f355e6e5d10b0a927fde5..469bfc74314cd42088964f2b22aa820bcd394fef 100644 |
--- a/components/gcm_driver/gcm_driver_desktop.h |
+++ b/components/gcm_driver/gcm_driver_desktop.h |
@@ -67,6 +67,16 @@ class GCMDriverDesktop : public GCMDriver { |
virtual void SetGCMRecording(const GetGCMStatisticsCallback& callback, |
bool recording) OVERRIDE; |
+ // GCMDriverDesktop specific implementation. |
+ // 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. |
+ void SetAccountsForCheckin( |
+ const std::map<std::string, std::string>& account_tokens, |
+ bool account_removed); |
Nicolas Zea
2014/07/10 20:57:32
nit: style guide prefers using an enum to a bool i
fgorski
2014/07/11 22:51:21
Done.
|
+ |
protected: |
// GCMDriver implementation: |
virtual GCMClient::Result EnsureStarted() OVERRIDE; |