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

Unified Diff: chrome/browser/google_apis/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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/google_apis/gdata_errorcode.h
diff --git a/chrome/browser/google_apis/gdata_errorcode.h b/chrome/browser/google_apis/gdata_errorcode.h
deleted file mode 100644
index 78ec3528eb178cee5d87433a95b642b9a9553d48..0000000000000000000000000000000000000000
--- a/chrome/browser/google_apis/gdata_errorcode.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_ERRORCODE_H_
-#define CHROME_BROWSER_GOOGLE_APIS_GDATA_ERRORCODE_H_
-
-#include <string>
-
-namespace google_apis {
-
-// HTTP errors that can be returned by GData service.
-enum GDataErrorCode {
- HTTP_SUCCESS = 200,
- HTTP_CREATED = 201,
- HTTP_NO_CONTENT = 204,
- HTTP_FOUND = 302,
- HTTP_NOT_MODIFIED = 304,
- HTTP_RESUME_INCOMPLETE = 308,
- HTTP_BAD_REQUEST = 400,
- HTTP_UNAUTHORIZED = 401,
- HTTP_FORBIDDEN = 403,
- HTTP_NOT_FOUND = 404,
- HTTP_CONFLICT = 409,
- HTTP_GONE = 410,
- HTTP_LENGTH_REQUIRED = 411,
- HTTP_PRECONDITION = 412,
- HTTP_INTERNAL_SERVER_ERROR = 500,
- HTTP_NOT_IMPLEMENTED = 501,
- HTTP_BAD_GATEWAY = 502,
- HTTP_SERVICE_UNAVAILABLE = 503,
- GDATA_PARSE_ERROR = -100,
- GDATA_FILE_ERROR = -101,
- GDATA_CANCELLED = -102,
- GDATA_OTHER_ERROR = -103,
- GDATA_NO_CONNECTION = -104,
- GDATA_NOT_READY = -105,
- GDATA_NO_SPACE = -106,
-};
-
-// Returns a string representation of GDataErrorCode.
-std::string GDataErrorCodeToString(GDataErrorCode error);
-
-} // namespace google_apis
-
-#endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_ERRORCODE_H_
« no previous file with comments | « chrome/browser/google_apis/gdata_contacts_requests.cc ('k') | chrome/browser/google_apis/gdata_errorcode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698