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

Unified Diff: mojo/public/cpp/application/application_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 | « mojo/gpu/gl_context.cc ('k') | mojo/public/cpp/application/connect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/application_impl.h
diff --git a/mojo/public/cpp/application/application_impl.h b/mojo/public/cpp/application/application_impl.h
index b0840063d8d7075f1d0be0fcee06ac892cdfed7c..acbde1fcb0c1239c4a2306d2c532d34d230cd7de 100644
--- a/mojo/public/cpp/application/application_impl.h
+++ b/mojo/public/cpp/application/application_impl.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_PUBLIC_APPLICATION_APPLICATION_IMPL_H_
-#define MOJO_PUBLIC_APPLICATION_APPLICATION_IMPL_H_
+#ifndef MOJO_PUBLIC_CPP_APPLICATION_APPLICATION_IMPL_H_
+#define MOJO_PUBLIC_CPP_APPLICATION_APPLICATION_IMPL_H_
#include <memory>
#include <string>
@@ -91,12 +91,12 @@ class ApplicationImpl : public Application {
ShellPtr* shell);
// |Application| implementation.
- void Initialize(ShellPtr shell,
+ void Initialize(InterfaceHandle<Shell> shell,
Array<String> args,
const mojo::String& url) override;
void AcceptConnection(const String& requestor_url,
InterfaceRequest<ServiceProvider> services,
- ServiceProviderPtr exposed_services,
+ InterfaceHandle<ServiceProvider> exposed_services,
const String& url) override;
void RequestQuit() override;
@@ -116,4 +116,4 @@ class ApplicationImpl : public Application {
} // namespace mojo
-#endif // MOJO_PUBLIC_APPLICATION_APPLICATION_IMPL_H_
+#endif // MOJO_PUBLIC_CPP_APPLICATION_APPLICATION_IMPL_H_
« no previous file with comments | « mojo/gpu/gl_context.cc ('k') | mojo/public/cpp/application/connect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698