Index: content/renderer/mojo/blink_service_registry_impl.h |
diff --git a/content/renderer/mojo/blink_service_registry_impl.h b/content/renderer/mojo/blink_service_registry_impl.h |
deleted file mode 100644 |
index 2fc08ae35f3e829ec6e6a2d4188fad49309cce0e..0000000000000000000000000000000000000000 |
--- a/content/renderer/mojo/blink_service_registry_impl.h |
+++ /dev/null |
@@ -1,48 +0,0 @@ |
-// Copyright 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_MOJO_BLINK_SERVICE_REGISTRY_IMPL_H_ |
-#define CONTENT_RENDERER_MOJO_BLINK_SERVICE_REGISTRY_IMPL_H_ |
- |
-#include "base/macros.h" |
-#include "base/memory/ref_counted.h" |
-#include "base/memory/weak_ptr.h" |
-#include "mojo/public/cpp/system/message_pipe.h" |
-#include "third_party/WebKit/public/platform/ServiceRegistry.h" |
- |
-namespace base { |
-class SingleThreadTaskRunner; |
-} |
- |
-namespace shell { |
-class InterfaceProvider; |
-} |
- |
-namespace content { |
- |
-// An implementation of blink::ServiceRegistry that forwards to a |
-// shell::InterfaceProvider. |
-class BlinkServiceRegistryImpl : public blink::ServiceRegistry { |
- public: |
- explicit BlinkServiceRegistryImpl( |
- base::WeakPtr<shell::InterfaceProvider> remote_interfaces); |
- ~BlinkServiceRegistryImpl(); |
- |
- // blink::ServiceRegistry override. |
- void connectToRemoteService(const char* name, |
- mojo::ScopedMessagePipeHandle handle) override; |
- |
- private: |
- const base::WeakPtr<shell::InterfaceProvider> remote_interfaces_; |
- |
- scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
- |
- base::WeakPtrFactory<BlinkServiceRegistryImpl> weak_ptr_factory_; |
- |
- DISALLOW_COPY_AND_ASSIGN(BlinkServiceRegistryImpl); |
-}; |
- |
-} // namespace content |
- |
-#endif // CONTENT_RENDERER_MOJO_BLINK_SERVICE_REGISTRY_IMPL_H_ |