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

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

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
« no previous file with comments | « media/mojo/services/mojo_media_log.h ('k') | media/mojo/services/mojo_video_decoder_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "media/mojo/services/mojo_media_log.h"
6
7 #include "base/logging.h"
8
9 namespace media {
10
11 // TODO(sandersd): Do we need to respond to the channel closing?
12 MojoMediaLog::MojoMediaLog(
13 mojo::AssociatedInterfacePtr<mojom::MediaLog> remote_media_log)
14 : remote_media_log_(std::move(remote_media_log)) {
15 DVLOG(1) << __func__;
16 }
17
18 MojoMediaLog::~MojoMediaLog() {
19 DVLOG(1) << __func__;
20 }
21
22 void MojoMediaLog::AddEvent(std::unique_ptr<MediaLogEvent> event) {
23 DVLOG(1) << __func__;
24 DCHECK(event);
25 remote_media_log_->AddEvent(*event);
26 }
27
28 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/mojo_media_log.h ('k') | media/mojo/services/mojo_video_decoder_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698