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

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

Issue 2382103002: media: Add GpuMojoMediaClient. (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 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 #ifndef MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_
6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ 6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/memory/ref_counted.h"
12 #include "base/threading/sequenced_task_runner_handle.h"
11 #include "media/mojo/services/media_mojo_export.h" 13 #include "media/mojo/services/media_mojo_export.h"
12 #include "services/shell/public/cpp/service.h" 14 #include "services/shell/public/cpp/service.h"
13 15
14 namespace media { 16 namespace media {
15 17
18 class MediaService;
19
16 // Creates a MojoMediaApplication instance using the default MojoMediaClient. 20 // Creates a MojoMediaApplication instance using the default MojoMediaClient.
17 std::unique_ptr<shell::Service> MEDIA_MOJO_EXPORT 21 std::unique_ptr<shell::Service> MEDIA_MOJO_EXPORT CreateMojoMediaApplication(
18 CreateMojoMediaApplication(const base::Closure& quit_closure); 22 scoped_refptr<base::SingleThreadTaskRunner> media_service_task_runner,
23 MediaService* media_service,
24 const base::Closure& quit_closure);
19 25
20 } // namespace media 26 } // namespace media
21 27
22 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_ 28 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698