Chromium Code Reviews| 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. |