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/content_browser_client.h" | 8 #include "content/public/browser/content_browser_client.h" |
9 #include "net/http/http_network_session.h" | 9 #include "net/http/http_network_session.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 class HttpTransactionFactory; | 12 class HttpTransactionFactory; |
13 class HttpUserAgentSettings; | 13 class HttpUserAgentSettings; |
14 class NetLog; | |
14 class ProxyConfigService; | 15 class ProxyConfigService; |
15 class URLRequestJobFactory; | 16 class URLRequestJobFactory; |
16 } // namespace net | 17 } // namespace net |
17 | 18 |
18 namespace chromecast { | 19 namespace chromecast { |
19 namespace shell { | 20 namespace shell { |
20 class CastNetworkDelegate; | 21 class CastNetworkDelegate; |
21 | 22 |
22 class URLRequestContextFactory { | 23 class URLRequestContextFactory { |
23 public: | 24 public: |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
106 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings_; | 107 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings_; |
107 scoped_ptr<net::HttpTransactionFactory> system_transaction_factory_; | 108 scoped_ptr<net::HttpTransactionFactory> system_transaction_factory_; |
108 scoped_ptr<net::URLRequestJobFactory> system_job_factory_; | 109 scoped_ptr<net::URLRequestJobFactory> system_job_factory_; |
109 | 110 |
110 bool main_dependencies_initialized_; | 111 bool main_dependencies_initialized_; |
111 scoped_ptr<net::HttpTransactionFactory> main_transaction_factory_; | 112 scoped_ptr<net::HttpTransactionFactory> main_transaction_factory_; |
112 scoped_ptr<net::URLRequestJobFactory> main_job_factory_; | 113 scoped_ptr<net::URLRequestJobFactory> main_job_factory_; |
113 | 114 |
114 bool media_dependencies_initialized_; | 115 bool media_dependencies_initialized_; |
115 scoped_ptr<net::HttpTransactionFactory> media_transaction_factory_; | 116 scoped_ptr<net::HttpTransactionFactory> media_transaction_factory_; |
117 | |
118 scoped_ptr<net::NetLog> net_log_; | |
lcwu1
2015/06/26 04:30:26
Any reason why you don'y want to create the NetLog
derekjchow1
2015/06/26 17:58:53
Done.
| |
116 }; | 119 }; |
117 | 120 |
118 } // namespace shell | 121 } // namespace shell |
119 } // namespace chromecast | 122 } // namespace chromecast |
120 | 123 |
121 #endif // CHROMECAST_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ | 124 #endif // CHROMECAST_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ |
OLD | NEW |