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

Side by Side Diff: chrome/browser/net/chrome_network_delegate.h

Issue 473513002: Keep track of network error in ProxyRetryInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor formatting Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698