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

Unified Diff: shell/application_manager/shell_impl.h

Issue 1682113003: Mojo C++ bindings: Generate InterfaceHandle<> instead of InterfacePtr<>. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase ontop of master, address trung's comments 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 | « shell/application_manager/application_manager.cc ('k') | shell/application_manager/shell_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/shell_impl.h
diff --git a/shell/application_manager/shell_impl.h b/shell/application_manager/shell_impl.h
index 0fa93ca6620e3739b320d45a4a433c010d68779c..c8af66b95b5f890c0588f2715a728217ce9a7c3a 100644
--- a/shell/application_manager/shell_impl.h
+++ b/shell/application_manager/shell_impl.h
@@ -35,10 +35,11 @@ class ShellImpl : public mojo::Shell {
void InitializeApplication(mojo::Array<mojo::String> args);
- void ConnectToClient(const GURL& requested_url,
- const GURL& requestor_url,
- mojo::InterfaceRequest<mojo::ServiceProvider> services,
- mojo::ServiceProviderPtr exposed_services);
+ void ConnectToClient(
+ const GURL& requested_url,
+ const GURL& requestor_url,
+ mojo::InterfaceRequest<mojo::ServiceProvider> services,
+ mojo::InterfaceHandle<mojo::ServiceProvider> exposed_services);
mojo::Application* application() { return application_.get(); }
const Identity& identity() const { return identity_; }
@@ -54,7 +55,7 @@ class ShellImpl : public mojo::Shell {
void ConnectToApplication(
const mojo::String& app_url,
mojo::InterfaceRequest<mojo::ServiceProvider> services,
- mojo::ServiceProviderPtr exposed_services) override;
+ mojo::InterfaceHandle<mojo::ServiceProvider> exposed_services) override;
void Duplicate(mojo::InterfaceRequest<mojo::ApplicationConnector>
application_connector_request) override;
@@ -69,7 +70,7 @@ class ShellImpl : public mojo::Shell {
void ConnectToApplication(
const mojo::String& app_url,
mojo::InterfaceRequest<mojo::ServiceProvider> services,
- mojo::ServiceProviderPtr exposed_services) override;
+ mojo::InterfaceHandle<mojo::ServiceProvider> exposed_services) override;
void CreateApplicationConnector(
mojo::InterfaceRequest<mojo::ApplicationConnector>
application_connector_request) override;
« no previous file with comments | « shell/application_manager/application_manager.cc ('k') | shell/application_manager/shell_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698