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

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

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_errorcode.h ('k') | google_apis/drive/gdata_wapi_parser.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/google_apis/gdata_errorcode.h" 5 #include "google_apis/drive/gdata_errorcode.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 9
10 namespace google_apis { 10 namespace google_apis {
11 11
12 std::string GDataErrorCodeToString(GDataErrorCode error) { 12 std::string GDataErrorCodeToString(GDataErrorCode error) {
13 switch (error) { 13 switch (error) {
14 case HTTP_SUCCESS: 14 case HTTP_SUCCESS:
15 return"HTTP_SUCCESS"; 15 return"HTTP_SUCCESS";
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 return"GDATA_NOT_READY"; 84 return"GDATA_NOT_READY";
85 85
86 case GDATA_NO_SPACE: 86 case GDATA_NO_SPACE:
87 return"GDATA_NO_SPACE"; 87 return"GDATA_NO_SPACE";
88 } 88 }
89 89
90 return "UNKNOWN_ERROR_" + base::IntToString(error); 90 return "UNKNOWN_ERROR_" + base::IntToString(error);
91 } 91 }
92 92
93 } // namespace google_apis 93 } // namespace google_apis
OLDNEW
« no previous file with comments | « google_apis/drive/gdata_errorcode.h ('k') | google_apis/drive/gdata_wapi_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698