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

Unified Diff: chrome/browser/sync/glue/ui_data_type_controller_unittest.cc

Issue 247433004: sync: remove CreateSharedChangeProcessor from ProfileSyncComponentsFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove SCPFactory Created 6 years, 8 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/glue/ui_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/ui_data_type_controller_unittest.cc b/chrome/browser/sync/glue/ui_data_type_controller_unittest.cc
index 6026101d4d34ae2bea6bd18ccc3f9605ff2a159e..14d2abb64426095bf8de73ab3c82a9a0135809a9 100644
--- a/chrome/browser/sync/glue/ui_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/ui_data_type_controller_unittest.cc
@@ -25,10 +25,6 @@ using testing::Return;
namespace browser_sync {
namespace {
-ACTION(MakeSharedChangeProcessor) {
- return new SharedChangeProcessor();
-}
-
ACTION_P(ReturnAndRelease, change_processor) {
return change_processor->release();
}
@@ -71,8 +67,6 @@ class SyncUIDataTypeControllerTest : public testing::Test {
EXPECT_CALL(model_load_callback_, Run(_, _));
EXPECT_CALL(*profile_sync_factory_, GetSyncableServiceForType(type_)).
WillOnce(Return(syncable_service_.AsWeakPtr()));
- EXPECT_CALL(*profile_sync_factory_, CreateSharedChangeProcessor()).
- WillOnce(MakeSharedChangeProcessor());
EXPECT_CALL(*profile_sync_factory_,
CreateGenericChangeProcessor(_, _, _, _)).
WillOnce(ReturnAndRelease(&change_processor_));
« no previous file with comments | « chrome/browser/sync/glue/ui_data_type_controller.cc ('k') | chrome/browser/sync/profile_sync_components_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698