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

Unified Diff: chrome/browser/ui/sync/one_click_signin_helper_unittest.cc

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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/ui/sync/one_click_signin_helper_unittest.cc
diff --git a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
index 0681f464d4ebf2b10e6671f99792b663086fa6f0..2d1537d5af9c15f1f2e2ceaadc8ff03cb45d7a3e 100644
--- a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
+++ b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
@@ -155,8 +155,8 @@ class OneClickTestProfileSyncService : public TestProfileSyncService {
virtual ~OneClickTestProfileSyncService() {}
// Helper routine to be used in conjunction with
- // ProfileKeyedServiceFactory::SetTestingFactory().
- static ProfileKeyedService* Build(content::BrowserContext* profile) {
+ // BrowserContextKeyedServiceFactory::SetTestingFactory().
+ static BrowserContextKeyedService* Build(content::BrowserContext* profile) {
return new OneClickTestProfileSyncService(static_cast<Profile*>(profile));
}
@@ -189,7 +189,7 @@ class OneClickTestProfileSyncService : public TestProfileSyncService {
bool first_setup_in_progress_;
};
-static ProfileKeyedService* BuildSigninManagerMock(
+static BrowserContextKeyedService* BuildSigninManagerMock(
content::BrowserContext* profile) {
return new SigninManagerMock(static_cast<Profile*>(profile));
}

Powered by Google App Engine
This is Rietveld 408576698