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

Unified Diff: chrome/browser/sync/internal_api/sync_manager.h

Issue 8366030: Introduce the plumbing necessary to report Unrecoverable error from model safe workers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For a high level review. Created 9 years, 2 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/internal_api/sync_manager.h
diff --git a/chrome/browser/sync/internal_api/sync_manager.h b/chrome/browser/sync/internal_api/sync_manager.h
index 650893d2aba22d7f89deeae55187d8fcfc10fdc7..94062772a8e386ff0dafb0756983241b897f78e2 100644
--- a/chrome/browser/sync/internal_api/sync_manager.h
+++ b/chrome/browser/sync/internal_api/sync_manager.h
@@ -383,6 +383,11 @@ class SyncManager {
virtual void OnActionableError(
const browser_sync::SyncProtocolError& sync_protocol_error) = 0;
+ // Called by the syncer when it encouters an unrecoverable error.
+ virtual void OnUnrecoverableError(
+ const tracked_objects::Location& location,
+ const std::string& message) = 0;
+
protected:
virtual ~Observer();
};

Powered by Google App Engine
This is Rietveld 408576698