| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_H_ |
| 6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_ | 6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 | 11 |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
| 14 #include "net/base/host_mapping_rules.h" | 14 #include "net/base/host_mapping_rules.h" |
| 15 #include "net/base/ssl_config_service.h" | 15 #include "net/base/ssl_config_service.h" |
| 16 #include "net/http/http_auth.h" | 16 #include "net/http/http_auth.h" |
| 17 #include "net/http/http_auth_controller.h" | 17 #include "net/http/http_auth_controller.h" |
| 18 #include "net/http/stream_factory.h" | 18 #include "net/http/stream_factory.h" |
| 19 #include "net/proxy/proxy_service.h" | 19 #include "net/proxy/proxy_service.h" |
| 20 #include "net/socket/client_socket_handle.h" | 20 #include "net/socket/client_socket_handle.h" |
| 21 | 21 |
| 22 | 22 |
| 23 namespace net { | 23 namespace net { |
| 24 | 24 |
| 25 class ClientSocketHandle; | |
| 26 class HttpAuthController; | |
| 27 class HttpNetworkSession; | 25 class HttpNetworkSession; |
| 28 class HttpStreamRequest; | |
| 29 | 26 |
| 30 class HttpStreamFactory : public StreamFactory, | 27 class HttpStreamFactory : public StreamFactory, |
| 31 public base::RefCounted<HttpStreamFactory> { | 28 public base::RefCounted<HttpStreamFactory> { |
| 32 public: | 29 public: |
| 33 HttpStreamFactory(); | 30 HttpStreamFactory(); |
| 34 virtual ~HttpStreamFactory(); | 31 virtual ~HttpStreamFactory(); |
| 35 | 32 |
| 36 // StreamFactory Interface | 33 // StreamFactory Interface |
| 37 virtual void RequestStream(const HttpRequestInfo* info, | 34 virtual void RequestStream(const HttpRequestInfo* info, |
| 38 SSLConfig* ssl_config, | 35 SSLConfig* ssl_config, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 static bool force_spdy_always_; | 101 static bool force_spdy_always_; |
| 105 static bool ignore_certificate_errors_; | 102 static bool ignore_certificate_errors_; |
| 106 | 103 |
| 107 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); | 104 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); |
| 108 }; | 105 }; |
| 109 | 106 |
| 110 } // namespace net | 107 } // namespace net |
| 111 | 108 |
| 112 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ | 109 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ |
| 113 | 110 |
| OLD | NEW |