diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-16 02:16:44 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-16 02:16:44 +0000 |
commit | a59fa04b5937c382b8f49c479d8b021d28e19b3e (patch) | |
tree | 46ec83b9be8eafa257cdce13a4ec5d4fa4f4c4a3 /content/shell | |
parent | 2b0deb75161802f8ed5a3838448366e404d0d51d (diff) | |
download | chromium_src-a59fa04b5937c382b8f49c479d8b021d28e19b3e.zip chromium_src-a59fa04b5937c382b8f49c479d8b021d28e19b3e.tar.gz chromium_src-a59fa04b5937c382b8f49c479d8b021d28e19b3e.tar.bz2 |
Get the content shell to paint!
BUG=90445
Review URL: http://codereview.chromium.org/7920003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101438 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell')
-rw-r--r-- | content/shell/shell_browser_context.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc index 34d8df4..41cd0fc 100644 --- a/content/shell/shell_browser_context.cc +++ b/content/shell/shell_browser_context.cc @@ -22,10 +22,11 @@ #include "content/browser/ssl/ssl_host_state.h" #include "content/shell/shell_browser_main.h" #include "net/base/cert_verifier.h" +#include "net/base/cookie_monster.h" #include "net/base/default_origin_bound_cert_store.h" #include "net/base/dnsrr_resolver.h" #include "net/base/host_resolver.h" -#include "net/http/http_auth_handler_factory.h" +#include "net/http/http_auth_handler_factory.gh" #include "net/http/http_cache.h" #include "net/base/origin_bound_cert_service.h" #include "net/base/ssl_config_service_defaults.h" @@ -118,6 +119,9 @@ class ShellURLRequestContextGetter : public net::URLRequestContextGetter { main_backend); main_http_factory_.reset(main_cache); + scoped_refptr<net::CookieStore> cookie_store = + new net::CookieMonster(NULL, NULL); + url_request_context_ = new net::URLRequestContext(); job_factory_.reset(new net::URLRequestJobFactory); url_request_context_->set_job_factory(job_factory_.get()); @@ -126,6 +130,7 @@ class ShellURLRequestContextGetter : public net::URLRequestContextGetter { origin_bound_cert_service_.get()); url_request_context_->set_dnsrr_resolver(dnsrr_resolver_.get()); url_request_context_->set_proxy_service(proxy_service_.get()); + url_request_context_->set_cookie_store(cookie_store); } return url_request_context_; |