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

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

Issue 1686223002: Move InterfaceProvider into the shell::mojom namespace like the rest of the shell interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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/shell/public/cpp/connect.h ('k') | mojo/shell/public/cpp/lib/application_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/connection.h
diff --git a/mojo/shell/public/cpp/connection.h b/mojo/shell/public/cpp/connection.h
index e35c74a61d0602fe3b31a26aef25e47b6a0fe93a..ddae4fce9847fb348f19060b8124a8e9539edf4c 100644
--- a/mojo/shell/public/cpp/connection.h
+++ b/mojo/shell/public/cpp/connection.h
@@ -79,7 +79,7 @@ class Connection {
// interface.
template <typename Interface>
void GetInterface(InterfacePtr<Interface>* ptr) {
- if (InterfaceProvider* ip = GetRemoteInterfaces()) {
+ if (shell::mojom::InterfaceProvider* ip = GetRemoteInterfaces()) {
MessagePipe pipe;
ptr->Bind(InterfacePtrInfo<Interface>(std::move(pipe.handle0), 0u));
ip->GetInterface(Interface::Name_, std::move(pipe.handle1));
@@ -104,11 +104,11 @@ class Connection {
// Returns the raw proxy to the remote application's InterfaceProvider
// interface. Most applications will just use GetInterface() instead.
// Caller does not take ownership.
- virtual InterfaceProvider* GetRemoteInterfaces() = 0;
+ virtual shell::mojom::InterfaceProvider* GetRemoteInterfaces() = 0;
// Returns the local application's InterfaceProvider interface. The return
// value is owned by this connection.
- virtual InterfaceProvider* GetLocalInterfaces() = 0;
+ virtual shell::mojom::InterfaceProvider* GetLocalInterfaces() = 0;
// Register a handler to receive an error notification on the pipe to the
// remote application's InterfaceProvider.
« no previous file with comments | « mojo/shell/public/cpp/connect.h ('k') | mojo/shell/public/cpp/lib/application_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698