Add missing OWNERS for chrome_android.gypi
[chromium-blink-merge.git] / webkit / common / quota / quota_status_code.h
blob21b470178efffeefa93587756f57baabaf3372f8
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
3 // found in the LICENSE file.
5 #ifndef WEBKIT_COMMON_QUOTA_QUOTA_STATUS_CODE_H_
6 #define WEBKIT_COMMON_QUOTA_QUOTA_STATUS_CODE_H_
8 #include "third_party/WebKit/public/web/WebStorageQuotaError.h"
9 #include "webkit/common/webkit_storage_common_export.h"
11 namespace quota {
13 enum QuotaStatusCode {
14 kQuotaStatusOk = 0,
15 kQuotaErrorNotSupported = WebKit::WebStorageQuotaErrorNotSupported,
16 kQuotaErrorInvalidModification =
17 WebKit::WebStorageQuotaErrorInvalidModification,
18 kQuotaErrorInvalidAccess = WebKit::WebStorageQuotaErrorInvalidAccess,
19 kQuotaErrorAbort = WebKit::WebStorageQuotaErrorAbort,
20 kQuotaStatusUnknown = -1,
23 WEBKIT_STORAGE_COMMON_EXPORT const char* QuotaStatusCodeToString(
24 QuotaStatusCode status);
26 } // namespace quota
28 #endif // WEBKIT_COMMON_QUOTA_QUOTA_STATUS_CODE_H_