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

Side by Side Diff: net/spdy/spdy_proxy_client_socket.h

Issue 9959033: Move NextProto enum to a new file net/socket/next_proto.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address wtc's comments Created 8 years, 8 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 | Annotate | Revision Log
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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <list> 10 #include <list>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // On destruction Disconnect() is called. 54 // On destruction Disconnect() is called.
55 virtual ~SpdyProxyClientSocket(); 55 virtual ~SpdyProxyClientSocket();
56 56
57 // ProxyClientSocket methods: 57 // ProxyClientSocket methods:
58 virtual const HttpResponseInfo* GetConnectResponseInfo() const OVERRIDE; 58 virtual const HttpResponseInfo* GetConnectResponseInfo() const OVERRIDE;
59 virtual HttpStream* CreateConnectResponseStream() OVERRIDE; 59 virtual HttpStream* CreateConnectResponseStream() OVERRIDE;
60 virtual const scoped_refptr<HttpAuthController>& GetAuthController() const 60 virtual const scoped_refptr<HttpAuthController>& GetAuthController() const
61 OVERRIDE; 61 OVERRIDE;
62 virtual int RestartWithAuth(const CompletionCallback& callback) OVERRIDE; 62 virtual int RestartWithAuth(const CompletionCallback& callback) OVERRIDE;
63 virtual bool IsUsingSpdy() const OVERRIDE; 63 virtual bool IsUsingSpdy() const OVERRIDE;
64 virtual SSLClientSocket::NextProto GetProtocolNegotiated() const OVERRIDE; 64 virtual NextProto GetProtocolNegotiated() const OVERRIDE;
65 65
66 // StreamSocket implementation. 66 // StreamSocket implementation.
67 virtual int Connect(const CompletionCallback& callback) OVERRIDE; 67 virtual int Connect(const CompletionCallback& callback) OVERRIDE;
68 virtual void Disconnect() OVERRIDE; 68 virtual void Disconnect() OVERRIDE;
69 virtual bool IsConnected() const OVERRIDE; 69 virtual bool IsConnected() const OVERRIDE;
70 virtual bool IsConnectedAndIdle() const OVERRIDE; 70 virtual bool IsConnectedAndIdle() const OVERRIDE;
71 virtual const BoundNetLog& NetLog() const OVERRIDE; 71 virtual const BoundNetLog& NetLog() const OVERRIDE;
72 virtual void SetSubresourceSpeculation() OVERRIDE; 72 virtual void SetSubresourceSpeculation() OVERRIDE;
73 virtual void SetOmniboxSpeculation() OVERRIDE; 73 virtual void SetOmniboxSpeculation() OVERRIDE;
74 virtual bool WasEverUsed() const OVERRIDE; 74 virtual bool WasEverUsed() const OVERRIDE;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_; 164 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_;
165 165
166 const BoundNetLog net_log_; 166 const BoundNetLog net_log_;
167 167
168 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 168 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
169 }; 169 };
170 170
171 } // namespace net 171 } // namespace net
172 172
173 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 173 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_network_transaction_spdy3_unittest.cc ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698