summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/public/util/syncer_error.h
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-30 20:31:18 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-30 20:31:18 +0000
commiteeac662cd531cfd3482e9784107d93b061909981 (patch)
tree854a69a2075562548ea7fd57543db03436ce416d /sync/internal_api/public/util/syncer_error.h
parent7ac0b482eb36cd32cc0cff38e3af78f5932bb3f2 (diff)
downloadchromium_src-eeac662cd531cfd3482e9784107d93b061909981.zip
chromium_src-eeac662cd531cfd3482e9784107d93b061909981.tar.gz
chromium_src-eeac662cd531cfd3482e9784107d93b061909981.tar.bz2
sync: reland scheduler ownership refactoring, now with less crash
Prevent abandoned jobs from entering DoCanaryJob by stopping the timer in TakePendingJobForCurrentMode. Original review at https://codereview.chromium.org/10917234/ BUG=158313 Review URL: https://chromiumcodereview.appspot.com/11341030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164992 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/public/util/syncer_error.h')
-rw-r--r--sync/internal_api/public/util/syncer_error.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/internal_api/public/util/syncer_error.h b/sync/internal_api/public/util/syncer_error.h
index ff184e3..478d888 100644
--- a/sync/internal_api/public/util/syncer_error.h
+++ b/sync/internal_api/public/util/syncer_error.h
@@ -28,6 +28,8 @@ enum SyncerError {
// Based on values returned by server. Most are defined in sync.proto.
SERVER_RETURN_INVALID_CREDENTIAL,
+ FIRST_SERVER_RETURN_VALUE = SERVER_RETURN_INVALID_CREDENTIAL,
+
SERVER_RETURN_UNKNOWN_ERROR,
SERVER_RETURN_THROTTLED,
SERVER_RETURN_TRANSIENT_ERROR,