summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/websharedworker_proxy.h
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 08:04:18 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 08:04:18 +0000
commitf94ead7d53296e14f1254ad1cdd4b73f3d6b9130 (patch)
tree9a69ebed813f36d6f410f5a99193c40edd6aac07 /chrome/renderer/websharedworker_proxy.h
parente796881505363ef53a4082bb0450cd169f1d8d44 (diff)
downloadchromium_src-f94ead7d53296e14f1254ad1cdd4b73f3d6b9130.zip
chromium_src-f94ead7d53296e14f1254ad1cdd4b73f3d6b9130.tar.gz
chromium_src-f94ead7d53296e14f1254ad1cdd4b73f3d6b9130.tar.bz2
Revert "Added beginnings of browser-process support for shared workers."
This reverts commit 31077. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/websharedworker_proxy.h')
-rw-r--r--chrome/renderer/websharedworker_proxy.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/chrome/renderer/websharedworker_proxy.h b/chrome/renderer/websharedworker_proxy.h
deleted file mode 100644
index 8ffe63c..0000000
--- a/chrome/renderer/websharedworker_proxy.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_RENDERER_WEBSHAREDWORKER_PROXY_H_
-#define CHROME_RENDERER_WEBSHAREDWORKER_PROXY_H_
-
-#include "base/basictypes.h"
-#include "chrome/renderer/webworker_base.h"
-#include "googleurl/src/gurl.h"
-#include "webkit/api/public/WebSharedWorker.h"
-
-class ChildThread;
-
-// Implementation of the WebSharedWorker APIs. This object is intended to only
-// live long enough to allow the caller to send a "connect" event to the worker
-// thread. Once the connect event has been sent, all future communication will
-// happen via the WebMessagePortChannel, and the WebSharedWorker instance will
-// be freed.
-class WebSharedWorkerProxy : public WebKit::WebSharedWorker,
- private WebWorkerBase {
- public:
- WebSharedWorkerProxy(ChildThread* child_thread,
- int route_id,
- int render_view_route_id);
-
- // Implementations of WebSharedWorker APIs
- virtual bool isStarted();
- virtual void connect(WebKit::WebMessagePortChannel* channel);
- virtual void startWorkerContext(const WebKit::WebURL& script_url,
- const WebKit::WebString& name,
- const WebKit::WebString& user_agent,
- const WebKit::WebString& source_code);
-
- // IPC::Channel::Listener proxyementation.
- void OnMessageReceived(const IPC::Message& message);
-
- private:
- void OnWorkerCreated();
-
- DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy);
-};
-
-#endif // CHROME_RENDERER_WEBSHAREDWORKER_PROXY_H_