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

Unified Diff: chrome/browser/sync/glue/session_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/session_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/session_data_type_controller.cc b/chrome/browser/sync/glue/session_data_type_controller.cc
index 5d84b299483c06555b6fb0fc66d25f199b7dc102..2a605a8f47ca4eeb5dbd656494e618b03a6f7442 100644
--- a/chrome/browser/sync/glue/session_data_type_controller.cc
+++ b/chrome/browser/sync/glue/session_data_type_controller.cc
@@ -5,12 +5,12 @@
#include "chrome/browser/sync/glue/session_data_type_controller.h"
#include "base/metrics/histogram.h"
-#include "chrome/browser/sync/profile_sync_factory.h"
+#include "chrome/browser/sync/profile_sync_components_factory.h"
namespace browser_sync {
SessionDataTypeController::SessionDataTypeController(
- ProfileSyncFactory* profile_sync_factory,
+ ProfileSyncComponentsFactory* profile_sync_factory,
Profile* profile,
ProfileSyncService* sync_service)
: FrontendDataTypeController(profile_sync_factory,
@@ -29,8 +29,8 @@ syncable::ModelType SessionDataTypeController::type() const {
}
void SessionDataTypeController::CreateSyncComponents() {
- ProfileSyncFactory::SyncComponents sync_components = profile_sync_factory_->
- CreateSessionSyncComponents(sync_service_, this);
+ ProfileSyncComponentsFactory::SyncComponents sync_components =
+ profile_sync_factory_->CreateSessionSyncComponents(sync_service_, this);
set_model_associator(sync_components.model_associator);
set_change_processor(sync_components.change_processor);
}
@@ -52,4 +52,3 @@ void SessionDataTypeController::RecordStartFailure(StartResult result) {
}
} // namespace browser_sync
-
« no previous file with comments | « chrome/browser/sync/glue/session_data_type_controller.h ('k') | chrome/browser/sync/glue/shared_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698