Chromium Code Reviews| 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..b164abb82600194f3f9ca6fbfc388608de916247 100644 |
| --- a/chrome/browser/safe_browsing/protocol_manager.h |
| +++ b/chrome/browser/safe_browsing/protocol_manager.h |
| @@ -389,6 +389,12 @@ class SafeBrowsingProtocolManager : public net::URLFetcherDelegate, |
| // ID for URLFetchers for testing. |
| int url_fetcher_id_; |
| +#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 |
| + |
|
Scott Hess - ex-Googler
2014/06/25 21:34:33
Could you pull this and the disable_auto_update_ c
|
| // Whether the app is in foreground or background. |
| bool app_in_foreground_; |