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

Unified Diff: chrome/browser/sync/glue/bookmark_data_type_controller.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/bookmark_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/bookmark_data_type_controller.cc b/chrome/browser/sync/glue/bookmark_data_type_controller.cc
index b7e8c60424203b37f2e7618805638c15460184ed..20ba561be5e13d79bc45895f2925a25070d725f3 100644
--- a/chrome/browser/sync/glue/bookmark_data_type_controller.cc
+++ b/chrome/browser/sync/glue/bookmark_data_type_controller.cc
@@ -7,7 +7,7 @@
#include "base/metrics/histogram.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/sync/profile_sync_factory.h"
+#include "chrome/browser/sync/profile_sync_components_factory.h"
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/common/chrome_notification_types.h"
#include "content/public/browser/browser_thread.h"
@@ -19,7 +19,7 @@ using content::BrowserThread;
namespace browser_sync {
BookmarkDataTypeController::BookmarkDataTypeController(
- ProfileSyncFactory* profile_sync_factory,
+ ProfileSyncComponentsFactory* profile_sync_factory,
Profile* profile,
ProfileSyncService* sync_service)
: FrontendDataTypeController(profile_sync_factory,
@@ -66,8 +66,9 @@ syncable::ModelType BookmarkDataTypeController::type() const {
}
void BookmarkDataTypeController::CreateSyncComponents() {
- ProfileSyncFactory::SyncComponents sync_components = profile_sync_factory_->
- CreateBookmarkSyncComponents(sync_service_, this);
+ ProfileSyncComponentsFactory::SyncComponents sync_components =
+ profile_sync_factory_->CreateBookmarkSyncComponents(sync_service_,
+ this);
set_model_associator(sync_components.model_associator);
set_change_processor(sync_components.change_processor);
}

Powered by Google App Engine
This is Rietveld 408576698