| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 // True if OnCanThrottleRequest should always return false. | 213 // True if OnCanThrottleRequest should always return false. |
| 214 // | 214 // |
| 215 // Note: This needs to be static as the instance of | 215 // Note: This needs to be static as the instance of |
| 216 // ChromeNetworkDelegate used may change over time, and we need to | 216 // ChromeNetworkDelegate used may change over time, and we need to |
| 217 // set this variable once at start-up time. It is effectively | 217 // set this variable once at start-up time. It is effectively |
| 218 // static anyway since it is based on a command-line flag. | 218 // static anyway since it is based on a command-line flag. |
| 219 static bool g_never_throttle_requests_; | 219 static bool g_never_throttle_requests_; |
| 220 | 220 |
| 221 bool experimental_web_platform_features_enabled_; | 221 bool experimental_web_platform_features_enabled_; |
| 222 | 222 |
| 223 bool first_request_; | |
| 224 | |
| 225 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); | 223 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); |
| 226 }; | 224 }; |
| 227 | 225 |
| 228 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 226 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
| OLD | NEW |