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

Side by Side Diff: net/http/http_network_transaction.h

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment 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
« no previous file with comments | « net/http/http_network_layer.h ('k') | net/http/http_network_transaction_ssl_unittest.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 NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 29 matching lines...) Expand all
40 public HttpStreamRequest::Delegate { 40 public HttpStreamRequest::Delegate {
41 public: 41 public:
42 HttpNetworkTransaction(RequestPriority priority, 42 HttpNetworkTransaction(RequestPriority priority,
43 HttpNetworkSession* session); 43 HttpNetworkSession* session);
44 44
45 virtual ~HttpNetworkTransaction(); 45 virtual ~HttpNetworkTransaction();
46 46
47 // HttpTransaction methods: 47 // HttpTransaction methods:
48 virtual int Start(const HttpRequestInfo* request_info, 48 virtual int Start(const HttpRequestInfo* request_info,
49 const CompletionCallback& callback, 49 const CompletionCallback& callback,
50 const BoundNetLog& net_log) OVERRIDE; 50 const BoundNetLog& net_log) override;
51 virtual int RestartIgnoringLastError( 51 virtual int RestartIgnoringLastError(
52 const CompletionCallback& callback) OVERRIDE; 52 const CompletionCallback& callback) override;
53 virtual int RestartWithCertificate( 53 virtual int RestartWithCertificate(
54 X509Certificate* client_cert, 54 X509Certificate* client_cert,
55 const CompletionCallback& callback) OVERRIDE; 55 const CompletionCallback& callback) override;
56 virtual int RestartWithAuth(const AuthCredentials& credentials, 56 virtual int RestartWithAuth(const AuthCredentials& credentials,
57 const CompletionCallback& callback) OVERRIDE; 57 const CompletionCallback& callback) override;
58 virtual bool IsReadyToRestartForAuth() OVERRIDE; 58 virtual bool IsReadyToRestartForAuth() override;
59 59
60 virtual int Read(IOBuffer* buf, 60 virtual int Read(IOBuffer* buf,
61 int buf_len, 61 int buf_len,
62 const CompletionCallback& callback) OVERRIDE; 62 const CompletionCallback& callback) override;
63 virtual void StopCaching() OVERRIDE; 63 virtual void StopCaching() override;
64 virtual bool GetFullRequestHeaders( 64 virtual bool GetFullRequestHeaders(
65 HttpRequestHeaders* headers) const OVERRIDE; 65 HttpRequestHeaders* headers) const override;
66 virtual int64 GetTotalReceivedBytes() const OVERRIDE; 66 virtual int64 GetTotalReceivedBytes() const override;
67 virtual void DoneReading() OVERRIDE; 67 virtual void DoneReading() override;
68 virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE; 68 virtual const HttpResponseInfo* GetResponseInfo() const override;
69 virtual LoadState GetLoadState() const OVERRIDE; 69 virtual LoadState GetLoadState() const override;
70 virtual UploadProgress GetUploadProgress() const OVERRIDE; 70 virtual UploadProgress GetUploadProgress() const override;
71 virtual void SetQuicServerInfo(QuicServerInfo* quic_server_info) OVERRIDE; 71 virtual void SetQuicServerInfo(QuicServerInfo* quic_server_info) override;
72 virtual bool GetLoadTimingInfo( 72 virtual bool GetLoadTimingInfo(
73 LoadTimingInfo* load_timing_info) const OVERRIDE; 73 LoadTimingInfo* load_timing_info) const override;
74 virtual void SetPriority(RequestPriority priority) OVERRIDE; 74 virtual void SetPriority(RequestPriority priority) override;
75 virtual void SetWebSocketHandshakeStreamCreateHelper( 75 virtual void SetWebSocketHandshakeStreamCreateHelper(
76 WebSocketHandshakeStreamBase::CreateHelper* create_helper) OVERRIDE; 76 WebSocketHandshakeStreamBase::CreateHelper* create_helper) override;
77 virtual void SetBeforeNetworkStartCallback( 77 virtual void SetBeforeNetworkStartCallback(
78 const BeforeNetworkStartCallback& callback) OVERRIDE; 78 const BeforeNetworkStartCallback& callback) override;
79 virtual void SetBeforeProxyHeadersSentCallback( 79 virtual void SetBeforeProxyHeadersSentCallback(
80 const BeforeProxyHeadersSentCallback& callback) OVERRIDE; 80 const BeforeProxyHeadersSentCallback& callback) override;
81 virtual int ResumeNetworkStart() OVERRIDE; 81 virtual int ResumeNetworkStart() override;
82 82
83 // HttpStreamRequest::Delegate methods: 83 // HttpStreamRequest::Delegate methods:
84 virtual void OnStreamReady(const SSLConfig& used_ssl_config, 84 virtual void OnStreamReady(const SSLConfig& used_ssl_config,
85 const ProxyInfo& used_proxy_info, 85 const ProxyInfo& used_proxy_info,
86 HttpStreamBase* stream) OVERRIDE; 86 HttpStreamBase* stream) override;
87 virtual void OnWebSocketHandshakeStreamReady( 87 virtual void OnWebSocketHandshakeStreamReady(
88 const SSLConfig& used_ssl_config, 88 const SSLConfig& used_ssl_config,
89 const ProxyInfo& used_proxy_info, 89 const ProxyInfo& used_proxy_info,
90 WebSocketHandshakeStreamBase* stream) OVERRIDE; 90 WebSocketHandshakeStreamBase* stream) override;
91 virtual void OnStreamFailed(int status, 91 virtual void OnStreamFailed(int status,
92 const SSLConfig& used_ssl_config) OVERRIDE; 92 const SSLConfig& used_ssl_config) override;
93 virtual void OnCertificateError(int status, 93 virtual void OnCertificateError(int status,
94 const SSLConfig& used_ssl_config, 94 const SSLConfig& used_ssl_config,
95 const SSLInfo& ssl_info) OVERRIDE; 95 const SSLInfo& ssl_info) override;
96 virtual void OnNeedsProxyAuth( 96 virtual void OnNeedsProxyAuth(
97 const HttpResponseInfo& response_info, 97 const HttpResponseInfo& response_info,
98 const SSLConfig& used_ssl_config, 98 const SSLConfig& used_ssl_config,
99 const ProxyInfo& used_proxy_info, 99 const ProxyInfo& used_proxy_info,
100 HttpAuthController* auth_controller) OVERRIDE; 100 HttpAuthController* auth_controller) override;
101 virtual void OnNeedsClientAuth(const SSLConfig& used_ssl_config, 101 virtual void OnNeedsClientAuth(const SSLConfig& used_ssl_config,
102 SSLCertRequestInfo* cert_info) OVERRIDE; 102 SSLCertRequestInfo* cert_info) override;
103 virtual void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, 103 virtual void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info,
104 const SSLConfig& used_ssl_config, 104 const SSLConfig& used_ssl_config,
105 const ProxyInfo& used_proxy_info, 105 const ProxyInfo& used_proxy_info,
106 HttpStreamBase* stream) OVERRIDE; 106 HttpStreamBase* stream) override;
107 107
108 private: 108 private:
109 friend class HttpNetworkTransactionSSLTest; 109 friend class HttpNetworkTransactionSSLTest;
110 110
111 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, 111 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest,
112 ResetStateForRestart); 112 ResetStateForRestart);
113 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, 113 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest,
114 WindowUpdateReceived); 114 WindowUpdateReceived);
115 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, 115 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest,
116 WindowUpdateSent); 116 WindowUpdateSent);
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 338
339 BeforeNetworkStartCallback before_network_start_callback_; 339 BeforeNetworkStartCallback before_network_start_callback_;
340 BeforeProxyHeadersSentCallback before_proxy_headers_sent_callback_; 340 BeforeProxyHeadersSentCallback before_proxy_headers_sent_callback_;
341 341
342 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 342 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
343 }; 343 };
344 344
345 } // namespace net 345 } // namespace net
346 346
347 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 347 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « net/http/http_network_layer.h ('k') | net/http/http_network_transaction_ssl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698