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

Unified Diff: chrome/browser/sync/sessions/status_controller.h

Issue 7477004: Simulate transient error and verify exponential backoff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 9 years, 5 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/sessions/status_controller.h
diff --git a/chrome/browser/sync/sessions/status_controller.h b/chrome/browser/sync/sessions/status_controller.h
index 0f76782ba56db12edfe7b1a4d10ccf067bf6ccee..ebdadb2cf195e3818a76291abf20bb0495cc6025 100644
--- a/chrome/browser/sync/sessions/status_controller.h
+++ b/chrome/browser/sync/sessions/status_controller.h
@@ -37,6 +37,7 @@
#include <map>
#include "base/stl_util-inl.h"
+#include "base/time.h"
#include "chrome/browser/sync/sessions/ordered_commit_set.h"
#include "chrome/browser/sync/sessions/session_state.h"
@@ -192,6 +193,10 @@ class StatusController {
return group_restriction_;
}
+ base::Time sync_start_time() const {
+ return sync_start_time_;
+ }
+
// Check whether a particular model is included by the active group
// restriction.
bool ActiveGroupRestrictionIncludesModel(syncable::ModelType model) const {
@@ -259,6 +264,8 @@ class StatusController {
const ModelSafeRoutingInfo routing_info_;
+ base::Time sync_start_time_;
+
DISALLOW_COPY_AND_ASSIGN(StatusController);
};

Powered by Google App Engine
This is Rietveld 408576698