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

Unified Diff: chrome/browser/chromeos/login/online_attempt.cc

Issue 7574009: Added OAuth support to TokenService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/chromeos/login/online_attempt.cc
diff --git a/chrome/browser/chromeos/login/online_attempt.cc b/chrome/browser/chromeos/login/online_attempt.cc
index 1936e9dc19b23bb969120169a758fb901279fc1d..5343c1500477fc5406d2137f3903de30d4ac82cd 100644
--- a/chrome/browser/chromeos/login/online_attempt.cc
+++ b/chrome/browser/chromeos/login/online_attempt.cc
@@ -26,8 +26,7 @@ namespace {
// The service scope of the OAuth v2 token that ChromeOS login will be
// requesting.
-const char kServiceScopeChromeOS[] =
- "https://www.googleapis.com/auth/chromesync";
+const char kServiceScopeChromeOS[] = GaiaConstants::kSyncServiceOAuth;
}
@@ -63,7 +62,6 @@ void OnlineAttempt::Initiate(Profile* auth_profile) {
new GaiaOAuthFetcher(this,
auth_profile->GetRequestContext(),
auth_profile,
- GaiaConstants::kSyncService,
kServiceScopeChromeOS));
} else {
client_fetcher_.reset(

Powered by Google App Engine
This is Rietveld 408576698