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

Side by Side Diff: media/video/mock_video_decode_accelerator.cc

Issue 13890012: Integrate VDA with WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update the license of rtc_video_decoder.h Created 7 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/video/mock_video_decode_accelerator.h ('k') | no next file » | 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 (c) 2013 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/video/mock_video_decode_accelerator.h"
6
7 namespace media {
8
9 using ::testing::Invoke;
10
11 MockVideoDecodeAccelerator::MockVideoDecodeAccelerator() {
12 // Delete |this| when Destroy() is called.
13 ON_CALL(*this, Destroy())
14 .WillByDefault(Invoke(this, &MockVideoDecodeAccelerator::DeleteThis));
15 }
16
17 MockVideoDecodeAccelerator::~MockVideoDecodeAccelerator() {}
18
19 void MockVideoDecodeAccelerator::DeleteThis() { delete this; }
20
21 } // namespace media
OLDNEW
« no previous file with comments | « media/video/mock_video_decode_accelerator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698