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

Unified Diff: sync/sessions/status_controller.h

Issue 10107004: Revert 132455 - Abort sync cycles when download step fails (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 | « sync/engine/syncer_unittest.cc ('k') | sync/sessions/sync_session_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/status_controller.h
===================================================================
--- sync/sessions/status_controller.h (revision 132475)
+++ sync/sessions/status_controller.h (working copy)
@@ -175,8 +175,7 @@
// Returns true if the last download_updates_command received a valid
// server response.
bool download_updates_succeeded() const {
- return shared_.error.value().last_download_updates_result
- == SYNCER_OK;
+ return updates_response().has_get_updates();
}
// Returns true if the last updates response indicated that we were fully
« no previous file with comments | « sync/engine/syncer_unittest.cc ('k') | sync/sessions/sync_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698