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

Unified Diff: services/java_handler/java_handler.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
« no previous file with comments | « services/http_server/http_server_impl.cc ('k') | services/js/echo_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/java_handler/java_handler.cc
diff --git a/services/java_handler/java_handler.cc b/services/java_handler/java_handler.cc
index 8079eda0b87fd1aafc6112323089294817febfd5..440f72fb8684e63f8df655c71fc8c92f6843bc94 100644
--- a/services/java_handler/java_handler.cc
+++ b/services/java_handler/java_handler.cc
@@ -91,8 +91,8 @@ void JavaHandler::RunApplication(
void JavaHandler::Initialize(mojo::ApplicationImpl* app) {
tracing_.Initialize(app);
handler_task_runner_ = base::MessageLoop::current()->task_runner();
- app->ConnectToService("mojo:url_response_disk_cache",
- &url_response_disk_cache_);
+ app->ConnectToServiceDeprecated("mojo:url_response_disk_cache",
+ &url_response_disk_cache_);
}
void JavaHandler::GetApplication(base::FilePath* archive_path,
« no previous file with comments | « services/http_server/http_server_impl.cc ('k') | services/js/echo_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698