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

Unified Diff: content/public/common/three_d_api_types.h

Issue 604753002: Apply automatic range checks to enum types across IPC in content. (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 | « content/public/common/stop_find_action.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/three_d_api_types.h
diff --git a/content/public/common/three_d_api_types.h b/content/public/common/three_d_api_types.h
index e28f5bcb95e5cc2eb72548be1dca2924012b904c..8a29307d5fde1f5c441337520e9b55a9fa6430b5 100644
--- a/content/public/common/three_d_api_types.h
+++ b/content/public/common/three_d_api_types.h
@@ -13,7 +13,9 @@ namespace content {
enum ThreeDAPIType {
THREE_D_API_TYPE_WEBGL,
- THREE_D_API_TYPE_PEPPER_3D
+ THREE_D_API_TYPE_PEPPER_3D,
+ THREE_D_API_TYPE_LAST = THREE_D_API_TYPE_PEPPER_3D
+
palmer 2014/09/25 18:52:59 Nit: No blank line here.
};
} // namespace content
« no previous file with comments | « content/public/common/stop_find_action.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698