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

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

Issue 9158004: Detect sync server communication errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update for review comments Created 8 years, 11 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/sessions/session_state.h ('k') | chrome/browser/sync/sessions/status_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sessions/session_state.cc
diff --git a/chrome/browser/sync/sessions/session_state.cc b/chrome/browser/sync/sessions/session_state.cc
index 19f880c0a6369de40ba0b50f0264d03da35a798b..6d5c7452b2752bfa4cc11acd7c05f19425b7f817 100644
--- a/chrome/browser/sync/sessions/session_state.cc
+++ b/chrome/browser/sync/sessions/session_state.cc
@@ -95,7 +95,10 @@ DictionaryValue* DownloadProgressMarkersToValue(
ErrorCounters::ErrorCounters()
: num_conflicting_commits(0),
consecutive_transient_error_commits(0),
- consecutive_errors(0) {
+ consecutive_errors(0),
+ last_download_updates_result(UNSET),
+ last_post_commit_result(UNSET),
+ last_process_commit_response_result(UNSET) {
}
DictionaryValue* ErrorCounters::ToValue() const {
« no previous file with comments | « chrome/browser/sync/sessions/session_state.h ('k') | chrome/browser/sync/sessions/status_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698