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

Side by Side Diff: media/mojo/services/android_mojo_media_client.h

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_ 5 #ifndef MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_
6 #define MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_ 6 #define MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/single_thread_task_runner.h"
11 #include "media/mojo/services/mojo_media_client.h" 12 #include "media/mojo/services/mojo_media_client.h"
12 13
13 namespace media { 14 namespace media {
14 15
15 class AndroidMojoMediaClient : public MojoMediaClient { 16 class AndroidMojoMediaClient : public MojoMediaClient {
16 public: 17 public:
17 AndroidMojoMediaClient(); 18 AndroidMojoMediaClient();
18 ~AndroidMojoMediaClient() final; 19 ~AndroidMojoMediaClient() final;
19 20
20 // MojoMediaClient implementation. 21 // MojoMediaClient implementation.
21 std::unique_ptr<AudioDecoder> CreateAudioDecoder( 22 std::unique_ptr<AudioDecoder> CreateAudioDecoder(
22 scoped_refptr<base::SingleThreadTaskRunner> task_runner) final; 23 scoped_refptr<base::SingleThreadTaskRunner> task_runner) final;
23 24
24 std::unique_ptr<CdmFactory> CreateCdmFactory( 25 std::unique_ptr<CdmFactory> CreateCdmFactory(
25 service_manager::mojom::InterfaceProvider* host_interfaces) final; 26 service_manager::mojom::InterfaceProvider* host_interfaces) final;
26 27
27 private: 28 private:
28 DISALLOW_COPY_AND_ASSIGN(AndroidMojoMediaClient); 29 DISALLOW_COPY_AND_ASSIGN(AndroidMojoMediaClient);
29 }; 30 };
30 31
31 } // namespace media 32 } // namespace media
32 33
33 #endif // MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_ 34 #endif // MEDIA_MOJO_SERVICES_ANDROID_MOJO_MEDIA_CLIENT_H_
OLDNEW
« no previous file with comments | « media/mojo/clients/mojo_decoder_factory.h ('k') | media/mojo/services/interface_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698