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

Unified Diff: chrome/browser/sync/internal_api/debug_info_event_listener.cc

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.cc
diff --git a/chrome/browser/sync/internal_api/debug_info_event_listener.cc b/chrome/browser/sync/internal_api/debug_info_event_listener.cc
index 3165496331d3c76549036d0d77554b202f079ff5..f9914d05c3987f7321c1cf87721aa7e65b0bf2b7 100644
--- a/chrome/browser/sync/internal_api/debug_info_event_listener.cc
+++ b/chrome/browser/sync/internal_api/debug_info_event_listener.cc
@@ -97,6 +97,14 @@ void DebugInfoEventListener::GetAndClearDebugInfo(
events_dropped_ = false;
}
+void DebugInfoEventListener::OnUnrecoverableError(
+ const tracked_objects::Location& location,
+ const std::string& message) {
+ // Nothing to log.
+ return;
+}
+
+
void DebugInfoEventListener::CreateAndAddEvent(
sync_pb::DebugEventInfo::EventType type) {
sync_pb::DebugEventInfo event_info;

Powered by Google App Engine
This is Rietveld 408576698