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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc

Issue 356843002: [Android] Disable connect type check for unit test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/safe_browsing/safe_browsing_service_browsertest.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
index 265bca083ca47a4d7f93b4a2c94d156aab07fe16..ad63c62c3de0e8c4295c1e5b218647241d1743e5 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
@@ -76,6 +76,9 @@ class FakeSafeBrowsingService : public SafeBrowsingService {
// Makes sure the auto update is not triggered. The tests will force the
// update when needed.
config.disable_auto_update = true;
+#if defined(OS_ANDROID)
+ config.disable_connection_check = true;
+#endif
config.client_name = "browser_tests";
return config;
}

Powered by Google App Engine
This is Rietveld 408576698