summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service_startup_unittest.cc
diff options
context:
space:
mode:
authorblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-13 13:10:45 +0000
committerblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-13 13:10:45 +0000
commit396b0c71f6b94aadab9395a059d50ec282ff29e9 (patch)
tree31e568b8cfc45b2cf8babfe8bc9bfdb89888c653 /chrome/browser/sync/profile_sync_service_startup_unittest.cc
parentd64bbadf8de48fab8dafa5874f51f5ae99c588cc (diff)
downloadchromium_src-396b0c71f6b94aadab9395a059d50ec282ff29e9.zip
chromium_src-396b0c71f6b94aadab9395a059d50ec282ff29e9.tar.gz
chromium_src-396b0c71f6b94aadab9395a059d50ec282ff29e9.tar.bz2
Move clients of BrowserContextKeyedService to use KeyedService
The moved clients are the ones in: - //chrome/browser/signin - //chrome/browser/sync - //chrome/browser/ui BUG=351704 TBR=jochen Review URL: https://codereview.chromium.org/197473005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_service_startup_unittest.cc')
-rw-r--r--chrome/browser/sync/profile_sync_service_startup_unittest.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/sync/profile_sync_service_startup_unittest.cc b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
index d1a710f..9c8ce39 100644
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
@@ -90,8 +90,7 @@ class ProfileSyncServiceStartupTest : public testing::Test {
profile_.reset();
}
- static BrowserContextKeyedService* BuildService(
- content::BrowserContext* browser_context) {
+ static KeyedService* BuildService(content::BrowserContext* browser_context) {
Profile* profile = static_cast<Profile*>(browser_context);
return new ProfileSyncService(
new ProfileSyncComponentsFactoryMock(),
@@ -151,8 +150,7 @@ class ProfileSyncServiceStartupCrosTest : public ProfileSyncServiceStartupTest {
sync_->AddObserver(&observer_);
}
- static BrowserContextKeyedService* BuildCrosService(
- content::BrowserContext* context) {
+ static KeyedService* BuildCrosService(content::BrowserContext* context) {
Profile* profile = static_cast<Profile*>(context);
SigninManagerBase* signin =
SigninManagerFactory::GetForProfile(profile);