| OLD | NEW | 
|---|
| 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  Loading... | 
| 67 | 67 | 
| 68   HttpStreamRequest* RequestStreamInternal( | 68   HttpStreamRequest* RequestStreamInternal( | 
| 69       const HttpRequestInfo& info, | 69       const HttpRequestInfo& info, | 
| 70       RequestPriority priority, | 70       RequestPriority priority, | 
| 71       const SSLConfig& server_ssl_config, | 71       const SSLConfig& server_ssl_config, | 
| 72       const SSLConfig& proxy_ssl_config, | 72       const SSLConfig& proxy_ssl_config, | 
| 73       HttpStreamRequest::Delegate* delegate, | 73       HttpStreamRequest::Delegate* delegate, | 
| 74       WebSocketHandshakeStreamBase::CreateHelper* create_helper, | 74       WebSocketHandshakeStreamBase::CreateHelper* create_helper, | 
| 75       const BoundNetLog& net_log); | 75       const BoundNetLog& net_log); | 
| 76 | 76 | 
| 77   AlternativeServiceVector GetAlternativeServicesFor( | 77   AlternativeService GetAlternativeServiceFor( | 
| 78       const GURL& original_url, | 78       const HttpRequestInfo& request_info, | 
| 79       HttpStreamRequest::Delegate* delegate); | 79       HttpStreamRequest::Delegate* delegate); | 
| 80 | 80 | 
| 81   // Detaches |job| from |request|. | 81   // Detaches |job| from |request|. | 
| 82   void OrphanJob(Job* job, const Request* request); | 82   void OrphanJob(Job* job, const Request* request); | 
| 83 | 83 | 
| 84   // Called when a SpdySession is ready. It will find appropriate Requests and | 84   // Called when a SpdySession is ready. It will find appropriate Requests and | 
| 85   // fulfill them. |direct| indicates whether or not |spdy_session| uses a | 85   // fulfill them. |direct| indicates whether or not |spdy_session| uses a | 
| 86   // proxy. | 86   // proxy. | 
| 87   void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session, | 87   void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session, | 
| 88                              bool direct, | 88                              bool direct, | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 128   // deleted when the factory is destroyed. | 128   // deleted when the factory is destroyed. | 
| 129   std::set<const Job*> preconnect_job_set_; | 129   std::set<const Job*> preconnect_job_set_; | 
| 130 | 130 | 
| 131   const bool for_websockets_; | 131   const bool for_websockets_; | 
| 132   DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); | 132   DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); | 
| 133 }; | 133 }; | 
| 134 | 134 | 
| 135 }  // namespace net | 135 }  // namespace net | 
| 136 | 136 | 
| 137 #endif  // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 137 #endif  // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 
| OLD | NEW | 
|---|