summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authortsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-30 21:45:34 +0000
committertsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-30 21:45:34 +0000
commit4f25f02e5236e975d1f7f728ef11872693b14fc7 (patch)
tree90332b5d9e29bdd63cbb043c8baa700a2a10757a /extensions
parente9d04a4804063faf3504827cbcf6d57fac34583a (diff)
downloadchromium_src-4f25f02e5236e975d1f7f728ef11872693b14fc7.zip
chromium_src-4f25f02e5236e975d1f7f728ef11872693b14fc7.tar.gz
chromium_src-4f25f02e5236e975d1f7f728ef11872693b14fc7.tar.bz2
Apply automatic range checking for enums acros extension_messages IPC.
This is part of a long-running background task to remove the remaining uses of the unchecked IPC_ENUM_TRAITS() macro. BUG=246708 Review URL: https://codereview.chromium.org/145063005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248038 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions')
-rw-r--r--extensions/common/view_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/common/view_type.h b/extensions/common/view_type.h
index 6030e6c..e38dc20 100644
--- a/extensions/common/view_type.h
+++ b/extensions/common/view_type.h
@@ -26,6 +26,7 @@ enum ViewType {
VIEW_TYPE_PANEL,
VIEW_TYPE_TAB_CONTENTS,
VIEW_TYPE_VIRTUAL_KEYBOARD,
+ VIEW_TYPE_LAST = VIEW_TYPE_VIRTUAL_KEYBOARD
};
// Constant strings corresponding to the Type enumeration values. Used