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

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

Issue 7013040: Add information about sync session and other useful data to about:sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing a bug. Created 9 years, 7 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/session_state.h
diff --git a/chrome/browser/sync/sessions/session_state.h b/chrome/browser/sync/sessions/session_state.h
index c0c5f39ada3f75936e00d36a5c9dafeab4de05b2..ec4142cd8c6617256472df4cbc8c522c4391d1ac 100644
--- a/chrome/browser/sync/sessions/session_state.h
+++ b/chrome/browser/sync/sessions/session_state.h
@@ -84,6 +84,9 @@ struct SyncerStatus {
// Overwrites due to conflict resolution counters.
int num_local_overwrites;
int num_server_overwrites;
+
+ // True if the account is currently throttled.
+ bool throttled;
akalin 2011/05/13 22:01:42 we already store this state (it's called is_silenc
lipalani1 2011/05/13 22:35:39 Done.
};
// Counters for various errors that can occur repeatedly during a sync session.
@@ -127,7 +130,8 @@ struct SyncSessionSnapshot {
int num_blocking_conflicting_updates,
int num_conflicting_updates,
bool did_commit_items,
- const SyncSourceInfo& source);
+ const SyncSourceInfo& source,
+ size_t num_entries);
~SyncSessionSnapshot();
// Caller takes ownership of the returned dictionary.
@@ -146,6 +150,7 @@ struct SyncSessionSnapshot {
const int num_conflicting_updates;
const bool did_commit_items;
const SyncSourceInfo source;
+ const size_t num_entries;
};
// Tracks progress of conflicts and their resolution using conflict sets.

Powered by Google App Engine
This is Rietveld 408576698