diff options
author | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 01:28:49 +0000 |
---|---|---|
committer | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 01:28:49 +0000 |
commit | 0791d3a25978f15adfe3ddc073850f7ce2bd158e (patch) | |
tree | 857cf4f343edff2ea739571384246af4c7cbc4ae /chrome/renderer/webworker_base.h | |
parent | 26426a2af6a18a8e29bdf1eb09bee9f073304d1b (diff) | |
download | chromium_src-0791d3a25978f15adfe3ddc073850f7ce2bd158e.zip chromium_src-0791d3a25978f15adfe3ddc073850f7ce2bd158e.tar.gz chromium_src-0791d3a25978f15adfe3ddc073850f7ce2bd158e.tar.bz2 |
Refactored code to allow associating workers with multiple renderers.
SharedWorkers now gracefully handle http auth requests after their
initial window has closed.
BUG=27660
TEST=WorkerHttpAuth,SharedWorkerHttpAuth uitests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=36888
Reverted and reopened due to valgrind failures.
Review URL: http://codereview.chromium.org/509016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webworker_base.h')
-rw-r--r-- | chrome/renderer/webworker_base.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/renderer/webworker_base.h b/chrome/renderer/webworker_base.h index fe5becc..6c031c8 100644 --- a/chrome/renderer/webworker_base.h +++ b/chrome/renderer/webworker_base.h @@ -20,6 +20,7 @@ class GURL; class WebWorkerBase : public IPC::Channel::Listener { public: WebWorkerBase(ChildThread* child_thread, + unsigned long long document_id, int route_id, int render_view_route_id); @@ -61,6 +62,10 @@ class WebWorkerBase : public IPC::Channel::Listener { ChildThread* child_thread_; private: + // ID of our parent document (used to shutdown workers when the parent + // document is detached). + unsigned long long document_id_; + // Stores messages that were sent before the StartWorkerContext message. std::vector<IPC::Message*> queued_messages_; }; |