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

Unified Diff: chrome/browser/sync/glue/ui_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/ui_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/ui_data_type_controller.cc b/chrome/browser/sync/glue/ui_data_type_controller.cc
index d07bee45321d44762db66c935e07364c94917c45..c0cd1275cebf973aded2115fa6eadf4d0794e275 100644
--- a/chrome/browser/sync/glue/ui_data_type_controller.cc
+++ b/chrome/browser/sync/glue/ui_data_type_controller.cc
@@ -329,7 +329,7 @@ DataTypeController::State UIDataTypeController::state() const {
void UIDataTypeController::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);
}
void UIDataTypeController::RecordAssociationTime(base::TimeDelta time) {

Powered by Google App Engine
This is Rietveld 408576698