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

Side by Side Diff: media/cdm/ppapi/cdm_file_io_test.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/cdm/player_tracker_impl.h ('k') | media/cdm/ppapi/external_clear_key/clear_key_cdm.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CDM_PPAPI_CDM_FILE_IO_TEST_H_ 5 #ifndef MEDIA_CDM_PPAPI_CDM_FILE_IO_TEST_H_
6 #define MEDIA_CDM_PPAPI_CDM_FILE_IO_TEST_H_ 6 #define MEDIA_CDM_PPAPI_CDM_FILE_IO_TEST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
11 #include <stack> 11 #include <stack>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
17 #include "base/macros.h"
17 #include "media/cdm/api/content_decryption_module.h" 18 #include "media/cdm/api/content_decryption_module.h"
18 19
19 namespace media { 20 namespace media {
20 21
21 typedef base::Callback<void(bool success)> CompletionCB; 22 typedef base::Callback<void(bool success)> CompletionCB;
22 typedef base::Callback<cdm::FileIO*(cdm::FileIOClient* client)> CreateFileIOCB; 23 typedef base::Callback<cdm::FileIO*(cdm::FileIOClient* client)> CreateFileIOCB;
23 24
24 // A customizable test class that tests cdm::FileIO implementation. 25 // A customizable test class that tests cdm::FileIO implementation.
25 // - To create a test, call AddTestStep() to add a test step. A test step can be 26 // - To create a test, call AddTestStep() to add a test step. A test step can be
26 // either an action to make (use ACTION_* types), or a result to verify (use 27 // either an action to make (use ACTION_* types), or a result to verify (use
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 std::vector<uint8_t> large_data_; 156 std::vector<uint8_t> large_data_;
156 size_t total_num_tests_; // Total number of tests. 157 size_t total_num_tests_; // Total number of tests.
157 size_t num_passed_tests_; // Number of passed tests. 158 size_t num_passed_tests_; // Number of passed tests.
158 159
159 DISALLOW_COPY_AND_ASSIGN (FileIOTestRunner); 160 DISALLOW_COPY_AND_ASSIGN (FileIOTestRunner);
160 }; 161 };
161 162
162 } // namespace media 163 } // namespace media
163 164
164 #endif // MEDIA_CDM_PPAPI_CDM_FILE_IO_TEST_H_ 165 #endif // MEDIA_CDM_PPAPI_CDM_FILE_IO_TEST_H_
OLDNEW
« no previous file with comments | « media/cdm/player_tracker_impl.h ('k') | media/cdm/ppapi/external_clear_key/clear_key_cdm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698