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

Unified Diff: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc

Issue 1916233002: Mark ApplicationImpl::ConnectTo{Application,Service}() as deprecated. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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
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 825855c59a64405b1d61efa00355b1d86e91663f..2da79d88675f92808e9ed2e02d1a73a68e7eccee 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
@@ -26,7 +26,7 @@ AuthenticatingURLLoaderInterceptorFactory::
std::move(authentication_service))),
app_(app),
cached_tokens_(cached_tokens) {
- app_->ConnectToService("mojo:network_service", &network_service_);
+ app_->ConnectToServiceDeprecated("mojo:network_service", &network_service_);
authentication_service_.set_connection_error_handler(
[this]() { ClearAuthenticationService(); });
}

Powered by Google App Engine
This is Rietveld 408576698