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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 // NetworkDelegate implementation. | 209 // NetworkDelegate implementation. |
210 virtual int OnBeforeURLRequest(net::URLRequest* request, | 210 virtual int OnBeforeURLRequest(net::URLRequest* request, |
211 const net::CompletionCallback& callback, | 211 const net::CompletionCallback& callback, |
212 GURL* new_url) OVERRIDE; | 212 GURL* new_url) OVERRIDE; |
213 virtual void OnResolveProxy( | 213 virtual void OnResolveProxy( |
214 const GURL& url, | 214 const GURL& url, |
215 int load_flags, | 215 int load_flags, |
216 const net::ProxyService& proxy_service, | 216 const net::ProxyService& proxy_service, |
217 net::ProxyInfo* result) OVERRIDE; | 217 net::ProxyInfo* result) OVERRIDE; |
218 virtual void OnProxyFallback(const net::ProxyServer& bad_proxy, | 218 virtual void OnProxyFallback(const net::ProxyServer& bad_proxy, |
219 int net_error, | 219 int net_error) OVERRIDE; |
220 bool did_fallback) OVERRIDE; | |
221 virtual int OnBeforeSendHeaders(net::URLRequest* request, | 220 virtual int OnBeforeSendHeaders(net::URLRequest* request, |
222 const net::CompletionCallback& callback, | 221 const net::CompletionCallback& callback, |
223 net::HttpRequestHeaders* headers) OVERRIDE; | 222 net::HttpRequestHeaders* headers) OVERRIDE; |
224 virtual void OnBeforeSendProxyHeaders( | 223 virtual void OnBeforeSendProxyHeaders( |
225 net::URLRequest* request, | 224 net::URLRequest* request, |
226 const net::ProxyInfo& proxy_info, | 225 const net::ProxyInfo& proxy_info, |
227 net::HttpRequestHeaders* headers) OVERRIDE; | 226 net::HttpRequestHeaders* headers) OVERRIDE; |
228 virtual void OnSendHeaders(net::URLRequest* request, | 227 virtual void OnSendHeaders(net::URLRequest* request, |
229 const net::HttpRequestHeaders& headers) OVERRIDE; | 228 const net::HttpRequestHeaders& headers) OVERRIDE; |
230 virtual int OnHeadersReceived( | 229 virtual int OnHeadersReceived( |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 data_reduction_proxy::DataReductionProxyAuthRequestHandler* | 320 data_reduction_proxy::DataReductionProxyAuthRequestHandler* |
322 data_reduction_proxy_auth_request_handler_; | 321 data_reduction_proxy_auth_request_handler_; |
323 | 322 |
324 OnResolveProxyHandler on_resolve_proxy_handler_; | 323 OnResolveProxyHandler on_resolve_proxy_handler_; |
325 ProxyConfigGetter proxy_config_getter_; | 324 ProxyConfigGetter proxy_config_getter_; |
326 | 325 |
327 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); | 326 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); |
328 }; | 327 }; |
329 | 328 |
330 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ | 329 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ |
OLD | NEW |