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

Unified Diff: components/security_interstitials/core/browser/resources/extended_reporting.js

Issue 2854263003: Add quiet safe browsing interstitial for WebView (Closed)
Patch Set: Fix unit test Created 3 years, 7 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: components/security_interstitials/core/browser/resources/extended_reporting.js
diff --git a/components/security_interstitials/core/browser/resources/extended_reporting.js b/components/security_interstitials/core/browser/resources/extended_reporting.js
index 5a72ad12204ebfe38bdaed6ef1cee052471af792..6ebec2c1b15074993863d0de8d97a5bf51c5af26 100644
--- a/components/security_interstitials/core/browser/resources/extended_reporting.js
+++ b/components/security_interstitials/core/browser/resources/extended_reporting.js
@@ -41,7 +41,7 @@ function setupExtendedReportingCheckbox() {
$('opt-in-checkbox').addEventListener('click', function() {
sendCommand($('opt-in-checkbox').checked ?
- CMD_DO_REPORT :
- CMD_DONT_REPORT);
+ SecurityInterstitialCommandId.CMD_DO_REPORT :
+ SecurityInterstitialCommandId.CMD_DONT_REPORT);
});
}

Powered by Google App Engine
This is Rietveld 408576698