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

Unified Diff: mojo/public/cpp/application/service_connector.h

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 | « mojo/public/cpp/application/run_application.h ('k') | mojo/public/cpp/application/service_provider_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/service_connector.h
diff --git a/mojo/public/cpp/application/service_connector.h b/mojo/public/cpp/application/service_connector.h
deleted file mode 100644
index 8b919b3e3d36bf37a455973e2b98e11bd773fa49..0000000000000000000000000000000000000000
--- a/mojo/public/cpp/application/service_connector.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2015 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 MOJO_PUBLIC_APPLICATION_SERVICE_CONNECTOR_H_
-#define MOJO_PUBLIC_APPLICATION_SERVICE_CONNECTOR_H_
-
-#include <string>
-
-#include "mojo/public/cpp/system/message_pipe.h"
-
-namespace mojo {
-
-struct ConnectionContext;
-
-// |ServiceConnector| is the generic, type-unsafe interface for objects used by
-// |ServiceProviderImpl| to connect generic "interface requests" (i.e., just
-// message pipes) specified by service name to service implementations.
-class ServiceConnector {
- public:
- virtual ~ServiceConnector() {}
-
- // Connects to the |ServiceConnector|'s service (if the |ServiceConnector|
- // wishes to refuse the connection, it should simply drop |handle|).
- virtual void ConnectToService(const ConnectionContext& connection_context,
- ScopedMessagePipeHandle handle) = 0;
-};
-
-} // namespace mojo
-
-#endif // MOJO_PUBLIC_APPLICATION_SERVICE_CONNECTOR_H_
« no previous file with comments | « mojo/public/cpp/application/run_application.h ('k') | mojo/public/cpp/application/service_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698