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

Unified Diff: webkit/quota/quota_types.h

Issue 11363098: Added quota_status_code.h/cc file to hold QuotaStatusCode enum and added function to convert enum t… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: webkit/quota/quota_types.h
diff --git a/webkit/quota/quota_types.h b/webkit/quota/quota_types.h
index 6748ae43b36689a4510142bc0e4609df818a6097..8d67b76fa647e0168b13895ab6a11f4e0f4cc306 100644
--- a/webkit/quota/quota_types.h
+++ b/webkit/quota/quota_types.h
@@ -13,6 +13,7 @@
#include "base/basictypes.h"
#include "base/callback.h"
+#include "webkit/quota/quota_status_code.h"
class GURL;
@@ -25,17 +26,6 @@ enum StorageType {
kStorageTypeUnknown,
};
-// The numbers should match with the error code defined in
-// third_party/WebKit/Source/WebCore/dom/ExceptionCode.h.
-enum QuotaStatusCode {
- kQuotaStatusOk = 0,
- kQuotaErrorNotSupported = 9, // NOT_SUPPORTED_ERR
- kQuotaErrorInvalidModification = 13, // INVALID_MODIFICATION_ERR
- kQuotaErrorInvalidAccess = 15, // INVALID_ACCESS_ERR
- kQuotaErrorAbort = 20, // ABORT_ERR
- kQuotaStatusUnknown = -1,
-};
-
struct UsageInfo;
typedef std::vector<UsageInfo> UsageInfoEntries;

Powered by Google App Engine
This is Rietveld 408576698