Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: chromecast/shell/browser/url_request_context_factory.h

Issue 490603002: Chromecast: initial checkin of Android-based cast shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added android DEPS (git cl presubmit doesn't check Java DEPS?) Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_SHELL_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ 5 #ifndef CHROMECAST_SHELL_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_
6 #define CHROMECAST_SHELL_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ 6 #define CHROMECAST_SHELL_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 ProxyConfigService;
14 class URLRequestJobFactory; 15 class URLRequestJobFactory;
15 } // namespace net 16 } // namespace net
16 17
17 namespace chromecast { 18 namespace chromecast {
18 namespace shell { 19 namespace shell {
19 20
20 class URLRequestContextFactory { 21 class URLRequestContextFactory {
21 public: 22 public:
22 URLRequestContextFactory(); 23 URLRequestContextFactory();
23 ~URLRequestContextFactory(); 24 ~URLRequestContextFactory();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // The URLRequestContextStorage class is not used as owner to these objects 77 // The URLRequestContextStorage class is not used as owner to these objects
77 // since they are shared between the different URLRequestContexts. 78 // since they are shared between the different URLRequestContexts.
78 // The URLRequestContextStorage class manages dependent resources for a single 79 // The URLRequestContextStorage class manages dependent resources for a single
79 // instance of URLRequestContext only. 80 // instance of URLRequestContext only.
80 bool system_dependencies_initialized_; 81 bool system_dependencies_initialized_;
81 scoped_ptr<net::HostResolver> host_resolver_; 82 scoped_ptr<net::HostResolver> host_resolver_;
82 scoped_ptr<net::ChannelIDService> channel_id_service_; 83 scoped_ptr<net::ChannelIDService> channel_id_service_;
83 scoped_ptr<net::CertVerifier> cert_verifier_; 84 scoped_ptr<net::CertVerifier> cert_verifier_;
84 scoped_refptr<net::SSLConfigService> ssl_config_service_; 85 scoped_refptr<net::SSLConfigService> ssl_config_service_;
85 scoped_ptr<net::TransportSecurityState> transport_security_state_; 86 scoped_ptr<net::TransportSecurityState> transport_security_state_;
87 scoped_ptr<net::ProxyConfigService> proxy_config_service_;
86 scoped_ptr<net::ProxyService> proxy_service_; 88 scoped_ptr<net::ProxyService> proxy_service_;
87 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory_; 89 scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory_;
88 scoped_ptr<net::HttpServerProperties> http_server_properties_; 90 scoped_ptr<net::HttpServerProperties> http_server_properties_;
89 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings_; 91 scoped_ptr<net::HttpUserAgentSettings> http_user_agent_settings_;
90 scoped_ptr<net::HttpTransactionFactory> system_transaction_factory_; 92 scoped_ptr<net::HttpTransactionFactory> system_transaction_factory_;
91 93
92 bool main_dependencies_initialized_; 94 bool main_dependencies_initialized_;
93 scoped_ptr<net::HttpTransactionFactory> main_transaction_factory_; 95 scoped_ptr<net::HttpTransactionFactory> main_transaction_factory_;
94 scoped_ptr<net::URLRequestJobFactory> main_job_factory_; 96 scoped_ptr<net::URLRequestJobFactory> main_job_factory_;
95 97
96 bool media_dependencies_initialized_; 98 bool media_dependencies_initialized_;
97 scoped_ptr<net::HttpTransactionFactory> media_transaction_factory_; 99 scoped_ptr<net::HttpTransactionFactory> media_transaction_factory_;
98 }; 100 };
99 101
100 } // namespace shell 102 } // namespace shell
101 } // namespace chromecast 103 } // namespace chromecast
102 104
103 #endif // CHROMECAST_SHELL_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_ 105 #endif // CHROMECAST_SHELL_BROWSER_URL_REQUEST_CONTEXT_FACTORY_H_
OLDNEW
« no previous file with comments | « chromecast/shell/browser/cast_http_user_agent_settings.cc ('k') | chromecast/shell/browser/url_request_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698