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

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

Issue 7658017: Revert 96974 - Remove mock_ffmpeg and update media unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | media/base/test_data_util.cc » ('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 (c) 2011 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_BASE_TEST_DATA_UTIL_H_
6 #define MEDIA_BASE_TEST_DATA_UTIL_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "base/scoped_ptr.h"
12 #include "media/base/data_buffer.h"
13
14 namespace media {
15
16 // Reads a test file from media/test/data directory and stores it in
17 // a scoped_array.
18 //
19 // |name| - The name of the file.
20 // |buffer| - The contents of the file.
21 // |size| - The size of the buffer.
22 void ReadTestDataFile(const std::string& name,
23 scoped_array<uint8>* buffer,
24 int* size);
25
26 // Reads a test file from media/test/data directory and stored it in
27 // a Buffer.
28 //
29 // |name| - The name of the file.
30 // |buffer| - The contents of the file.
31 void ReadTestDataFile(const std::string& name, scoped_refptr<Buffer>* buffer);
32
33 } // namespace media
34
35 #endif // MEDIA_BASE_TEST_DATA_UTIL_H_
OLDNEW
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | media/base/test_data_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698