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

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

Issue 8596017: sync: rename ProfileSyncFactory to ProfileSyncComponentsFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final Created 9 years, 1 month 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/new_non_frontend_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc b/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc
index 701aaa365a8f2cd22e5ceb3e33f212b28fc57905..235de898960237c806f8cf743712004cc4882490 100644
--- a/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc
@@ -17,7 +17,7 @@
#include "chrome/browser/sync/glue/data_type_controller_mock.h"
#include "chrome/browser/sync/glue/new_non_frontend_data_type_controller_mock.h"
#include "chrome/browser/sync/glue/shared_change_processor_mock.h"
-#include "chrome/browser/sync/profile_sync_factory_mock.h"
+#include "chrome/browser/sync/profile_sync_components_factory_mock.h"
#include "chrome/browser/sync/profile_sync_service_mock.h"
#include "chrome/test/base/profile_mock.h"
#include "content/test/test_browser_thread.h"
@@ -66,7 +66,7 @@ class NewNonFrontendDataTypeControllerFake
: public NewNonFrontendDataTypeController {
public:
NewNonFrontendDataTypeControllerFake(
- ProfileSyncFactory* profile_sync_factory,
+ ProfileSyncComponentsFactory* profile_sync_factory,
Profile* profile,
NewNonFrontendDataTypeControllerMock* mock)
: NewNonFrontendDataTypeController(profile_sync_factory,
@@ -134,7 +134,7 @@ class NewNonFrontendDataTypeControllerTest : public testing::Test {
EXPECT_CALL(service_, GetUserShare()).WillRepeatedly(
Return((sync_api::UserShare*)NULL));
db_thread_.Start();
- profile_sync_factory_.reset(new ProfileSyncFactoryMock());
+ profile_sync_factory_.reset(new ProfileSyncComponentsFactoryMock());
change_processor_ = new SharedChangeProcessorMock();
// Both of these are refcounted, so don't need to be released.
@@ -217,7 +217,7 @@ class NewNonFrontendDataTypeControllerTest : public testing::Test {
content::TestBrowserThread ui_thread_;
content::TestBrowserThread db_thread_;
ProfileMock profile_;
- scoped_ptr<ProfileSyncFactoryMock> profile_sync_factory_;
+ scoped_ptr<ProfileSyncComponentsFactoryMock> profile_sync_factory_;
ProfileSyncServiceMock service_;
StartCallback start_callback_;
// Must be destroyed after new_non_frontend_dtc_.

Powered by Google App Engine
This is Rietveld 408576698