summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webworker_proxy.cc
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-22 20:34:25 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-22 20:34:25 +0000
commit100a0095898381f0efb3d441a7f533ed96923042 (patch)
treee9dd922e4e4a20f2dca067e794e5b489b9bf2d2d /chrome/renderer/webworker_proxy.cc
parent6d2721fbdbddd4d35616d9b7774945a3cf42375b (diff)
downloadchromium_src-100a0095898381f0efb3d441a7f533ed96923042.zip
chromium_src-100a0095898381f0efb3d441a7f533ed96923042.tar.gz
chromium_src-100a0095898381f0efb3d441a7f533ed96923042.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 Review URL: http://codereview.chromium.org/509016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webworker_proxy.cc')
-rw-r--r--chrome/renderer/webworker_proxy.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/renderer/webworker_proxy.cc b/chrome/renderer/webworker_proxy.cc
index fdcc9f1..553a3ac 100644
--- a/chrome/renderer/webworker_proxy.cc
+++ b/chrome/renderer/webworker_proxy.cc
@@ -22,8 +22,10 @@ WebWorkerProxy::WebWorkerProxy(
WebWorkerClient* client,
ChildThread* child_thread,
int render_view_route_id)
- : WebWorkerBase(child_thread, MSG_ROUTING_NONE, render_view_route_id),
+ : WebWorkerBase(child_thread, 0, MSG_ROUTING_NONE, render_view_route_id),
client_(client) {
+ // TODO(atwilson): Change to pass in a real document_id when we support nested
+ // workers.
}
WebWorkerProxy::~WebWorkerProxy() {