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

Unified Diff: chrome/browser/interstitials/security_interstitial_page.h

Issue 1000333003: Properly decode IDN in interstitials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move test commands to negative values, and control flow nit Created 5 years, 9 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 | « no previous file | chrome/browser/interstitials/security_interstitial_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/interstitials/security_interstitial_page.h
diff --git a/chrome/browser/interstitials/security_interstitial_page.h b/chrome/browser/interstitials/security_interstitial_page.h
index 0e96ebc1190c7db66f75010513309a2b5c76747b..d3bf1e22a23377f35ab316b8193f21a2bcd8731e 100644
--- a/chrome/browser/interstitials/security_interstitial_page.h
+++ b/chrome/browser/interstitials/security_interstitial_page.h
@@ -24,6 +24,9 @@ class SecurityInterstitialPage : public content::InterstitialPageDelegate {
// DO NOT reorder or change these without also changing the JavaScript!
// See chrome/browser/resources/security_warnings/interstitial_v2.js
enum SecurityInterstitialCommands {
+ // Used by tests
+ CMD_TEXT_FOUND = -2,
+ CMD_TEXT_NOT_FOUND = -1,
// Decisions
CMD_DONT_PROCEED = 0,
CMD_PROCEED = 1,
« no previous file with comments | « no previous file | chrome/browser/interstitials/security_interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698