summaryrefslogtreecommitdiffstats
path: root/sync/sessions/status_controller.cc
diff options
context:
space:
mode:
authormaniscalco@chromium.org <maniscalco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-21 20:55:44 +0000
committermaniscalco@chromium.org <maniscalco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-21 20:55:44 +0000
commit9cb5c9d40dc7cfd0b923809897bc081b04258009 (patch)
treeb1e0f48c695888bf8b86466280c377e2466f2776 /sync/sessions/status_controller.cc
parent932aaa47f3eead48ad440dff9d0532c5a8ef4af6 (diff)
downloadchromium_src-9cb5c9d40dc7cfd0b923809897bc081b04258009.zip
chromium_src-9cb5c9d40dc7cfd0b923809897bc081b04258009.tar.gz
chromium_src-9cb5c9d40dc7cfd0b923809897bc081b04258009.tar.bz2
Don't clear debug info until after it has been sent to the server.
Replaced DebugInfoGetter::GetAndClearDebugInfo with GetDebugInfo and ClearDebugInfo so we can clear the debug info only after we have successfully sent it to the server. Moved MockDebugInfoGetter into its own file so it can be used by other tests. BUG=319937 Review URL: https://codereview.chromium.org/61213009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236591 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sessions/status_controller.cc')
-rw-r--r--sync/sessions/status_controller.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/sync/sessions/status_controller.cc b/sync/sessions/status_controller.cc
index abd6f1e..f6fbdb5 100644
--- a/sync/sessions/status_controller.cc
+++ b/sync/sessions/status_controller.cc
@@ -163,13 +163,5 @@ bool StatusController::ServerSaysNothingMoreToDownload() const {
return updates_response().get_updates().changes_remaining() == 0;
}
-void StatusController::set_debug_info_sent() {
- model_neutral_.debug_info_sent = true;
-}
-
-bool StatusController::debug_info_sent() const {
- return model_neutral_.debug_info_sent;
-}
-
} // namespace sessions
} // namespace syncer