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

Unified Diff: examples/content_handler_demo/content_handler_demo.cc

Issue 845593003: Pass ServiceProvider and ServiceProvider& params in Connect (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: use nullptr instead of ServiceProviderPtr(), fix ShellImpl Created 5 years, 11 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 | « examples/bitmap_uploader/bitmap_uploader.cc ('k') | examples/ganesh_app/texture_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/content_handler_demo/content_handler_demo.cc
diff --git a/examples/content_handler_demo/content_handler_demo.cc b/examples/content_handler_demo/content_handler_demo.cc
index 12b95ff391a188ab2abbd2e7a4fe6cdb64283b8f..5902a80822175d71d13b25e8388ff4c96f4aa043 100644
--- a/examples/content_handler_demo/content_handler_demo.cc
+++ b/examples/content_handler_demo/content_handler_demo.cc
@@ -24,7 +24,8 @@ class PrintBodyApplication : public InterfaceImpl<Application> {
virtual void Initialize(Array<String> args) override {}
virtual void AcceptConnection(const String& requestor_url,
- ServiceProviderPtr service_provider) override {
+ InterfaceRequest<ServiceProvider> services,
+ ServiceProviderPtr exported_services) override {
printf("ContentHandler::OnConnect - requestor_url:%s - body follows\n\n",
requestor_url.To<std::string>().c_str());
PrintResponse(body_.Pass());
« no previous file with comments | « examples/bitmap_uploader/bitmap_uploader.cc ('k') | examples/ganesh_app/texture_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698