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

Side by Side Diff: net/http/http_stream_factory_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_stream_factory.h ('k') | net/http/http_stream_factory_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_STREAM_FACTORY_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void OrphanJob(Job* job, const Request* request); 67 void OrphanJob(Job* job, const Request* request);
68 68
69 // Called when a SpdySession is ready. It will find appropriate Requests and 69 // Called when a SpdySession is ready. It will find appropriate Requests and
70 // fulfill them. |direct| indicates whether or not |spdy_session| uses a 70 // fulfill them. |direct| indicates whether or not |spdy_session| uses a
71 // proxy. 71 // proxy.
72 void OnSpdySessionReady(scoped_refptr<SpdySession> spdy_session, 72 void OnSpdySessionReady(scoped_refptr<SpdySession> spdy_session,
73 bool direct, 73 bool direct,
74 const SSLConfig& used_ssl_config, 74 const SSLConfig& used_ssl_config,
75 const ProxyInfo& used_proxy_info, 75 const ProxyInfo& used_proxy_info,
76 bool was_npn_negotiated, 76 bool was_npn_negotiated,
77 SSLClientSocket::NextProto protocol_negotiated, 77 NextProto protocol_negotiated,
78 bool using_spdy, 78 bool using_spdy,
79 const BoundNetLog& net_log); 79 const BoundNetLog& net_log);
80 80
81 // Called when the Job detects that the endpoint indicated by the 81 // Called when the Job detects that the endpoint indicated by the
82 // Alternate-Protocol does not work. Lets the factory update 82 // Alternate-Protocol does not work. Lets the factory update
83 // HttpAlternateProtocols with the failure and resets the SPDY session key. 83 // HttpAlternateProtocols with the failure and resets the SPDY session key.
84 void OnBrokenAlternateProtocol(const Job*, const HostPortPair& origin); 84 void OnBrokenAlternateProtocol(const Job*, const HostPortPair& origin);
85 85
86 // Invoked when an orphaned Job finishes. 86 // Invoked when an orphaned Job finishes.
87 void OnOrphanedJobComplete(const Job* job); 87 void OnOrphanedJobComplete(const Job* job);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // object. They're owned by HttpStreamFactoryImpl. Leftover jobs will be 122 // object. They're owned by HttpStreamFactoryImpl. Leftover jobs will be
123 // deleted when the factory is destroyed. 123 // deleted when the factory is destroyed.
124 std::set<const Job*> preconnect_job_set_; 124 std::set<const Job*> preconnect_job_set_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); 126 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl);
127 }; 127 };
128 128
129 } // namespace net 129 } // namespace net
130 130
131 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 131 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_factory.h ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698