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

Unified Diff: chrome/common/render_messages.h

Issue 598393002: Apply automatic range checks to /chrome enum types across IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | chrome/common/search_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index ff52bc38014dfb4313ccfd721a7ef514a590b7d9..550c29d31828cd2c442438ced18970d9aa9d2e61 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -84,7 +84,8 @@ IPC_ENUM_TRAITS_MAX_VALUE(ChromeViewHostMsg_GetPluginInfo_Status::Value,
ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized)
IPC_ENUM_TRAITS(OmniboxFocusChangeReason)
IPC_ENUM_TRAITS(OmniboxFocusState)
-IPC_ENUM_TRAITS(search_provider::OSDDType)
+IPC_ENUM_TRAITS_MAX_VALUE(search_provider::OSDDType,
+ search_provider::OSDD_TYPE_LAST)
IPC_ENUM_TRAITS(search_provider::InstallState)
IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment)
IPC_ENUM_TRAITS(ThemeBackgroundImageTiling)
« no previous file with comments | « no previous file | chrome/common/search_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698