diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-25 22:05:14 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-25 22:05:14 +0000 |
commit | 1f291cd57a56e70369dc2e47e3d4be6102254102 (patch) | |
tree | 39f02a836e501f01967e46917303af0fbe785ae0 /content/browser/loader/certificate_resource_handler.h | |
parent | 0cb485cc68f91d337534372ebfd5d3a6b24ce7c3 (diff) | |
download | chromium_src-1f291cd57a56e70369dc2e47e3d4be6102254102.zip chromium_src-1f291cd57a56e70369dc2e47e3d4be6102254102.tar.gz chromium_src-1f291cd57a56e70369dc2e47e3d4be6102254102.tar.bz2 |
Make ResourceHandlers stateless with respect to child/routing/request IDs.
This lets us transfer an existing handler chain to a new process.
BUG=238331
TEST=Follow a link that redirects to the Chrome Web Store.
R=ajwong@chromium.org, darin@chromium.org, mpcomplete@chromium.org
Review URL: https://codereview.chromium.org/23180005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/loader/certificate_resource_handler.h')
-rw-r--r-- | content/browser/loader/certificate_resource_handler.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/content/browser/loader/certificate_resource_handler.h b/content/browser/loader/certificate_resource_handler.h index b1bd8f4..12a7f67 100644 --- a/content/browser/loader/certificate_resource_handler.h +++ b/content/browser/loader/certificate_resource_handler.h @@ -31,9 +31,7 @@ namespace content { // class CertificateResourceHandler : public ResourceHandler { public: - CertificateResourceHandler(net::URLRequest* request, - int render_process_host_id, - int render_view_id); + explicit CertificateResourceHandler(net::URLRequest* request); virtual ~CertificateResourceHandler(); virtual bool OnUploadProgress(int request_id, @@ -87,10 +85,6 @@ class CertificateResourceHandler : public ResourceHandler { ContentVector buffer_; scoped_refptr<net::IOBuffer> read_buffer_; scoped_refptr<net::IOBuffer> resource_buffer_; // Downloaded certificate. - // The id of the |RenderProcessHost| which started the download. - int render_process_host_id_; - // The id of the |RenderView| which started the download. - int render_view_id_; net::CertificateMimeType cert_type_; DISALLOW_COPY_AND_ASSIGN(CertificateResourceHandler); }; |