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

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

Issue 401433003: Revert of Sync: Refactoring of DEVICE_INFO syncable type - Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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_components_factory_impl_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc b/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc
index f016ae4015c992353b7dca95efb47b5dc87c31d8..ea0b1d9f953e980f0ebd04366cabacc4081e2f8d 100644
--- a/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc
+++ b/chrome/browser/sync/profile_sync_components_factory_impl_unittest.cc
@@ -106,13 +106,12 @@
ProfileOAuth2TokenService* token_service =
ProfileOAuth2TokenServiceFactory::GetForProfile(profile_.get());
scoped_ptr<ProfileSyncService> pss(new ProfileSyncService(
- scoped_ptr<ProfileSyncComponentsFactory>(
- new ProfileSyncComponentsFactoryImpl(
- profile_.get(),
- command_line_.get(),
- ProfileSyncService::GetSyncServiceURL(*command_line_),
- token_service,
- profile_->GetRequestContext())),
+ new ProfileSyncComponentsFactoryImpl(
+ profile_.get(),
+ command_line_.get(),
+ ProfileSyncService::GetSyncServiceURL(*command_line_),
+ token_service,
+ profile_->GetRequestContext()),
profile_.get(),
make_scoped_ptr<SupervisedUserSigninManagerWrapper>(NULL),
token_service,
@@ -134,13 +133,12 @@
ProfileOAuth2TokenService* token_service =
ProfileOAuth2TokenServiceFactory::GetForProfile(profile_.get());
scoped_ptr<ProfileSyncService> pss(new ProfileSyncService(
- scoped_ptr<ProfileSyncComponentsFactory>(
- new ProfileSyncComponentsFactoryImpl(
- profile_.get(),
- command_line_.get(),
- ProfileSyncService::GetSyncServiceURL(*command_line_),
- token_service,
- profile_->GetRequestContext())),
+ new ProfileSyncComponentsFactoryImpl(
+ profile_.get(),
+ command_line_.get(),
+ ProfileSyncService::GetSyncServiceURL(*command_line_),
+ token_service,
+ profile_->GetRequestContext()),
profile_.get(),
make_scoped_ptr<SupervisedUserSigninManagerWrapper>(NULL),
token_service,

Powered by Google App Engine
This is Rietveld 408576698