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

Unified Diff: chrome/browser/sync/internal_api/debug_info_event_listener.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/debug_info_event_listener.h
diff --git a/chrome/browser/sync/internal_api/debug_info_event_listener.h b/chrome/browser/sync/internal_api/debug_info_event_listener.h
index 6a1a2f1094b871633eb8241cb2745fb8d2cb5a6b..15f2a3c24fc91b89ee15329bd5646bed26f76fa6 100644
--- a/chrome/browser/sync/internal_api/debug_info_event_listener.h
+++ b/chrome/browser/sync/internal_api/debug_info_event_listener.h
@@ -7,6 +7,8 @@
#include <string>
+#include "base/location.h"
+
#include "chrome/browser/sync/internal_api/sync_manager.h"
#include "chrome/browser/sync/js/js_backend.h"
#include "chrome/browser/sync/protocol/sync.pb.h"
@@ -47,6 +49,8 @@ class DebugInfoEventListener : public sync_api::SyncManager::Observer,
const syncable::ModelTypeSet& encrypted_types) OVERRIDE;
virtual void OnActionableError(
const browser_sync::SyncProtocolError& sync_error) OVERRIDE;
+ virtual void OnUnrecoverableError(const tracked_objects::Location& location,
+ const std::string& message) OVERRIDE;
// DebugInfoGetter Implementation.
virtual void GetAndClearDebugInfo(sync_pb::DebugInfo* debug_info) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698