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

Unified Diff: content/common/quota_messages.h

Issue 1101053002: Apply automatic range checks to content enum types across IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incoporated review comments Created 5 years, 8 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 | « no previous file | storage/common/quota/quota_status_code.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 5551210f4eecb4a94fca1d9aa276116aa0be02fb..06ec3d3686db16eccf263755ab99d74020c5a2f4 100644
--- a/content/common/quota_messages.h
+++ b/content/common/quota_messages.h
@@ -13,7 +13,7 @@
#define IPC_MESSAGE_START QuotaMsgStart
IPC_ENUM_TRAITS_MAX_VALUE(storage::StorageType, storage::kStorageTypeLast)
-IPC_ENUM_TRAITS(storage::QuotaStatusCode)
+IPC_ENUM_TRAITS_MAX_VALUE(storage::QuotaStatusCode, storage::kQuotaStatusLast)
IPC_STRUCT_TRAITS_BEGIN(content::StorageQuotaParams)
IPC_STRUCT_TRAITS_MEMBER(render_view_id)
« no previous file with comments | « no previous file | storage/common/quota/quota_status_code.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698