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

Unified Diff: printing/pwg_raster_settings.h

Issue 635253002: Apply automatic range checks to content enum types across IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments Created 6 years, 2 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 | « chrome/common/chrome_utility_printing_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pwg_raster_settings.h
diff --git a/printing/pwg_raster_settings.h b/printing/pwg_raster_settings.h
index dc87b93738ac67b1dadbb7e6f040d856e360dc52..bfc04462f80974c3af5633bf562c65c1ebe83140 100644
--- a/printing/pwg_raster_settings.h
+++ b/printing/pwg_raster_settings.h
@@ -16,7 +16,8 @@ enum PwgRasterTransformType {
TRANSFORM_NORMAL,
TRANSFORM_ROTATE_180,
TRANSFORM_FLIP_HORIZONTAL,
- TRANSFORM_FLIP_VERTICAL
+ TRANSFORM_FLIP_VERTICAL,
+ TRANSFORM_TYPE_LAST = TRANSFORM_FLIP_VERTICAL
};
struct PwgRasterSettings {
« no previous file with comments | « chrome/common/chrome_utility_printing_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698