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

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

Issue 8274020: Revert 105404 - [Sync] Refactor non-frontend DTC to handle new API properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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/extension_data_type_controller.cc
===================================================================
--- chrome/browser/sync/glue/extension_data_type_controller.cc (revision 105407)
+++ chrome/browser/sync/glue/extension_data_type_controller.cc (working copy)
@@ -36,14 +36,9 @@
profile_sync_factory_->CreateExtensionSyncComponents(sync_service_,
this);
set_model_associator(sync_components.model_associator);
- generic_change_processor_.reset(static_cast<GenericChangeProcessor*>(
- sync_components.change_processor));
+ set_change_processor(sync_components.change_processor);
}
-GenericChangeProcessor* ExtensionDataTypeController::change_processor() const {
- return generic_change_processor_.get();
-}
-
void ExtensionDataTypeController::RecordUnrecoverableError(
const tracked_objects::Location& from_here,
const std::string& message) {
« no previous file with comments | « chrome/browser/sync/glue/extension_data_type_controller.h ('k') | chrome/browser/sync/glue/frontend_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698