Fix build break
[chromium-blink-merge.git] / chrome / browser / google_apis / gdata_errorcode.h
blob00a8bbeb4e3e61bdce444f06853b78711b07b1ac
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_ERRORCODE_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_ERRORCODE_H_
8 namespace google_apis {
10 // HTTP errors that can be returned by GData service.
11 enum GDataErrorCode {
12 HTTP_SUCCESS = 200,
13 HTTP_CREATED = 201,
14 HTTP_NO_CONTENT = 204,
15 HTTP_FOUND = 302,
16 HTTP_NOT_MODIFIED = 304,
17 HTTP_RESUME_INCOMPLETE = 308,
18 HTTP_BAD_REQUEST = 400,
19 HTTP_UNAUTHORIZED = 401,
20 HTTP_FORBIDDEN = 403,
21 HTTP_NOT_FOUND = 404,
22 HTTP_CONFLICT = 409,
23 HTTP_LENGTH_REQUIRED = 411,
24 HTTP_PRECONDITION = 412,
25 HTTP_INTERNAL_SERVER_ERROR = 500,
26 HTTP_BAD_GATEWAY = 502,
27 HTTP_SERVICE_UNAVAILABLE = 503,
28 GDATA_PARSE_ERROR = -100,
29 GDATA_FILE_ERROR = -101,
30 GDATA_CANCELLED = -102,
31 GDATA_OTHER_ERROR = -103,
32 GDATA_NO_CONNECTION = -104,
33 GDATA_NOT_READY = -105,
34 GDATA_NO_SPACE = -106,
37 } // namespace google_apis
39 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_ERRORCODE_H_