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

Unified Diff: chrome/browser/sync/glue/password_data_type_controller.h

Issue 2002012: sync: Add location info to unrecoverable error. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Add error handler back to bookmark model associator Created 10 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/password_data_type_controller.h
===================================================================
--- chrome/browser/sync/glue/password_data_type_controller.h (revision 48898)
+++ chrome/browser/sync/glue/password_data_type_controller.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_SYNC_GLUE_PASSWORD_DATA_TYPE_CONTROLLER_H__
#define CHROME_BROWSER_SYNC_GLUE_PASSWORD_DATA_TYPE_CONTROLLER_H__
+#include <string>
+
#include "base/basictypes.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/sync/profile_sync_service.h"
@@ -56,7 +58,8 @@
}
// UnrecoverableHandler implementation
- virtual void OnUnrecoverableError();
+ virtual void OnUnrecoverableError(const tracked_objects::Location& from_here,
+ const std::string& message);
private:
void StartImpl();
@@ -64,7 +67,8 @@
void StartDoneImpl(StartResult result, State state);
void StopImpl();
void StartFailed(StartResult result);
- void OnUnrecoverableErrorImpl();
+ void OnUnrecoverableErrorImpl(const tracked_objects::Location& from_here,
+ const std::string& message);
void set_state(State state) {
DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
« no previous file with comments | « chrome/browser/sync/glue/password_change_processor.cc ('k') | chrome/browser/sync/glue/password_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698