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

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

Issue 12502017: signin: pull basic SigninManager functionality into new SigninManagerBase class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: deal with new enterprise_platform_keys_private_api Created 7 years, 8 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/profile_sync_service_session_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_session_unittest.cc b/chrome/browser/sync/profile_sync_service_session_unittest.cc
index 4ed28abc21c09c069f1b3f7c7d827b01301b599d..7ed919406bf2ad81e930cadd2437b77f7321736e 100644
--- a/chrome/browser/sync/profile_sync_service_session_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc
@@ -74,7 +74,7 @@ class FakeProfileSyncService : public TestProfileSyncService {
FakeProfileSyncService(
ProfileSyncComponentsFactory* factory,
Profile* profile,
- SigninManager* signin,
+ SigninManagerBase* signin,
ProfileSyncService::StartBehavior behavior,
bool synchronous_backend_initialization)
: TestProfileSyncService(factory,
@@ -261,7 +261,8 @@ class ProfileSyncServiceSessionTest
bool will_fail_association) {
if (sync_service_.get())
return false;
- SigninManager* signin = SigninManagerFactory::GetForProfile(profile());
+ SigninManagerBase* signin =
+ SigninManagerFactory::GetForProfile(profile());
signin->SetAuthenticatedUsername("test_user");
ProfileSyncComponentsFactoryMock* factory =
new ProfileSyncComponentsFactoryMock();

Powered by Google App Engine
This is Rietveld 408576698