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

Unified Diff: content/shell/shell_url_request_context_getter.h

Issue 8302018: Make content_shell not crash on startup. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/shell_url_request_context_getter.h
===================================================================
--- content/shell/shell_url_request_context_getter.h (revision 105613)
+++ content/shell/shell_url_request_context_getter.h (working copy)
@@ -15,15 +15,8 @@
class MessageLoop;
namespace net {
-class CertVerifier;
-class DnsRRResolver;
class HostResolver;
-class HttpAuthHandlerFactory;
-class HttpTransactionFactory;
-class ProxyService;
-class OriginBoundCertService;
-class URLRequestJobFactory;
-class URLSecurityManager;
+class URLRequestContextStorage;
}
namespace content {
@@ -42,25 +35,16 @@
virtual scoped_refptr<base::MessageLoopProxy>
GetIOMessageLoopProxy() const OVERRIDE;
- net::HostResolver* host_resolver() { return host_resolver_.get(); }
+ net::HostResolver* host_resolver();
private:
FilePath base_path_;
MessageLoop* io_loop_;
MessageLoop* file_loop_;
- scoped_ptr<net::URLRequestJobFactory> job_factory_;
scoped_refptr<net::URLRequestContext> url_request_context_;
+ scoped_ptr<net::URLRequestContextStorage> storage_;
- scoped_ptr<net::HttpTransactionFactory> main_http_factory_;
- scoped_ptr<net::HostResolver> host_resolver_;
- scoped_ptr<net::CertVerifier> cert_verifier_;
- scoped_ptr<net::OriginBoundCertService> origin_bound_cert_service_;
- scoped_ptr<net::DnsRRResolver> dnsrr_resolver_;
- scoped_ptr<net::ProxyService> proxy_service_;
- scoped_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory_;
- scoped_ptr<net::URLSecurityManager> url_security_manager_;
-
DISALLOW_COPY_AND_ASSIGN(ShellURLRequestContextGetter);
};
« no previous file with comments | « no previous file | content/shell/shell_url_request_context_getter.cc » ('j') | content/shell/shell_url_request_context_getter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698