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

Unified Diff: chrome/browser/sync/profile_sync_service_startup_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/sync/profile_sync_service_startup_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_startup_unittest.cc b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
index 12601b2840121c32417a2d22313ca13e8b8bb633..b2fc56445fac8e7b2417f0f2cd4ba78d0d193509 100644
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
@@ -105,7 +105,8 @@ class ProfileSyncServiceStartupTest : public testing::Test {
ui_loop_.RunUntilIdle();
}
- static ProfileKeyedService* BuildService(content::BrowserContext* profile) {
+ static BrowserContextKeyedService* BuildService(
+ content::BrowserContext* profile) {
return new TestProfileSyncService(
new ProfileSyncComponentsFactoryMock(),
static_cast<Profile*>(profile),
@@ -152,7 +153,7 @@ class ProfileSyncServiceStartupCrosTest : public ProfileSyncServiceStartupTest {
sync_->set_synchronous_sync_configuration();
}
- static ProfileKeyedService* BuildCrosService(
+ static BrowserContextKeyedService* BuildCrosService(
content::BrowserContext* context) {
Profile* profile = static_cast<Profile*>(context);
SigninManagerBase* signin =
@@ -170,7 +171,8 @@ class ProfileSyncServiceStartupCrosTest : public ProfileSyncServiceStartupTest {
}
};
-ProfileKeyedService* BuildFakeTokenService(content::BrowserContext* profile) {
+BrowserContextKeyedService* BuildFakeTokenService(
+ content::BrowserContext* profile) {
return new FakeTokenService();
}

Powered by Google App Engine
This is Rietveld 408576698