| Index: sync/sessions/status_controller.h
|
| diff --git a/sync/sessions/status_controller.h b/sync/sessions/status_controller.h
|
| index c2a3cfc7a52598ef587bd2057b18c91854f51c36..112a937b1305d1948b88870a0177e3e0725d4b53 100644
|
| --- a/sync/sessions/status_controller.h
|
| +++ b/sync/sessions/status_controller.h
|
| @@ -172,20 +172,11 @@ class StatusController {
|
| shared_.commit_set.HasBookmarkCommitId();
|
| }
|
|
|
| - // Returns true if the last download_updates_command received a valid
|
| - // server response.
|
| - bool download_updates_succeeded() const {
|
| - return updates_response().has_get_updates();
|
| + // Returns the status returned from last download updates command.
|
| + SyncerError last_download_updates_result() const {
|
| + return shared_.error.value().last_download_updates_result;
|
| }
|
|
|
| - // Returns true if the last updates response indicated that we were fully
|
| - // up to date. This is subtle: if it's false, it could either mean that
|
| - // the server said there WAS more to download, or it could mean that we
|
| - // were unable to reach the server. If we didn't request every enabled
|
| - // datatype, then we can't say for sure that there's nothing left to
|
| - // download: in that case, this also returns false.
|
| - bool ServerSaysNothingMoreToDownload() const;
|
| -
|
| ModelSafeGroup group_restriction() const {
|
| return group_restriction_;
|
| }
|
|
|