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

Unified Diff: services/shell/public/cpp/connection.h

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
Patch Set: . Created 4 years, 6 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 | « services/shell/public/cpp/BUILD.gn ('k') | services/shell/public/cpp/interface_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/connection.h
diff --git a/services/shell/public/cpp/connection.h b/services/shell/public/cpp/connection.h
index 22980a7d149e3d187209b8880fda7b72c97e084a..bcab49e19f4d2589bccaea4a064e2ec4a9ce1d50 100644
--- a/services/shell/public/cpp/connection.h
+++ b/services/shell/public/cpp/connection.h
@@ -14,15 +14,15 @@
#include "base/memory/weak_ptr.h"
#include "services/shell/public/cpp/connect.h"
#include "services/shell/public/cpp/identity.h"
+#include "services/shell/public/cpp/interface_provider.h"
#include "services/shell/public/cpp/interface_registry.h"
-#include "services/shell/public/cpp/remote_interface_registry.h"
#include "services/shell/public/interfaces/connector.mojom.h"
#include "services/shell/public/interfaces/interface_provider.mojom.h"
namespace shell {
class InterfaceBinder;
-class RemoteInterfaceRegistry;
+class InterfaceProvider;
// Represents a connection to another application. An instance of this class is
// returned from Shell's ConnectToApplication(), and passed to ShellClient's
@@ -89,7 +89,7 @@ class Connection {
// interface.
template <typename Interface>
void GetInterface(mojo::InterfacePtr<Interface>* ptr) {
- GetRemoteInterfaceRegistry()->GetInterface(ptr);
+ GetRemoteInterfaces()->GetInterface(ptr);
}
// Returns true if the remote application has the specified capability class
@@ -150,7 +150,7 @@ class Connection {
virtual InterfaceRegistry* GetInterfaceRegistry() = 0;
// Returns an object encapsulating a remote InterfaceProvider.
- virtual RemoteInterfaceRegistry* GetRemoteInterfaceRegistry() = 0;
+ virtual InterfaceProvider* GetRemoteInterfaces() = 0;
virtual base::WeakPtr<Connection> GetWeakPtr() = 0;
};
« no previous file with comments | « services/shell/public/cpp/BUILD.gn ('k') | services/shell/public/cpp/interface_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698