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.
14 HTTP_NO_CONTENT
= 204,
16 HTTP_NOT_MODIFIED
= 304,
17 HTTP_RESUME_INCOMPLETE
= 308,
18 HTTP_BAD_REQUEST
= 400,
19 HTTP_UNAUTHORIZED
= 401,
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_