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

Unified Diff: chrome/browser/renderer_host/safe_browsing_resource_throttle.cc

Issue 425223007: [Android] Temporarily disable Safe Browsing interstitial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/safe_browsing_resource_throttle.cc
diff --git a/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc b/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc
index e9dc7b13599e0422abbc8c06c315958c3be1ed45..bee53315aeda8465ff2eb28f887859ebc6d93e50 100644
--- a/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc
+++ b/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc
@@ -86,6 +86,12 @@ void SafeBrowsingResourceThrottle::OnCheckBrowseUrlResult(
CHECK(url == url_being_checked_) << "Was expecting: " << url_being_checked_
<< " but got: " << url;
+#if defined(OS_ANDROID)
+ // Temporarily disable SB interstitial during Finch experiment.
+ // The database check is still exercised, but not interstitial never shown.
sgurun-gerrit only 2014/07/31 17:26:35 nit: s/not/the/
+ threat_type = SB_THREAT_TYPE_SAFE;
+#endif
+
timer_.Stop(); // Cancel the timeout timer.
threat_type_ = threat_type;
state_ = STATE_NONE;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698