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

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

Issue 312163004: [Sync] Add support for dynamically enabling/disabling types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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/frontend_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/frontend_data_type_controller.cc b/chrome/browser/sync/glue/frontend_data_type_controller.cc
index b7f31ac6476b1f4a825082f9f4eba1368a470cff..be2033c3f468cabb2aeaf61363398118ac928777 100644
--- a/chrome/browser/sync/glue/frontend_data_type_controller.cc
+++ b/chrome/browser/sync/glue/frontend_data_type_controller.cc
@@ -143,7 +143,7 @@ DataTypeController::State FrontendDataTypeController::state() const {
void FrontendDataTypeController::OnSingleDatatypeUnrecoverableError(
const tracked_objects::Location& from_here, const std::string& message) {
RecordUnrecoverableError(from_here, message);
- sync_service_->DisableBrokenDatatype(type(), from_here, message);
+ sync_service_->DisableDatatype(type(), from_here, message);
}
FrontendDataTypeController::FrontendDataTypeController()

Powered by Google App Engine
This is Rietveld 408576698