| OLD | NEW | 
|   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 #ifndef WEBKIT_COMMON_QUOTA_QUOTA_STATUS_CODE_H_ |   5 #ifndef WEBKIT_COMMON_QUOTA_QUOTA_STATUS_CODE_H_ | 
|   6 #define WEBKIT_COMMON_QUOTA_QUOTA_STATUS_CODE_H_ |   6 #define WEBKIT_COMMON_QUOTA_QUOTA_STATUS_CODE_H_ | 
|   7  |   7  | 
|   8 #include "third_party/WebKit/public/web/WebStorageQuotaError.h" |   8 #include "third_party/WebKit/public/platform/WebStorageQuotaError.h" | 
|   9 #include "webkit/common/webkit_storage_common_export.h" |   9 #include "webkit/common/webkit_storage_common_export.h" | 
|  10  |  10  | 
|  11 namespace quota { |  11 namespace quota { | 
|  12  |  12  | 
|  13 enum QuotaStatusCode { |  13 enum QuotaStatusCode { | 
|  14   kQuotaStatusOk = 0, |  14   kQuotaStatusOk = 0, | 
|  15   kQuotaErrorNotSupported = blink::WebStorageQuotaErrorNotSupported, |  15   kQuotaErrorNotSupported = blink::WebStorageQuotaErrorNotSupported, | 
|  16   kQuotaErrorInvalidModification = |  16   kQuotaErrorInvalidModification = | 
|  17       blink::WebStorageQuotaErrorInvalidModification, |  17       blink::WebStorageQuotaErrorInvalidModification, | 
|  18   kQuotaErrorInvalidAccess = blink::WebStorageQuotaErrorInvalidAccess, |  18   kQuotaErrorInvalidAccess = blink::WebStorageQuotaErrorInvalidAccess, | 
|  19   kQuotaErrorAbort = blink::WebStorageQuotaErrorAbort, |  19   kQuotaErrorAbort = blink::WebStorageQuotaErrorAbort, | 
|  20   kQuotaStatusUnknown = -1, |  20   kQuotaStatusUnknown = -1, | 
|  21 }; |  21 }; | 
|  22  |  22  | 
|  23 WEBKIT_STORAGE_COMMON_EXPORT const char* QuotaStatusCodeToString( |  23 WEBKIT_STORAGE_COMMON_EXPORT const char* QuotaStatusCodeToString( | 
|  24     QuotaStatusCode status); |  24     QuotaStatusCode status); | 
|  25  |  25  | 
|  26 }  // namespace quota |  26 }  // namespace quota | 
|  27  |  27  | 
|  28 #endif  // WEBKIT_COMMON_QUOTA_QUOTA_STATUS_CODE_H_ |  28 #endif  // WEBKIT_COMMON_QUOTA_QUOTA_STATUS_CODE_H_ | 
| OLD | NEW |