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

Unified Diff: content/public/common/stop_find_action.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
Index: content/public/common/stop_find_action.h
diff --git a/content/public/common/stop_find_action.h b/content/public/common/stop_find_action.h
index 2477097ba365f7d03169666444aa8a70f2545c64..0088eec3ea6c64f89e83416eb21893d10390c6c7 100644
--- a/content/public/common/stop_find_action.h
+++ b/content/public/common/stop_find_action.h
@@ -12,7 +12,8 @@ namespace content {
enum StopFindAction {
STOP_FIND_ACTION_CLEAR_SELECTION,
STOP_FIND_ACTION_KEEP_SELECTION,
- STOP_FIND_ACTION_ACTIVATE_SELECTION
+ STOP_FIND_ACTION_ACTIVATE_SELECTION,
+ STOP_FIND_ACTION_LAST = STOP_FIND_ACTION_ACTIVATE_SELECTION
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698