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

Unified Diff: content/public/common/service_manager_connection.h

Issue 2820883002: Eliminate ChildThread InterfaceRegistry. (Closed)
Patch Set: . Created 3 years, 8 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/public/common/service_manager_connection.h
diff --git a/content/public/common/service_manager_connection.h b/content/public/common/service_manager_connection.h
index 5e5378cd73b86438417db7a9d7b25f71b80ceaf1..674cf2da29eb7d085f483fc2dc54a4835b8e4b69 100644
--- a/content/public/common/service_manager_connection.h
+++ b/content/public/common/service_manager_connection.h
@@ -15,10 +15,7 @@
#include "services/service_manager/public/interfaces/service.mojom.h"
namespace service_manager {
-class Connection;
class Connector;
-class InterfaceProvider;
-class InterfaceRegistry;
}
namespace content {
@@ -92,22 +89,6 @@ class CONTENT_EXPORT ServiceManagerConnection {
// run immediately before returning from this function.
virtual void SetConnectionLostClosure(const base::Closure& closure) = 0;
- // Provides an InterfaceRegistry to forward incoming interface requests to
- // on the ServiceManagerConnection's own thread if they aren't bound by the
- // connection's internal InterfaceRegistry on the IO thread.
- //
- // Also configures |interface_provider| to forward all of its outgoing
- // interface requests to the connection's internal remote interface provider.
- //
- // Note that neither |interface_registry| or |interface_provider| is owned
- // and both MUST outlive the ServiceManagerConnection.
- //
- // TODO(rockot): Remove this. It's a temporary solution to avoid porting all
- // relevant code to ConnectionFilters at once.
- virtual void SetupInterfaceRequestProxies(
- service_manager::InterfaceRegistry* registry,
- service_manager::InterfaceProvider* provider) = 0;
-
static const int kInvalidConnectionFilterId = 0;
// Allows the caller to filter inbound connections and/or expose interfaces

Powered by Google App Engine
This is Rietveld 408576698