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

Side by Side Diff: media/base/mock_ffmpeg.h

Issue 555087: Refactor some code that depends on FFmpeg (Closed)
Patch Set: 2010 Created 10 years, 11 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 | « no previous file | media/base/mock_ffmpeg.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BASE_MOCK_FFMPEG_H_ 5 #ifndef MEDIA_BASE_MOCK_FFMPEG_H_
6 #define MEDIA_BASE_MOCK_FFMPEG_H_ 6 #define MEDIA_BASE_MOCK_FFMPEG_H_
7 7
8 // TODO(scherkus): See if we can remove ffmpeg_common from this file. 8 // TODO(scherkus): See if we can remove ffmpeg_common from this file.
9 #include "media/filters/ffmpeg_common.h" 9 #include "media/ffmpeg/ffmpeg_common.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
11 11
12 namespace media { 12 namespace media {
13 13
14 class MockFFmpeg { 14 class MockFFmpeg {
15 public: 15 public:
16 MockFFmpeg(); 16 MockFFmpeg();
17 virtual ~MockFFmpeg(); 17 virtual ~MockFFmpeg();
18 18
19 // TODO(ajwong): Organize this class, and make sure that all mock entrypoints 19 // TODO(ajwong): Organize this class, and make sure that all mock entrypoints
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 arg0->destruct(arg0); 139 arg0->destruct(arg0);
140 } 140 }
141 141
142 // Decrement number of packets allocated. 142 // Decrement number of packets allocated.
143 MockFFmpeg::get()->dec_outstanding_packets(); 143 MockFFmpeg::get()->dec_outstanding_packets();
144 } 144 }
145 145
146 } // namespace media 146 } // namespace media
147 147
148 #endif // MEDIA_BASE_MOCK_FFMPEG_H_ 148 #endif // MEDIA_BASE_MOCK_FFMPEG_H_
OLDNEW
« no previous file with comments | « no previous file | media/base/mock_ffmpeg.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698