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); |