Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: chrome/browser/sync/engine/syncer_error.h

Issue 9036003: Avoid useless SYNC_CYCLE_CONTINUATION sync cycle (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_ERROR_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_ERROR_H_
7 #pragma once
8
9 namespace browser_sync {
10
11 enum SyncerError {
12 UNINITIALIZED = 0, // default value
13 DIRECTORY_LOOKUP_FAILED, // local directory lookup failure
14
15 NETWORK_CONNECTION_UNAVAILABLE, // connectivity failure
16 NETWORK_IO_ERROR, // response buffer read error
17 SYNC_SERVER_ERROR, // non auth HTTP error
18 SYNC_AUTH_ERROR, // HTTP auth error
19
20 // Based on values returned by server. Most are defined in sync.proto.
21 SERVER_RETURN_INVALID_CREDENTIAL,
22 SERVER_RETURN_UNKNOWN_ERROR,
23 SERVER_RETURN_THROTTLED,
24 SERVER_RETURN_TRANSIENT_ERROR,
25 SERVER_RETURN_MIGRATION_DONE,
26 SERVER_RETURN_CLEAR_PENDING,
27 SERVER_RETURN_NOT_MY_BIRTHDAY,
28 SERVER_RESPONSE_VALIDATION_FAILED,
29
30 NO_ERROR,
31 };
32
33 const char * GetSyncerErrorString(SyncerError);
34
35 } // namespace browser_sync
36
37 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_ERROR_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/syncer_command.cc ('k') | chrome/browser/sync/engine/syncer_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698