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

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

Issue 33173005: Correctly deal with tokens for supervised users in ProfileOAuth2TokenService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 7 years, 1 month 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
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 73da61e2f3e565b4d45607a49cb9ace8b015f6b8..5be44f619ecbe26d8ccfac31cb967c783a9ae16f 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -47,8 +47,8 @@
#include "sync/js/sync_js_controller.h"
#include "url/gurl.h"
-class ProfileOAuth2TokenService;
class Profile;
+class ProfileOAuth2TokenService;
class ProfileSyncComponentsFactory;
class SigninManagerBase;
class SyncGlobalError;
@@ -822,6 +822,9 @@ class ProfileSyncService : public ProfileSyncServiceBase,
// the credentials.
std::string GetEffectiveUsername();
+ // Returns the account ID to use to get tokens.
+ std::string GetAccountIdToUse();
+
// Factory used to create various dependent objects.
scoped_ptr<ProfileSyncComponentsFactory> factory_;

Powered by Google App Engine
This is Rietveld 408576698