| Index: chrome/browser/net/chrome_network_delegate.h
|
| diff --git a/chrome/browser/net/chrome_network_delegate.h b/chrome/browser/net/chrome_network_delegate.h
|
| index a5fb87d9c3c0d530485d72685e6d53af960ea928..c97953fcd9eae07cbcd093d397b9e185cd6275f5 100644
|
| --- a/chrome/browser/net/chrome_network_delegate.h
|
| +++ b/chrome/browser/net/chrome_network_delegate.h
|
| @@ -115,15 +115,20 @@ class ChromeNetworkDelegate : public net::NetworkDelegate {
|
| // Weak, owned by our owner.
|
| BooleanPrefMember* enable_referrers_;
|
|
|
| - // True if OnCanThrottleRequest should always return false.
|
| - bool never_throttle_requests_;
|
| -
|
| // Weak, owned by our owner.
|
| const policy::URLBlacklistManager* url_blacklist_manager_;
|
|
|
| // When true, allow access to all file:// URLs.
|
| static bool g_allow_file_access_;
|
|
|
| + // True if OnCanThrottleRequest should always return false.
|
| + //
|
| + // Note: This needs to be static as the instance of
|
| + // ChromeNetworkDelegate used may change over time, and we need to
|
| + // set this variable once at start-up time. It is effectively
|
| + // static anyway since it is based on a command-line flag.
|
| + static bool g_never_throttle_requests_;
|
| +
|
| // Pointer to IOThread global, should outlive ChromeNetworkDelegate.
|
| chrome_browser_net::CacheStats* cache_stats_;
|
|
|
|
|