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

Unified Diff: content/common/quota_messages.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | webkit/common/quota/quota_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/quota_messages.h
diff --git a/content/common/quota_messages.h b/content/common/quota_messages.h
index 022633de533da5f4a62e1c351d13d6011c5af4b1..d3d0f8392fe837c21c67df531e24ccc6bc3bb8b5 100644
--- a/content/common/quota_messages.h
+++ b/content/common/quota_messages.h
@@ -11,7 +11,7 @@
#define IPC_MESSAGE_START QuotaMsgStart
-IPC_ENUM_TRAITS(quota::StorageType)
+IPC_ENUM_TRAITS_MAX_VALUE(quota::StorageType, quota::kStorageTypeLast)
IPC_ENUM_TRAITS(quota::QuotaStatusCode)
// Quota messages sent from the browser to the child process.
« no previous file with comments | « AUTHORS ('k') | webkit/common/quota/quota_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698