Index: chrome/browser/sync/profile_sync_service.h |
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h |
index f4ee9c5c8e19f835aab24a6a09bb33714b8ea529..df8d3793957b67c8553b7bf120a4b7b03734dc5e 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -38,6 +38,7 @@ class NotificationSource; |
class Profile; |
class ProfileSyncFactory; |
class SigninManager; |
+struct ChromeCookieDetails; |
namespace browser_sync { |
class BackendMigrator; |
@@ -208,6 +209,10 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
const std::string& captcha, |
const std::string& access_code); |
+ // Called when a cookie, e. g. oauth_token, changes |
+ virtual void OnCookieChanged(Profile* profile, |
+ ChromeCookieDetails* cookie_details); |
+ |
// Update the last auth error and notify observers of error state. |
void UpdateAuthErrorState(const GoogleServiceAuthError& error); |