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

Unified Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 23767004: Revert "Handling of multiple concurrent requests from different clients in OAuth2TokenService" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/sync/test_profile_sync_service.cc
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc
index 91d39418bd45eed2856b8bd468bdb31c6b266b0c..bb544169328e023931ff5ae8e20a1ca9187bfb94 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -319,11 +319,8 @@ scoped_ptr<OAuth2TokenService::Request> FakeOAuth2TokenService::StartRequest(
OAuth2TokenService::Consumer* consumer) {
// Ensure token in question is cached and never expires. Request will succeed
// without network IO.
- RegisterCacheEntry("test_client_id",
- GetRefreshToken(),
- scopes,
- "access_token",
- base::Time::Max());
+ RegisterCacheEntry(GetRefreshToken(), scopes, "access_token",
+ base::Time::Max());
return ProfileOAuth2TokenService::StartRequest(scopes, consumer);
}
« no previous file with comments | « chrome/browser/signin/profile_oauth2_token_service_unittest.cc ('k') | google_apis/gaia/oauth2_access_token_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698