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

Side by Side Diff: net/http/http_pipelined_host_impl.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
« no previous file with comments | « net/http/http_pipelined_host_forced_unittest.cc ('k') | net/http/http_pipelined_host_impl.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_PIPELINED_HOST_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_PIPELINED_HOST_IMPL_H_
6 #define NET_HTTP_HTTP_PIPELINED_HOST_IMPL_H_ 6 #define NET_HTTP_HTTP_PIPELINED_HOST_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 HttpPipelinedHostCapability capability); 42 HttpPipelinedHostCapability capability);
43 virtual ~HttpPipelinedHostImpl(); 43 virtual ~HttpPipelinedHostImpl();
44 44
45 // HttpPipelinedHost interface 45 // HttpPipelinedHost interface
46 virtual HttpPipelinedStream* CreateStreamOnNewPipeline( 46 virtual HttpPipelinedStream* CreateStreamOnNewPipeline(
47 ClientSocketHandle* connection, 47 ClientSocketHandle* connection,
48 const SSLConfig& used_ssl_config, 48 const SSLConfig& used_ssl_config,
49 const ProxyInfo& used_proxy_info, 49 const ProxyInfo& used_proxy_info,
50 const BoundNetLog& net_log, 50 const BoundNetLog& net_log,
51 bool was_npn_negotiated, 51 bool was_npn_negotiated,
52 SSLClientSocket::NextProto protocol_negotiated) OVERRIDE; 52 NextProto protocol_negotiated) OVERRIDE;
53 53
54 virtual HttpPipelinedStream* CreateStreamOnExistingPipeline() OVERRIDE; 54 virtual HttpPipelinedStream* CreateStreamOnExistingPipeline() OVERRIDE;
55 55
56 virtual bool IsExistingPipelineAvailable() const OVERRIDE; 56 virtual bool IsExistingPipelineAvailable() const OVERRIDE;
57 57
58 // HttpPipelinedConnection::Delegate interface 58 // HttpPipelinedConnection::Delegate interface
59 59
60 // Called when a pipelined connection completes a request. Adds a pending 60 // Called when a pipelined connection completes a request. Adds a pending
61 // request to the pipeline if the pipeline is still usable. 61 // request to the pipeline if the pipeline is still usable.
62 virtual void OnPipelineHasCapacity( 62 virtual void OnPipelineHasCapacity(
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 PipelineInfoMap pipelines_; 109 PipelineInfoMap pipelines_;
110 scoped_ptr<HttpPipelinedConnection::Factory> factory_; 110 scoped_ptr<HttpPipelinedConnection::Factory> factory_;
111 HttpPipelinedHostCapability capability_; 111 HttpPipelinedHostCapability capability_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(HttpPipelinedHostImpl); 113 DISALLOW_COPY_AND_ASSIGN(HttpPipelinedHostImpl);
114 }; 114 };
115 115
116 } // namespace net 116 } // namespace net
117 117
118 #endif // NET_HTTP_HTTP_PIPELINED_HOST_IMPL_H_ 118 #endif // NET_HTTP_HTTP_PIPELINED_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_pipelined_host_forced_unittest.cc ('k') | net/http/http_pipelined_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698