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

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: Send special commands for text searching, return AssertionResult, other cleanup 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
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..b4e2a4b12d5a41e3d907a577c6eaf4bacf802b62 100644
--- a/chrome/browser/interstitials/security_interstitial_page.h
+++ b/chrome/browser/interstitials/security_interstitial_page.h
@@ -39,6 +39,9 @@ class SecurityInterstitialPage : public content::InterstitialPageDelegate {
CMD_DO_REPORT = 8,
CMD_DONT_REPORT = 9,
CMD_OPEN_REPORTING_PRIVACY = 10,
+ // Used by tests
+ CMD_TEXT_FOUND = 11,
+ CMD_TEXT_NOT_FOUND = 12
meacer 2015/03/25 01:08:40 How about making these negative values? That way t
estark 2015/03/25 04:23:49 Done.
};
SecurityInterstitialPage(content::WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698