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

Unified Diff: content/renderer/service_worker/embedded_worker_instance_client_impl.h

Issue 2381513002: Revert of ServiceWorker: Implement StartWorker by using mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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/renderer/service_worker/embedded_worker_instance_client_impl.h
diff --git a/content/renderer/service_worker/embedded_worker_instance_client_impl.h b/content/renderer/service_worker/embedded_worker_instance_client_impl.h
deleted file mode 100644
index 893ae1d14087a6247435967ea978a986017868dc..0000000000000000000000000000000000000000
--- a/content/renderer/service_worker/embedded_worker_instance_client_impl.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2016 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_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_INSTANCE_CLIENT_IMPL_H_
-#define CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_INSTANCE_CLIENT_IMPL_H_
-
-#include "base/id_map.h"
-#include "content/common/service_worker/embedded_worker.mojom.h"
-#include "content/renderer/service_worker/embedded_worker_dispatcher.h"
-
-namespace content {
-
-class EmbeddedWorkerInstanceClientImpl
- : public mojom::EmbeddedWorkerInstanceClient {
- public:
- static void Create(
- EmbeddedWorkerDispatcher* dispatcher,
- mojo::InterfaceRequest<mojom::EmbeddedWorkerInstanceClient> request);
-
- explicit EmbeddedWorkerInstanceClientImpl(
- EmbeddedWorkerDispatcher* dispatcher);
- ~EmbeddedWorkerInstanceClientImpl() override;
-
- // Implementation of mojo interface
- void StartWorker(const EmbeddedWorkerStartParams& params) override;
-
- private:
- EmbeddedWorkerDispatcher* dispatcher_;
-
- EmbeddedWorkerDispatcher::WorkerWrapper* wrapper_;
-
- DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerInstanceClientImpl);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_INSTANCE_CLIENT_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698