Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Unified Diff: content/worker/websharedworkerclient_proxy.h

Issue 411283002: Remove disable-embedded-shared-worker flag and shared worker process related codes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/worker/websharedworker_stub.cc ('k') | content/worker/websharedworkerclient_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/websharedworkerclient_proxy.h
diff --git a/content/worker/websharedworkerclient_proxy.h b/content/worker/websharedworkerclient_proxy.h
deleted file mode 100644
index beb3086d756a5a87f19fcc59c27e7effbccceef0..0000000000000000000000000000000000000000
--- a/content/worker/websharedworkerclient_proxy.h
+++ /dev/null
@@ -1,75 +0,0 @@
-// Copyright (c) 2012 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 CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_
-#define CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_
-
-#include "base/basictypes.h"
-#include "base/memory/weak_ptr.h"
-#include "ipc/ipc_channel.h"
-#include "third_party/WebKit/public/web/WebSharedWorkerClient.h"
-
-namespace blink {
-class WebApplicationCacheHost;
-class WebApplicationCacheHostClient;
-class WebFrame;
-class WebSecurityOrigin;
-}
-
-namespace content {
-
-class SharedWorkerDevToolsAgent;
-class WebSharedWorkerStub;
-class WorkerWebApplicationCacheHostImpl;
-
-// This class receives IPCs from the renderer and calls the WebCore::Worker
-// implementation (after the data types have been converted by glue code). It
-// is also called by the worker code and converts these function calls into
-// IPCs that are sent to the renderer, where they're converted back to function
-// calls by WebWorkerProxy.
-class WebSharedWorkerClientProxy : public blink::WebSharedWorkerClient {
- public:
- WebSharedWorkerClientProxy(int route_id, WebSharedWorkerStub* stub);
- virtual ~WebSharedWorkerClientProxy();
-
- // WebSharedWorkerClient implementation.
- virtual void workerContextClosed();
- virtual void workerContextDestroyed();
- virtual void workerScriptLoaded();
- virtual void workerScriptLoadFailed();
- virtual void selectAppCacheID(long long app_cache_id);
-
- virtual blink::WebNotificationPresenter* notificationPresenter();
-
- virtual blink::WebApplicationCacheHost* createApplicationCacheHost(
- blink::WebApplicationCacheHostClient* client);
- virtual blink::WebWorkerPermissionClientProxy*
- createWorkerPermissionClientProxy(
- const blink::WebSecurityOrigin& origin);
-
- virtual void dispatchDevToolsMessage(const blink::WebString&);
- virtual void saveDevToolsAgentState(const blink::WebString&);
-
- void EnsureWorkerContextTerminates();
-
- void set_devtools_agent(SharedWorkerDevToolsAgent* devtools_agent) {
- devtools_agent_ = devtools_agent;
- }
-
- private:
- bool Send(IPC::Message* message);
-
- int route_id_;
- int appcache_host_id_;
- WebSharedWorkerStub* stub_;
- base::WeakPtrFactory<WebSharedWorkerClientProxy> weak_factory_;
- SharedWorkerDevToolsAgent* devtools_agent_;
- WorkerWebApplicationCacheHostImpl* app_cache_host_;
-
- DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerClientProxy);
-};
-
-} // namespace content
-
-#endif // CONTENT_WORKER_WEBWORKERCLIENT_PROXY_H_
« no previous file with comments | « content/worker/websharedworker_stub.cc ('k') | content/worker/websharedworkerclient_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698