Chromium Code Reviews

Unified Diff: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.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.
Jump to:
View side-by-side diff with in-line comments
Index: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
index 19abdd4d35e4b46a93b6784c4493ea856b008f98..6f361f6552181c676d385fcc5ba064624ef6b277 100644
--- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
+++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
@@ -290,7 +290,7 @@ class AuthenticatingURLLoaderInterceptorAppTest
ApplicationTestBase::SetUp();
InitializeNetworkService();
- application_impl()->ConnectToService(
+ application_impl()->ConnectToServiceDeprecated(
"mojo:authenticating_url_loader_interceptor",
&interceptor_meta_factory_);
}
@@ -341,8 +341,8 @@ class AuthenticatingURLLoaderInterceptorAppTest
void InitializeNetworkService() {
network_service_.reset();
- application_impl()->ConnectToService("mojo:network_service",
- &network_service_);
+ application_impl()->ConnectToServiceDeprecated("mojo:network_service",
+ &network_service_);
}
void CloseAuthenticationService() { authentication_service_impl_.reset(); }

Powered by Google App Engine