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

Unified Diff: chrome/common/search_provider.h

Issue 1065813003: Apply automatic range checks to enum types across IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/render_messages.h ('k') | content/public/common/top_controls_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/search_provider.h
diff --git a/chrome/common/search_provider.h b/chrome/common/search_provider.h
index d55416c6c6bdf55129c63f7ecd7d32b6ba8af2c0..9b51df930e9dba2ccc28d40178900429fda229a8 100644
--- a/chrome/common/search_provider.h
+++ b/chrome/common/search_provider.h
@@ -33,7 +33,9 @@ enum InstallState {
INSTALLED_BUT_NOT_DEFAULT = 1,
// The search provider is set as the user's default.
- INSTALLED_AS_DEFAULT = 2
+ INSTALLED_AS_DEFAULT = 2,
+
+ INSTALLED_STATE_LAST = INSTALLED_AS_DEFAULT
};
} // namespace search_provider
« no previous file with comments | « chrome/common/render_messages.h ('k') | content/public/common/top_controls_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698