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

Side by Side Diff: media/mojo/clients/mojo_media_log_service.h

Issue 2966643002: media: Plumb MediaLog to MojoVideoDecoderService. (Closed)
Patch Set: Swap client/service directory. Created 3 years, 5 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_MOJO_CLIENTS_MOJO_MEDIA_LOG_SERVICE_H_
6 #define MEDIA_MOJO_CLIENTS_MOJO_MEDIA_LOG_SERVICE_H_
7
8 #include <stdint.h>
9
10 #include "base/macros.h"
11 #include "media/base/media_log.h"
12 #include "media/mojo/interfaces/media_log.mojom.h"
13
14 namespace media {
15
16 // Implementation of a mojom::MediaLog service which wraps a media::MediaLog.
17 class MojoMediaLogService : public mojom::MediaLog {
18 public:
19 explicit MojoMediaLogService(media::MediaLog* media_log);
20 ~MojoMediaLogService() final;
21
22 // mojom::MediaLog implementation
23 void AddEvent(const media::MediaLogEvent& event) final;
24
25 private:
26 media::MediaLog* media_log_;
27
28 DISALLOW_COPY_AND_ASSIGN(MojoMediaLogService);
29 };
30
31 } // namespace media
32
33 #endif // MEDIA_MOJO_CLIENTS_MOJO_MEDIA_LOG_SERVICE_H_
OLDNEW
« no previous file with comments | « media/mojo/clients/mojo_decoder_factory.cc ('k') | media/mojo/clients/mojo_media_log_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698