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

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

Issue 7477004: Simulate transient error and verify exponential backoff. (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 | « chrome/browser/sync/retry_verifier.cc ('k') | chrome/browser/sync/sessions/session_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sessions/session_state.h
diff --git a/chrome/browser/sync/sessions/session_state.h b/chrome/browser/sync/sessions/session_state.h
index ddb6b634efda9f0f347bfa14935a86d2ae7c3a29..2abd559cb511b3da44249ddb5a71936f684c422b 100644
--- a/chrome/browser/sync/sessions/session_state.h
+++ b/chrome/browser/sync/sessions/session_state.h
@@ -70,7 +70,7 @@ struct SyncerStatus {
bool invalid_store;
// True iff we're stuck.
bool syncer_stuck;
- bool syncing;
+ bool sync_in_progress;
int num_successful_commits;
// This is needed for monitoring extensions activity.
int num_successful_bookmark_commits;
@@ -130,7 +130,8 @@ struct SyncSessionSnapshot {
int num_conflicting_updates,
bool did_commit_items,
const SyncSourceInfo& source,
- size_t num_entries);
+ size_t num_entries,
+ base::Time sync_start_time);
~SyncSessionSnapshot();
// Caller takes ownership of the returned dictionary.
@@ -152,6 +153,7 @@ struct SyncSessionSnapshot {
const bool did_commit_items;
const SyncSourceInfo source;
const size_t num_entries;
+ base::Time sync_start_time;
};
// Tracks progress of conflicts and their resolution using conflict sets.
« no previous file with comments | « chrome/browser/sync/retry_verifier.cc ('k') | chrome/browser/sync/sessions/session_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698