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