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

Side by Side Diff: google_apis/drive/gdata_errorcode.h

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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
« no previous file with comments | « google_apis/drive/gdata_contacts_requests.cc ('k') | google_apis/drive/gdata_errorcode.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_ERRORCODE_H_ 5 #ifndef GOOGLE_APIS_DRIVE_GDATA_ERRORCODE_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_ERRORCODE_H_ 6 #define GOOGLE_APIS_DRIVE_GDATA_ERRORCODE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace google_apis { 10 namespace google_apis {
11 11
12 // HTTP errors that can be returned by GData service. 12 // HTTP errors that can be returned by GData service.
13 enum GDataErrorCode { 13 enum GDataErrorCode {
14 HTTP_SUCCESS = 200, 14 HTTP_SUCCESS = 200,
15 HTTP_CREATED = 201, 15 HTTP_CREATED = 201,
16 HTTP_NO_CONTENT = 204, 16 HTTP_NO_CONTENT = 204,
(...skipping 19 matching lines...) Expand all
36 GDATA_NO_CONNECTION = -104, 36 GDATA_NO_CONNECTION = -104,
37 GDATA_NOT_READY = -105, 37 GDATA_NOT_READY = -105,
38 GDATA_NO_SPACE = -106, 38 GDATA_NO_SPACE = -106,
39 }; 39 };
40 40
41 // Returns a string representation of GDataErrorCode. 41 // Returns a string representation of GDataErrorCode.
42 std::string GDataErrorCodeToString(GDataErrorCode error); 42 std::string GDataErrorCodeToString(GDataErrorCode error);
43 43
44 } // namespace google_apis 44 } // namespace google_apis
45 45
46 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_ERRORCODE_H_ 46 #endif // GOOGLE_APIS_DRIVE_GDATA_ERRORCODE_H_
OLDNEW
« no previous file with comments | « google_apis/drive/gdata_contacts_requests.cc ('k') | google_apis/drive/gdata_errorcode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698