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

Unified Diff: media/tools/omx_test/file_reader_util.cc

Issue 6250198: More out-of-lining of test code, along with a bunch of GMOCK objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix the gyp files this time Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: media/tools/omx_test/file_reader_util.cc
diff --git a/media/tools/omx_test/file_reader_util.cc b/media/tools/omx_test/file_reader_util.cc
index 1ba7ceadaa45dc288ec16057e40afd184b96ec60..a599d2f1e88845e0712216deb6d8dde1243f2749 100644
--- a/media/tools/omx_test/file_reader_util.cc
+++ b/media/tools/omx_test/file_reader_util.cc
@@ -46,6 +46,8 @@ YuvFileReader::YuvFileReader(const FilePath& path,
output_nv21_(enable_csc) {
}
+YuvFileReader::~YuvFileReader() {}
+
void YuvFileReader::Read(uint8** output, int* size) {
if (!file()) {
*size = 0;
@@ -230,6 +232,8 @@ H264FileReader::H264FileReader(const FilePath& path)
used_(0) {
}
+H264FileReader::~H264FileReader() {}
+
void H264FileReader::Read(uint8** output, int *size) {
// Fill the buffer when it's less than half full.
int read = 0;

Powered by Google App Engine
This is Rietveld 408576698