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

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: Tweaked mock for OnOAuthWrapBridgeFailure. 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
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/net/gaia/gaia_oauth_consumer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a84cfef713503e01b2f888eb9f8923ee05bd03ff 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(
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/net/gaia/gaia_oauth_consumer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698