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

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

Issue 10553042: sync: don't make DataTypeErrorHandler inherit UnrecoverableErrorHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 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 bc60f3ad6af72cbee7684f635373235395ca2bd7..96fbcc14e0c37311928a7871db683d37d0dd80bb 100644
--- a/chrome/browser/sync/glue/ui_data_type_controller.cc
+++ b/chrome/browser/sync/glue/ui_data_type_controller.cc
@@ -278,20 +278,6 @@ DataTypeController::State UIDataTypeController::state() const {
return state_;
}
-void UIDataTypeController::OnUnrecoverableError(
- const tracked_objects::Location& from_here, const std::string& message) {
- RecordUnrecoverableError(from_here, message);
-
- // The ProfileSyncService will invoke our Stop() method in response to this.
- // We dont know the current state of the caller. Posting a task will allow
- // the caller to unwind the stack before we process unrecoverable error.
- MessageLoop::current()->PostTask(from_here,
- base::Bind(&ProfileSyncService::OnUnrecoverableError,
- sync_service_->AsWeakPtr(),
- from_here,
- message));
-}
-
void UIDataTypeController::OnSingleDatatypeUnrecoverableError(
const tracked_objects::Location& from_here, const std::string& message) {
RecordUnrecoverableError(from_here, message);

Powered by Google App Engine
This is Rietveld 408576698