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

Unified Diff: examples/media_test/media_test.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 | « examples/indirect_service/indirect_service_demo.cc ('k') | examples/native_run_app/native_run_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/media_test/media_test.cc
diff --git a/examples/media_test/media_test.cc b/examples/media_test/media_test.cc
index f4782c10b329318c3c1b54fb672a5b22af593169..2b3cb3b4ddb981152da7a4d26b05eef276d9dbf9 100644
--- a/examples/media_test/media_test.cc
+++ b/examples/media_test/media_test.cc
@@ -22,7 +22,7 @@ MediaTest::MediaTest(mojo::ApplicationImpl* app,
const std::string& input_file_name)
: state_(MediaState::UNPREPARED) {
MediaFactoryPtr factory;
- app->ConnectToService("mojo:media_factory", &factory);
+ app->ConnectToServiceDeprecated("mojo:media_factory", &factory);
SeekingReaderPtr reader;
factory->CreateNetworkReader(input_file_name, GetProxy(&reader));
« no previous file with comments | « examples/indirect_service/indirect_service_demo.cc ('k') | examples/native_run_app/native_run_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698