| Index: chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc
|
| diff --git a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc
|
| index 322ef967c3a1e68de825677e88307adf03fb6255..b044515d98f1e5b46a10e41cee20d1e736190595 100644
|
| --- a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc
|
| +++ b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager_unittest.cc
|
| @@ -19,20 +19,14 @@
|
|
|
| namespace extensions {
|
|
|
| -namespace {
|
| -KeyedService* CreateProfileSyncServiceMock(content::BrowserContext* profile) {
|
| - return NULL;
|
| -}
|
| -} // namespace
|
| -
|
| // Adds a listener and removes it.
|
| TEST(SignedInDevicesManager, UpdateListener) {
|
| content::TestBrowserThreadBundle thread_bundle;
|
| scoped_ptr<TestingProfile> profile(new TestingProfile());
|
| SigninManagerFactory::GetForProfile(profile.get())->
|
| SetAuthenticatedAccountInfo("gaia_id", "foo");
|
| - ProfileSyncServiceFactory::GetInstance()->SetTestingFactory(
|
| - profile.get(), CreateProfileSyncServiceMock);
|
| + ProfileSyncServiceFactory::GetInstance()->SetTestingFactory(profile.get(),
|
| + nullptr);
|
| SignedInDevicesManager manager(profile.get());
|
|
|
| EventListenerInfo info(api::signed_in_devices::OnDeviceInfoChange::kEventName,
|
|
|