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

Unified Diff: chrome/browser/safe_browsing/protocol_manager.h

Issue 356843002: [Android] Disable connect type check for unit test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adjust the order of debugging fields 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
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/protocol_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/protocol_manager.h
diff --git a/chrome/browser/safe_browsing/protocol_manager.h b/chrome/browser/safe_browsing/protocol_manager.h
index d3db97c7f5d10892e4b1a4263419ebd383f28730..91693ae9fbb1b01a8c2b9a703bf0fa2e25748c3c 100644
--- a/chrome/browser/safe_browsing/protocol_manager.h
+++ b/chrome/browser/safe_browsing/protocol_manager.h
@@ -386,6 +386,12 @@ class SafeBrowsingProtocolManager : public net::URLFetcherDelegate,
// ForceScheduleNextUpdate() is called. This is set for testing purpose.
bool disable_auto_update_;
+#if defined(OS_ANDROID)
+ // When true, protocol_manager will not check network connection
+ // type when scheduling next update. This is set for testing purpose.
+ bool disable_connection_check_;
+#endif
+
// ID for URLFetchers for testing.
int url_fetcher_id_;
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/protocol_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698