| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ | 5 #ifndef CHROMECAST_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ |
| 6 #define CHROMECAST_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ | 6 #define CHROMECAST_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 9 |
| 8 #include "content/public/browser/browser_context.h" | 10 #include "content/public/browser/browser_context.h" |
| 9 #include "content/public/browser/content_browser_client.h" | 11 #include "content/public/browser/content_browser_client.h" |
| 10 #include "net/http/http_network_session.h" | 12 #include "net/http/http_network_session.h" |
| 11 | 13 |
| 14 class PrefProxyConfigTracker; |
| 15 |
| 12 namespace net { | 16 namespace net { |
| 13 class CookieStore; | 17 class CookieStore; |
| 14 class HttpTransactionFactory; | 18 class HttpTransactionFactory; |
| 15 class HttpUserAgentSettings; | 19 class HttpUserAgentSettings; |
| 16 class NetLog; | 20 class NetLog; |
| 17 class ProxyConfigService; | 21 class ProxyConfigService; |
| 18 class URLRequestJobFactory; | 22 class URLRequestJobFactory; |
| 19 } // namespace net | 23 } // namespace net |
| 20 | 24 |
| 21 namespace chromecast { | 25 namespace chromecast { |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 std::unique_ptr<net::URLRequestJobFactory> system_job_factory_; | 121 std::unique_ptr<net::URLRequestJobFactory> system_job_factory_; |
| 118 | 122 |
| 119 bool main_dependencies_initialized_; | 123 bool main_dependencies_initialized_; |
| 120 std::unique_ptr<net::HttpTransactionFactory> main_transaction_factory_; | 124 std::unique_ptr<net::HttpTransactionFactory> main_transaction_factory_; |
| 121 std::unique_ptr<net::CookieStore> main_cookie_store_; | 125 std::unique_ptr<net::CookieStore> main_cookie_store_; |
| 122 std::unique_ptr<net::URLRequestJobFactory> main_job_factory_; | 126 std::unique_ptr<net::URLRequestJobFactory> main_job_factory_; |
| 123 | 127 |
| 124 bool media_dependencies_initialized_; | 128 bool media_dependencies_initialized_; |
| 125 std::unique_ptr<net::HttpTransactionFactory> media_transaction_factory_; | 129 std::unique_ptr<net::HttpTransactionFactory> media_transaction_factory_; |
| 126 | 130 |
| 131 std::unique_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_impl_; |
| 132 |
| 127 // Determines if QUIC is enabled for a URLContextGetter when it is created. | 133 // Determines if QUIC is enabled for a URLContextGetter when it is created. |
| 128 // QUIC can be disabled at runtime by calling DisableQuic() above. | 134 // QUIC can be disabled at runtime by calling DisableQuic() above. |
| 129 // Only accessed on content::BrowserThread::IO thread. | 135 // Only accessed on content::BrowserThread::IO thread. |
| 130 bool enable_quic_; | 136 bool enable_quic_; |
| 131 | 137 |
| 132 net::NetLog* net_log_; | 138 net::NetLog* net_log_; |
| 133 }; | 139 }; |
| 134 | 140 |
| 135 } // namespace shell | 141 } // namespace shell |
| 136 } // namespace chromecast | 142 } // namespace chromecast |
| 137 | 143 |
| 138 #endif // CHROMECAST_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ | 144 #endif // CHROMECAST_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ |
| OLD | NEW |