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

Unified Diff: content/browser/service_worker/embedded_worker_test_helper.h

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Eliminate unnecessary PostTask Created 3 years, 10 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
Index: content/browser/service_worker/embedded_worker_test_helper.h
diff --git a/content/browser/service_worker/embedded_worker_test_helper.h b/content/browser/service_worker/embedded_worker_test_helper.h
index fe94ff1a2eea7240bde5b9d42c6df01cff386cd2..768e571c5ca5eccd3e236217b25ac6972776fa94 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.h
+++ b/content/browser/service_worker/embedded_worker_test_helper.h
@@ -37,7 +37,6 @@ namespace content {
class EmbeddedWorkerRegistry;
class EmbeddedWorkerTestHelper;
-class MessagePortMessageFilter;
class MockRenderProcessHost;
class ServiceWorkerContextCore;
class ServiceWorkerContextWrapper;
@@ -246,8 +245,6 @@ class EmbeddedWorkerTestHelper : public IPC::Sender,
const mojom::ServiceWorkerEventDispatcher::
DispatchPaymentRequestEventCallback& callback);
- MessagePortMessageFilter* NewMessagePortMessageFilter();
-
std::unique_ptr<service_manager::InterfaceRegistry> CreateInterfaceRegistry(
MockRenderProcessHost* rph);
@@ -280,9 +277,6 @@ class EmbeddedWorkerTestHelper : public IPC::Sender,
// Updated each time MessageToWorker message is received.
int current_embedded_worker_id_;
- std::vector<scoped_refptr<MessagePortMessageFilter>>
- message_port_message_filters_;
-
base::WeakPtrFactory<EmbeddedWorkerTestHelper> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerTestHelper);

Powered by Google App Engine
This is Rietveld 408576698