Index: chrome/browser/sync/unrecoverable_error_handler.h |
=================================================================== |
--- chrome/browser/sync/unrecoverable_error_handler.h (revision 48898) |
+++ chrome/browser/sync/unrecoverable_error_handler.h (working copy) |
@@ -5,6 +5,10 @@ |
#ifndef CHROME_BROWSER_SYNC_UNRECOVERABLE_ERROR_HANDLER_H_ |
#define CHROME_BROWSER_SYNC_UNRECOVERABLE_ERROR_HANDLER_H_ |
+#include <string> |
+ |
+#include "base/tracked.h" |
+ |
namespace browser_sync { |
class UnrecoverableErrorHandler { |
@@ -13,7 +17,8 @@ |
// syncer model are inconsistent, or similar. The ProfileSyncService will |
// try to avoid doing any work to avoid crashing or corrupting things |
// further, and will report an error status if queried. |
- virtual void OnUnrecoverableError() = 0; |
+ virtual void OnUnrecoverableError(const tracked_objects::Location& from_here, |
+ const std::string& message) = 0; |
protected: |
virtual ~UnrecoverableErrorHandler() { } |
}; |