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

Side by Side Diff: net/spdy/spdy_proxy_client_socket.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/spdy/spdy_protocol.h ('k') | net/spdy/spdy_session.h » ('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_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const HostPortPair& proxy_server, 50 const HostPortPair& proxy_server,
51 const BoundNetLog& source_net_log, 51 const BoundNetLog& source_net_log,
52 HttpAuthCache* auth_cache, 52 HttpAuthCache* auth_cache,
53 HttpAuthHandlerFactory* auth_handler_factory); 53 HttpAuthHandlerFactory* auth_handler_factory);
54 54
55 55
56 // On destruction Disconnect() is called. 56 // On destruction Disconnect() is called.
57 virtual ~SpdyProxyClientSocket(); 57 virtual ~SpdyProxyClientSocket();
58 58
59 // ProxyClientSocket methods: 59 // ProxyClientSocket methods:
60 virtual const HttpResponseInfo* GetConnectResponseInfo() const OVERRIDE; 60 virtual const HttpResponseInfo* GetConnectResponseInfo() const override;
61 virtual HttpStream* CreateConnectResponseStream() OVERRIDE; 61 virtual HttpStream* CreateConnectResponseStream() override;
62 virtual const scoped_refptr<HttpAuthController>& GetAuthController() const 62 virtual const scoped_refptr<HttpAuthController>& GetAuthController() const
63 OVERRIDE; 63 override;
64 virtual int RestartWithAuth(const CompletionCallback& callback) OVERRIDE; 64 virtual int RestartWithAuth(const CompletionCallback& callback) override;
65 virtual bool IsUsingSpdy() const OVERRIDE; 65 virtual bool IsUsingSpdy() const override;
66 virtual NextProto GetProtocolNegotiated() const OVERRIDE; 66 virtual NextProto GetProtocolNegotiated() const override;
67 67
68 // StreamSocket implementation. 68 // StreamSocket implementation.
69 virtual int Connect(const CompletionCallback& callback) OVERRIDE; 69 virtual int Connect(const CompletionCallback& callback) override;
70 virtual void Disconnect() OVERRIDE; 70 virtual void Disconnect() override;
71 virtual bool IsConnected() const OVERRIDE; 71 virtual bool IsConnected() const override;
72 virtual bool IsConnectedAndIdle() const OVERRIDE; 72 virtual bool IsConnectedAndIdle() const override;
73 virtual const BoundNetLog& NetLog() const OVERRIDE; 73 virtual const BoundNetLog& NetLog() const override;
74 virtual void SetSubresourceSpeculation() OVERRIDE; 74 virtual void SetSubresourceSpeculation() override;
75 virtual void SetOmniboxSpeculation() OVERRIDE; 75 virtual void SetOmniboxSpeculation() override;
76 virtual bool WasEverUsed() const OVERRIDE; 76 virtual bool WasEverUsed() const override;
77 virtual bool UsingTCPFastOpen() const OVERRIDE; 77 virtual bool UsingTCPFastOpen() const override;
78 virtual bool WasNpnNegotiated() const OVERRIDE; 78 virtual bool WasNpnNegotiated() const override;
79 virtual NextProto GetNegotiatedProtocol() const OVERRIDE; 79 virtual NextProto GetNegotiatedProtocol() const override;
80 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 80 virtual bool GetSSLInfo(SSLInfo* ssl_info) override;
81 81
82 // Socket implementation. 82 // Socket implementation.
83 virtual int Read(IOBuffer* buf, 83 virtual int Read(IOBuffer* buf,
84 int buf_len, 84 int buf_len,
85 const CompletionCallback& callback) OVERRIDE; 85 const CompletionCallback& callback) override;
86 virtual int Write(IOBuffer* buf, 86 virtual int Write(IOBuffer* buf,
87 int buf_len, 87 int buf_len,
88 const CompletionCallback& callback) OVERRIDE; 88 const CompletionCallback& callback) override;
89 virtual int SetReceiveBufferSize(int32 size) OVERRIDE; 89 virtual int SetReceiveBufferSize(int32 size) override;
90 virtual int SetSendBufferSize(int32 size) OVERRIDE; 90 virtual int SetSendBufferSize(int32 size) override;
91 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; 91 virtual int GetPeerAddress(IPEndPoint* address) const override;
92 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; 92 virtual int GetLocalAddress(IPEndPoint* address) const override;
93 93
94 // SpdyStream::Delegate implementation. 94 // SpdyStream::Delegate implementation.
95 virtual void OnRequestHeadersSent() OVERRIDE; 95 virtual void OnRequestHeadersSent() override;
96 virtual SpdyResponseHeadersStatus OnResponseHeadersUpdated( 96 virtual SpdyResponseHeadersStatus OnResponseHeadersUpdated(
97 const SpdyHeaderBlock& response_headers) OVERRIDE; 97 const SpdyHeaderBlock& response_headers) override;
98 virtual void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) OVERRIDE; 98 virtual void OnDataReceived(scoped_ptr<SpdyBuffer> buffer) override;
99 virtual void OnDataSent() OVERRIDE; 99 virtual void OnDataSent() override;
100 virtual void OnClose(int status) OVERRIDE; 100 virtual void OnClose(int status) override;
101 101
102 private: 102 private:
103 enum State { 103 enum State {
104 STATE_DISCONNECTED, 104 STATE_DISCONNECTED,
105 STATE_GENERATE_AUTH_TOKEN, 105 STATE_GENERATE_AUTH_TOKEN,
106 STATE_GENERATE_AUTH_TOKEN_COMPLETE, 106 STATE_GENERATE_AUTH_TOKEN_COMPLETE,
107 STATE_SEND_REQUEST, 107 STATE_SEND_REQUEST,
108 STATE_SEND_REQUEST_COMPLETE, 108 STATE_SEND_REQUEST_COMPLETE,
109 STATE_READ_REPLY_COMPLETE, 109 STATE_READ_REPLY_COMPLETE,
110 STATE_OPEN, 110 STATE_OPEN,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // Only used for posting write callbacks. Weak pointers created by this 175 // Only used for posting write callbacks. Weak pointers created by this
176 // factory are invalidated in Disconnect(). 176 // factory are invalidated in Disconnect().
177 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_; 177 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_;
178 178
179 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 179 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
180 }; 180 };
181 181
182 } // namespace net 182 } // namespace net
183 183
184 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 184 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_protocol.h ('k') | net/spdy/spdy_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698