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

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

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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_MOJO_MEDIA_CLIENT_H_ 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_MEDIA_CLIENT_H_
6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_CLIENT_H_ 6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "media/mojo/services/media_mojo_export.h" 12 #include "media/mojo/services/media_mojo_export.h"
13 13
14 namespace base { 14 namespace base {
15 class SingleThreadTaskRunner; 15 class SingleThreadTaskRunner;
16 } 16 }
17 17
18 namespace shell { 18 namespace service_manager {
19 namespace mojom { 19 namespace mojom {
20 class InterfaceProvider; 20 class InterfaceProvider;
21 } 21 }
22 } 22 }
23 23
24 namespace media { 24 namespace media {
25 25
26 class AudioDecoder; 26 class AudioDecoder;
27 class AudioRendererSink; 27 class AudioRendererSink;
28 class CdmFactory; 28 class CdmFactory;
(...skipping 27 matching lines...) Expand all
56 // May be null if the RendererFactory doesn't need a video sink. 56 // May be null if the RendererFactory doesn't need a video sink.
57 virtual std::unique_ptr<VideoRendererSink> CreateVideoRendererSink( 57 virtual std::unique_ptr<VideoRendererSink> CreateVideoRendererSink(
58 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner); 58 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
59 59
60 // Returns the RendererFactory to be used by MojoRendererService. 60 // Returns the RendererFactory to be used by MojoRendererService.
61 virtual std::unique_ptr<RendererFactory> CreateRendererFactory( 61 virtual std::unique_ptr<RendererFactory> CreateRendererFactory(
62 const scoped_refptr<MediaLog>& media_log); 62 const scoped_refptr<MediaLog>& media_log);
63 63
64 // Returns the CdmFactory to be used by MojoCdmService. 64 // Returns the CdmFactory to be used by MojoCdmService.
65 virtual std::unique_ptr<CdmFactory> CreateCdmFactory( 65 virtual std::unique_ptr<CdmFactory> CreateCdmFactory(
66 shell::mojom::InterfaceProvider* interface_provider); 66 service_manager::mojom::InterfaceProvider* interface_provider);
67 67
68 protected: 68 protected:
69 MojoMediaClient(); 69 MojoMediaClient();
70 }; 70 };
71 71
72 } // namespace media 72 } // namespace media
73 73
74 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_CLIENT_H_ 74 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_CLIENT_H_
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_media_application_factory.cc ('k') | media/mojo/services/mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698