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

Unified Diff: services/media/factory_service/audio_track_controller.cc

Issue 2010283006: Almost done: ApplicationDelegate -> ApplicationImplBase conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work798-x-work797-x-work796_no_run_main_app
Patch Set: rebased Created 4 years, 7 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/media/factory_service/audio_track_controller.cc
diff --git a/services/media/factory_service/audio_track_controller.cc b/services/media/factory_service/audio_track_controller.cc
index 5db316cafda4826b47075aa4a87a526aee0b6c1a..5d557c8d2df0b78b5de6b7402254dc35933d5155 100644
--- a/services/media/factory_service/audio_track_controller.cc
+++ b/services/media/factory_service/audio_track_controller.cc
@@ -15,13 +15,12 @@
namespace mojo {
namespace media {
-AudioTrackController::AudioTrackController(const String& url,
- ApplicationImpl* app) {
+AudioTrackController::AudioTrackController(const String& url, Shell* shell) {
// TODO(dalesat): Handle connection errors.
- DCHECK(app);
+ DCHECK(shell);
AudioServerPtr audio_server;
- ConnectToService(app->shell(), url, GetProxy(&audio_server));
+ ConnectToService(shell, url, GetProxy(&audio_server));
audio_server->CreateTrack(GetProxy(&audio_track_));
}
« no previous file with comments | « services/media/factory_service/audio_track_controller.h ('k') | services/media/factory_service/factory_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698