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

Side by Side Diff: webkit/common/quota/quota_types.h

Issue 203073003: Use of validating IPC enum macros for quota messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 months 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
« no previous file with comments | « content/common/quota_messages.h ('k') | no next file » | 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 #ifndef WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_ 5 #ifndef WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_
6 #define WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_ 6 #define WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_
7 7
8 #include "webkit/common/quota/quota_status_code.h" 8 #include "webkit/common/quota/quota_status_code.h"
9 9
10 namespace quota { 10 namespace quota {
11 11
12 enum StorageType { 12 enum StorageType {
13 kStorageTypeTemporary, 13 kStorageTypeTemporary,
14 kStorageTypePersistent, 14 kStorageTypePersistent,
15 kStorageTypeSyncable, 15 kStorageTypeSyncable,
16 kStorageTypeQuotaNotManaged, 16 kStorageTypeQuotaNotManaged,
17 kStorageTypeUnknown, 17 kStorageTypeUnknown,
18 kStorageTypeLast = kStorageTypeUnknown
18 }; 19 };
19 20
20 enum QuotaLimitType { 21 enum QuotaLimitType {
21 kQuotaLimitTypeUnknown, 22 kQuotaLimitTypeUnknown,
22 kQuotaLimitTypeLimited, 23 kQuotaLimitTypeLimited,
23 kQuotaLimitTypeUnlimited, 24 kQuotaLimitTypeUnlimited,
24 }; 25 };
25 26
26 } // namespace quota 27 } // namespace quota
27 28
28 #endif // WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_ 29 #endif // WEBKIT_COMMON_QUOTA_QUOTA_TYPES_H_
OLDNEW
« no previous file with comments | « content/common/quota_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698