| Index: examples/forwarding_content_handler/forwarding_content_handler.cc
|
| diff --git a/examples/forwarding_content_handler/forwarding_content_handler.cc b/examples/forwarding_content_handler/forwarding_content_handler.cc
|
| index 6f4275bba75401f849956743c814c8482fb40e0b..08ed19bc880e6e76075bd900d488c6c2a0362c6f 100644
|
| --- a/examples/forwarding_content_handler/forwarding_content_handler.cc
|
| +++ b/examples/forwarding_content_handler/forwarding_content_handler.cc
|
| @@ -36,7 +36,8 @@ class ForwardingApplicationImpl : public Application {
|
| }
|
| void AcceptConnection(const String& requestor_url,
|
| InterfaceRequest<ServiceProvider> services,
|
| - ServiceProviderPtr exposed_services) override {
|
| + ServiceProviderPtr exposed_services,
|
| + const String& requested_url) override {
|
| shell_->ConnectToApplication(target_url_, services.Pass(),
|
| exposed_services.Pass());
|
| }
|
| @@ -57,7 +58,7 @@ class ForwardingContentHandler : public ApplicationDelegate,
|
| private:
|
| // Overridden from ApplicationDelegate:
|
| virtual bool ConfigureIncomingConnection(
|
| - ApplicationConnection* connection) override {
|
| + ApplicationConnection* connection, const std::string& url) override {
|
| connection->AddService(&content_handler_factory_);
|
| return true;
|
| }
|
|
|