diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-30 21:01:34 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-30 21:01:34 +0000 |
commit | 7ca14c3b4b8704295bdac24cbabedc532983410c (patch) | |
tree | 8bb33659b5eca3d79a09e43849e1ee92f46911f9 /printing | |
parent | 4d5a81ef1a70a68e48413a087cf55207c18fdded (diff) | |
download | chromium_src-7ca14c3b4b8704295bdac24cbabedc532983410c.zip chromium_src-7ca14c3b4b8704295bdac24cbabedc532983410c.tar.gz chromium_src-7ca14c3b4b8704295bdac24cbabedc532983410c.tar.bz2 |
Validate enum parameters for IPCs in print_messages.h
This is part of a long-running background task to remove the remaining
uses of the unchecked IPC_ENUM_TRAITS() macro.
BUG=246708
R=vandebo@chromium.org
Review URL: https://codereview.chromium.org/145353018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248026 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/print_job_constants.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h index 35cb9c7..7912349 100644 --- a/printing/print_job_constants.h +++ b/printing/print_job_constants.h @@ -130,6 +130,7 @@ enum MarginType { NO_MARGINS, PRINTABLE_AREA_MARGINS, CUSTOM_MARGINS, + MARGIN_TYPE_LAST = CUSTOM_MARGINS }; } // namespace printing |