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

Side by Side Diff: components/data_reduction_proxy/browser/data_reduction_proxy_delegate.h

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_DELEGATE_H_ 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_DELEGATE_H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_DELEGATE_H_ 6 #define COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_DELEGATE_H_
7 7
8 #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_requ est_handler.h" 8 #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_requ est_handler.h"
9 #include "net/base/proxy_delegate.h" 9 #include "net/base/proxy_delegate.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 15 matching lines...) Expand all
26 class DataReductionProxyDelegate : public net::ProxyDelegate { 26 class DataReductionProxyDelegate : public net::ProxyDelegate {
27 public: 27 public:
28 explicit DataReductionProxyDelegate( 28 explicit DataReductionProxyDelegate(
29 DataReductionProxyAuthRequestHandler* auth_handler); 29 DataReductionProxyAuthRequestHandler* auth_handler);
30 30
31 virtual ~DataReductionProxyDelegate(); 31 virtual ~DataReductionProxyDelegate();
32 32
33 virtual void OnResolveProxy(const GURL& url, 33 virtual void OnResolveProxy(const GURL& url,
34 int load_flags, 34 int load_flags,
35 const net::ProxyService& proxy_service, 35 const net::ProxyService& proxy_service,
36 net::ProxyInfo* result) OVERRIDE; 36 net::ProxyInfo* result) override;
37 37
38 virtual void OnFallback(const net::ProxyServer& bad_proxy, 38 virtual void OnFallback(const net::ProxyServer& bad_proxy,
39 int net_error) OVERRIDE; 39 int net_error) override;
40 40
41 virtual void OnBeforeSendHeaders(net::URLRequest* request, 41 virtual void OnBeforeSendHeaders(net::URLRequest* request,
42 const net::ProxyInfo& proxy_info, 42 const net::ProxyInfo& proxy_info,
43 net::HttpRequestHeaders* headers) OVERRIDE; 43 net::HttpRequestHeaders* headers) override;
44 44
45 virtual void OnBeforeTunnelRequest( 45 virtual void OnBeforeTunnelRequest(
46 const net::HostPortPair& proxy_server, 46 const net::HostPortPair& proxy_server,
47 net::HttpRequestHeaders* extra_headers) OVERRIDE; 47 net::HttpRequestHeaders* extra_headers) override;
48 48
49 virtual void OnTunnelHeadersReceived( 49 virtual void OnTunnelHeadersReceived(
50 const net::HostPortPair& origin, 50 const net::HostPortPair& origin,
51 const net::HostPortPair& proxy_server, 51 const net::HostPortPair& proxy_server,
52 const net::HttpResponseHeaders& response_headers) OVERRIDE; 52 const net::HttpResponseHeaders& response_headers) override;
53 53
54 private: 54 private:
55 DataReductionProxyAuthRequestHandler* auth_handler_; 55 DataReductionProxyAuthRequestHandler* auth_handler_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyDelegate); 57 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyDelegate);
58 }; 58 };
59 59
60 } // namespace data_reduction_proxy 60 } // namespace data_reduction_proxy
61 61
62 #endif // COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_DELEGATE _H_ 62 #endif // COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_DELEGATE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698