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

Side by Side Diff: media/mojo/services/mojo_decoder_factory.cc

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
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 unified diff | Download patch
« no previous file with comments | « media/mojo/services/mojo_decoder_factory.h ('k') | media/mojo/services/mojo_decryptor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/mojo/services/mojo_decoder_factory.h" 5 #include "media/mojo/services/mojo_decoder_factory.h"
6 6
7 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
8 #include "media/mojo/interfaces/audio_decoder.mojom.h" 8 #include "media/mojo/interfaces/audio_decoder.mojom.h"
9 #include "media/mojo/services/mojo_audio_decoder.h" 9 #include "media/mojo/services/mojo_audio_decoder.h"
10 #include "media/mojo/services/mojo_video_decoder.h" 10 #include "media/mojo/services/mojo_video_decoder.h"
11 #include "mojo/shell/public/cpp/connect.h" 11 #include "services/shell/public/cpp/connect.h"
12 12
13 namespace media { 13 namespace media {
14 14
15 MojoDecoderFactory::MojoDecoderFactory( 15 MojoDecoderFactory::MojoDecoderFactory(
16 mojo::shell::mojom::InterfaceProvider* interface_provider) 16 mojo::shell::mojom::InterfaceProvider* interface_provider)
17 : interface_provider_(interface_provider) { 17 : interface_provider_(interface_provider) {
18 DCHECK(interface_provider_); 18 DCHECK(interface_provider_);
19 } 19 }
20 20
21 MojoDecoderFactory::~MojoDecoderFactory() {} 21 MojoDecoderFactory::~MojoDecoderFactory() {}
(...skipping 14 matching lines...) Expand all
36 void MojoDecoderFactory::CreateVideoDecoders( 36 void MojoDecoderFactory::CreateVideoDecoders(
37 scoped_refptr<base::SingleThreadTaskRunner> task_runner, 37 scoped_refptr<base::SingleThreadTaskRunner> task_runner,
38 ScopedVector<VideoDecoder>* video_decoders) { 38 ScopedVector<VideoDecoder>* video_decoders) {
39 #if defined(ENABLE_MOJO_VIDEO_DECODER) 39 #if defined(ENABLE_MOJO_VIDEO_DECODER)
40 // TODO(sandersd): Connect to mojo video decoder service and pass it here. 40 // TODO(sandersd): Connect to mojo video decoder service and pass it here.
41 video_decoders->push_back(new media::MojoVideoDecoder()); 41 video_decoders->push_back(new media::MojoVideoDecoder());
42 #endif 42 #endif
43 } 43 }
44 44
45 } // namespace media 45 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_decoder_factory.h ('k') | media/mojo/services/mojo_decryptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698