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

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

Issue 2166953006: Eliminate FrameMojoShell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « content/renderer/render_frame_impl.cc ('k') | no next file » | 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 1c78c7a121b389b9936be1c86076a142c48a55a4..fdcb60b3ef1537bba489ccab7054af0bee2cb992 100644
--- a/services/shell/public/cpp/connection.h
+++ b/services/shell/public/cpp/connection.h
@@ -90,6 +90,10 @@ class Connection {
void GetInterface(mojo::InterfacePtr<Interface>* ptr) {
GetRemoteInterfaces()->GetInterface(ptr);
}
+ template <typename Interface>
+ void GetInterface(mojo::InterfaceRequest<Interface> request) {
+ GetRemoteInterfaces()->GetInterface(std::move(request));
+ }
// Returns true if the remote application has the specified capability class
// specified in its manifest. Only valid for inbound connections. Will return
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698