Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: chrome/browser/sync/profile_sync_service.h

Issue 7198025: Adds --enable-sync-oauth, enabling INFO logging of oauth_token cookies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Declaring a struct instead of including a header that breaks a ChromeOS build. Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698