diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-09 13:13:35 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-09 13:13:35 +0000 |
commit | 9c8ae8c661753f4a9eac82e0bcea016dadacf252 (patch) | |
tree | acd3fbd4b97ace520b934d4d8f72132a018dd721 /webkit/appcache/appcache_update_job.cc | |
parent | 594730f547d4b93676ec060334c49295315e392e (diff) | |
download | chromium_src-9c8ae8c661753f4a9eac82e0bcea016dadacf252.zip chromium_src-9c8ae8c661753f4a9eac82e0bcea016dadacf252.tar.gz chromium_src-9c8ae8c661753f4a9eac82e0bcea016dadacf252.tar.bz2 |
Do cookie checks in NetworkDelegate instead of the URLRequest::Delegate.
As a side effect, requests going through URLFetcher now also have to pass cookie checks. Requests from the URLFetcher can be optionally annotated with a render view, so the user can be notified about blocked cookies. This plumbing is done for the alternate nav url fetcher, and the template url fetcher.
BUG=116322
TEST=manual/pyauto
Review URL: https://chromiumcodereview.appspot.com/9572001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_update_job.cc')
-rw-r--r-- | webkit/appcache/appcache_update_job.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/appcache/appcache_update_job.cc b/webkit/appcache/appcache_update_job.cc index bd8ddc8..d7475bc 100644 --- a/webkit/appcache/appcache_update_job.cc +++ b/webkit/appcache/appcache_update_job.cc @@ -105,6 +105,7 @@ AppCacheUpdateJob::URLFetcher::~URLFetcher() { void AppCacheUpdateJob::URLFetcher::Start() { request_->set_context(job_->service_->request_context()); + request_->set_first_party_for_cookies(job_->manifest_url_); request_->set_load_flags(request_->load_flags() | net::LOAD_DISABLE_INTERCEPT); if (existing_response_headers_) |