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 /chrome/service | |
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 'chrome/service')
-rw-r--r-- | chrome/service/cloud_print/cloud_print_url_fetcher.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/service/cloud_print/cloud_print_url_fetcher.cc b/chrome/service/cloud_print/cloud_print_url_fetcher.cc index b19a7c2..137fa7e 100644 --- a/chrome/service/cloud_print/cloud_print_url_fetcher.cc +++ b/chrome/service/cloud_print/cloud_print_url_fetcher.cc @@ -124,7 +124,8 @@ void CloudPrintURLFetcher::OnURLFetchComplete( // reached. Try again. Set up the request headers again because the token // may have changed. SetupRequestHeaders(); - request_->StartWithRequestContextGetter(GetRequestContextGetter()); + request_->SetRequestContext(GetRequestContextGetter()); + request_->Start(); } } } |