diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-11 13:56:43 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-11 13:56:43 +0000 |
commit | 325c350df9c95200a5363a3a4ef9dea4af5d807e (patch) | |
tree | c3d45d16a034f61b83b1295c43c021298f564901 /sync/sessions/status_controller.cc | |
parent | 3d146b44d0be75328ac1873042141ba76778cfc0 (diff) | |
download | chromium_src-325c350df9c95200a5363a3a4ef9dea4af5d807e.zip chromium_src-325c350df9c95200a5363a3a4ef9dea4af5d807e.tar.gz chromium_src-325c350df9c95200a5363a3a4ef9dea4af5d807e.tar.bz2 |
Split up SyncEngineEventListener callbacks
Splits up the SyncEngineEventListener calls into one callback per event
type. This allow us to trim the 'event' objects so they only contain
elements relevant to their event.
Also removes some dead code related to STOP_SYNCING_PERMANENTLY, which
is no longer in use. It may have been used for birthday errors in the
past, but those are now handled with ActionableError. It was used for
CLEAR_USER_DATA, but that feature is no longer supported.
BUG=339984
Review URL: https://codereview.chromium.org/152013003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250384 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sessions/status_controller.cc')
-rw-r--r-- | sync/sessions/status_controller.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sync/sessions/status_controller.cc b/sync/sessions/status_controller.cc index 752b9ab..ec79087 100644 --- a/sync/sessions/status_controller.cc +++ b/sync/sessions/status_controller.cc @@ -81,11 +81,6 @@ void StatusController::increment_num_server_overwrites() { model_neutral_.num_server_overwrites++; } -void StatusController::set_sync_protocol_error( - const SyncProtocolError& error) { - model_neutral_.sync_protocol_error = error; -} - void StatusController::set_last_get_key_result(const SyncerError result) { model_neutral_.last_get_key_result = result; } |