| 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 4069e0d5969064b706710a466bdfeb29d5bfef5a..29166f81942758d0825846df81e55d6fff920d1e 100644
|
| --- a/examples/content_handler_demo/content_handler_demo.cc
|
| +++ b/examples/content_handler_demo/content_handler_demo.cc
|
| @@ -30,9 +30,12 @@ class PrintBodyApplication : public Application {
|
|
|
| virtual void AcceptConnection(const String& requestor_url,
|
| InterfaceRequest<ServiceProvider> services,
|
| - ServiceProviderPtr exported_services) override {
|
| - printf("ContentHandler::OnConnect - requestor_url:%s - body follows\n\n",
|
| - requestor_url.To<std::string>().c_str());
|
| + ServiceProviderPtr exported_services,
|
| + const String& url) override {
|
| + printf(
|
| + "ContentHandler::OnConnect - url:%s - requestor_url:%s - body "
|
| + "follows\n\n",
|
| + url.To<std::string>().c_str(), requestor_url.To<std::string>().c_str());
|
| PrintResponse(body_.Pass());
|
| delete this;
|
| }
|
|
|