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

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

Issue 2637743002: ServiceWorker: remove EmbeddedWorkerMsg_StartWorker (Closed)
Patch Set: rebase Created 3 years, 11 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/browser/service_worker/embedded_worker_test_helper.h ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/embedded_worker_test_helper.cc
diff --git a/content/browser/service_worker/embedded_worker_test_helper.cc b/content/browser/service_worker/embedded_worker_test_helper.cc
index cadcdf5ac16d7ae68e8a20054cbbf6ae6558344a..6fefac077323ca2bc9014f16f3a86b2f49a64ebb 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.cc
+++ b/content/browser/service_worker/embedded_worker_test_helper.cc
@@ -20,7 +20,6 @@
#include "content/browser/service_worker/service_worker_context_core.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
#include "content/common/service_worker/embedded_worker_messages.h"
-#include "content/common/service_worker/embedded_worker_setup.mojom.h"
#include "content/common/service_worker/embedded_worker_start_params.h"
#include "content/common/service_worker/service_worker_messages.h"
#include "content/common/service_worker/service_worker_utils.h"
@@ -58,22 +57,6 @@ class MockMessagePortMessageFilter : public MessagePortMessageFilter {
} // namespace
-class EmbeddedWorkerTestHelper::MockEmbeddedWorkerSetup
- : public mojom::EmbeddedWorkerSetup {
- public:
- static void Create(const base::WeakPtr<EmbeddedWorkerTestHelper>& helper,
- mojom::EmbeddedWorkerSetupRequest request) {
- // TODO(shimazu): Remove this mock after EmbeddedWorkerSetup is removed.
- NOTREACHED();
- }
-
- void AttachServiceWorkerEventDispatcher(
- int32_t thread_id,
- mojom::ServiceWorkerEventDispatcherRequest request) override {
- NOTREACHED();
- }
-};
-
EmbeddedWorkerTestHelper::MockEmbeddedWorkerInstanceClient::
MockEmbeddedWorkerInstanceClient(
base::WeakPtr<EmbeddedWorkerTestHelper> helper)
@@ -563,8 +546,6 @@ EmbeddedWorkerTestHelper::CreateInterfaceRegistry(MockRenderProcessHost* rph) {
auto registry =
base::MakeUnique<service_manager::InterfaceRegistry>(std::string());
registry->AddInterface(
- base::Bind(&MockEmbeddedWorkerSetup::Create, AsWeakPtr()));
- registry->AddInterface(
base::Bind(&MockEmbeddedWorkerInstanceClient::Bind, AsWeakPtr()));
service_manager::mojom::InterfaceProviderPtr interfaces;
« no previous file with comments | « content/browser/service_worker/embedded_worker_test_helper.h ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698