| Index: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc
|
| diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc
|
| index 2da79d88675f92808e9ed2e02d1a73a68e7eccee..38ac0e92fe4c997e4f14cc54edbeeee447606e5c 100644
|
| --- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc
|
| +++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/logging.h"
|
| #include "base/stl_util.h"
|
| #include "mojo/public/cpp/application/application_impl.h"
|
| +#include "mojo/public/cpp/application/connect.h"
|
| #include "services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor.h"
|
|
|
| namespace mojo {
|
| @@ -26,7 +27,8 @@ AuthenticatingURLLoaderInterceptorFactory::
|
| std::move(authentication_service))),
|
| app_(app),
|
| cached_tokens_(cached_tokens) {
|
| - app_->ConnectToServiceDeprecated("mojo:network_service", &network_service_);
|
| + ConnectToService(app_->shell(), "mojo:network_service",
|
| + GetProxy(&network_service_));
|
| authentication_service_.set_connection_error_handler(
|
| [this]() { ClearAuthenticationService(); });
|
| }
|
|
|