Index: sync/sessions/status_controller.h |
diff --git a/sync/sessions/status_controller.h b/sync/sessions/status_controller.h |
index c2a3cfc7a52598ef587bd2057b18c91854f51c36..7e2f258c14493820a336e533e7ebff23713f0dbe 100644 |
--- a/sync/sessions/status_controller.h |
+++ b/sync/sessions/status_controller.h |
@@ -175,7 +175,8 @@ class StatusController { |
// Returns true if the last download_updates_command received a valid |
// server response. |
bool download_updates_succeeded() const { |
- return updates_response().has_get_updates(); |
+ return shared_.error.value().last_download_updates_result |
+ == SYNCER_OK; |
} |
// Returns true if the last updates response indicated that we were fully |