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

Unified Diff: chrome/browser/sync/engine/sync_scheduler.h

Issue 7621085: Server directed error handling backend code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: upload before commit. Created 9 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/sync/engine/sync_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/sync_scheduler.h
diff --git a/chrome/browser/sync/engine/sync_scheduler.h b/chrome/browser/sync/engine/sync_scheduler.h
index 5deb3609b7ac54b8941a74f14b3c58458eaa2531..1c0c9f999752411cb358c5bf4f7f63413101a203 100644
--- a/chrome/browser/sync/engine/sync_scheduler.h
+++ b/chrome/browser/sync/engine/sync_scheduler.h
@@ -120,6 +120,8 @@ class SyncScheduler : public sessions::SyncSession::Delegate,
virtual void OnReceivedSessionsCommitDelay(
const base::TimeDelta& new_delay) OVERRIDE;
virtual void OnShouldStopSyncingPermanently() OVERRIDE;
+ virtual void OnSyncProtocolError(
+ const sessions::SyncSessionSnapshot& snapshot) OVERRIDE;
// ServerConnectionEventListener implementation.
// TODO(tim): schedule a nudge when valid connection detected? in 1 minute?
@@ -352,6 +354,9 @@ class SyncScheduler : public sessions::SyncSession::Delegate,
// the client starts up and does not need to perform an initial sync.
void SendInitialSnapshot();
+ virtual void OnActionableError(const sessions::SyncSessionSnapshot& snapshot);
+
+
ScopedRunnableMethodFactory<SyncScheduler> method_factory_;
// Used for logging.
« no previous file with comments | « no previous file | chrome/browser/sync/engine/sync_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698