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

Unified Diff: chrome/browser/sync/glue/frontend_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/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 6232777724555ca54f5b980dab2392e009af0d88..0ca5681ce44cbcb43f14811d8b6284d2449e8e3f 100644
--- a/chrome/browser/sync/glue/frontend_data_type_controller.cc
+++ b/chrome/browser/sync/glue/frontend_data_type_controller.cc
@@ -134,20 +134,6 @@ DataTypeController::State FrontendDataTypeController::state() const {
return state_;
}
-void FrontendDataTypeController::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 FrontendDataTypeController::OnSingleDatatypeUnrecoverableError(
const tracked_objects::Location& from_here, const std::string& message) {
RecordUnrecoverableError(from_here, message);

Powered by Google App Engine
This is Rietveld 408576698