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

Unified Diff: chrome/browser/managed_mode/managed_user_service.h

Issue 15780020: Setup Sync to use OAuth token for managed users. (Closed) Base URL: http://git.chromium.org/chromium/src.git@issue226464a
Patch Set: sync Created 7 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
Index: chrome/browser/managed_mode/managed_user_service.h
diff --git a/chrome/browser/managed_mode/managed_user_service.h b/chrome/browser/managed_mode/managed_user_service.h
index 37a550466c5301852f6cb5d9e95217b7e8fe10de..60f41f043a047b56f5fbef6c67d74b905b5f6586 100644
--- a/chrome/browser/managed_mode/managed_user_service.h
+++ b/chrome/browser/managed_mode/managed_user_service.h
@@ -113,9 +113,9 @@ class ManagedUserService : public BrowserContextKeyedService,
// Marks the profile as managed and initializes it.
void InitForTesting();
- // Initializes this profile for syncing, using the provided |token| to
- // authenticate requests.
- void InitSync(const std::string& token);
+ // Initializes this profile for syncing, using the provided |refresh_token| to
+ // mint access tokens for Sync.
+ void InitSync(const std::string& refresh_token);
// Convenience method that registers this managed user with
// |registration_service| and initializes sync with the returned token.

Powered by Google App Engine
This is Rietveld 408576698