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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_test.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_test.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_test.cc b/chrome/browser/safe_browsing/safe_browsing_test.cc
index 33f46feba061ac0af71fa16d37594426f537153e..761811cbab518ed6dfe9f6852f348f95f8721917 100644
--- a/chrome/browser/safe_browsing/safe_browsing_test.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_test.cc
@@ -118,6 +118,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