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

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

Issue 1143323005: Refactor AO2TS to make it easier to componentize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address final comments Created 5 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
« no previous file with comments | « chrome/browser/sync/profile_sync_auth_provider.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_auth_provider_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_auth_provider_unittest.cc b/chrome/browser/sync/profile_sync_auth_provider_unittest.cc
index 595756c9c65e21b63f8cba138f4b4deaa0dab6cc..3e8a171db5ec0a9b37593cd52f025ee535c723f3 100644
--- a/chrome/browser/sync/profile_sync_auth_provider_unittest.cc
+++ b/chrome/browser/sync/profile_sync_auth_provider_unittest.cc
@@ -40,7 +40,7 @@ class ProfileSyncAuthProviderTest : public ::testing::Test {
FakeProfileOAuth2TokenService* token_service =
(FakeProfileOAuth2TokenService*)
ProfileOAuth2TokenServiceFactory::GetForProfile(profile_.get());
- token_service->IssueRefreshTokenForUser(kAccountId, "fake_refresh_token");
+ token_service->UpdateCredentials(kAccountId, "fake_refresh_token");
auth_provider_frontend_.reset(new ProfileSyncAuthProvider(
token_service, kAccountId, GaiaConstants::kChromeSyncOAuth2Scope));
« no previous file with comments | « chrome/browser/sync/profile_sync_auth_provider.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698