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

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

Issue 623263003: replace OVERRIDE and FINAL with override and final in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/cdm/ppapi/cdm_file_io_impl.h ('k') | media/cdm/ppapi/cdm_helpers.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 <list> 8 #include <list>
9 #include <stack> 9 #include <stack>
10 #include <string> 10 #include <string>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 uint32 data_size; 89 uint32 data_size;
90 }; 90 };
91 91
92 // Returns whether |test_step| is a RESULT_* step. 92 // Returns whether |test_step| is a RESULT_* step.
93 static bool IsResult(const TestStep& test_step); 93 static bool IsResult(const TestStep& test_step);
94 94
95 // Returns whether two results match. 95 // Returns whether two results match.
96 static bool MatchesResult(const TestStep& a, const TestStep& b); 96 static bool MatchesResult(const TestStep& a, const TestStep& b);
97 97
98 // cdm::FileIOClient implementation. 98 // cdm::FileIOClient implementation.
99 virtual void OnOpenComplete(Status status) OVERRIDE; 99 virtual void OnOpenComplete(Status status) override;
100 virtual void OnReadComplete(Status status, 100 virtual void OnReadComplete(Status status,
101 const uint8_t* data, 101 const uint8_t* data,
102 uint32_t data_size) OVERRIDE; 102 uint32_t data_size) override;
103 virtual void OnWriteComplete(Status status) OVERRIDE; 103 virtual void OnWriteComplete(Status status) override;
104 104
105 // Runs the next step in this test case. 105 // Runs the next step in this test case.
106 void RunNextStep(); 106 void RunNextStep();
107 107
108 void OnResult(const TestStep& result); 108 void OnResult(const TestStep& result);
109 109
110 // Checks whether the test result matches this step. This can only be called 110 // Checks whether the test result matches this step. This can only be called
111 // when this step is a RESULT_* step. 111 // when this step is a RESULT_* step.
112 bool CheckResult(const TestStep& result); 112 bool CheckResult(const TestStep& result);
113 113
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 std::vector<uint8> large_data_; 148 std::vector<uint8> large_data_;
149 size_t total_num_tests_; // Total number of tests. 149 size_t total_num_tests_; // Total number of tests.
150 size_t num_passed_tests_; // Number of passed tests. 150 size_t num_passed_tests_; // Number of passed tests.
151 151
152 DISALLOW_COPY_AND_ASSIGN (FileIOTestRunner); 152 DISALLOW_COPY_AND_ASSIGN (FileIOTestRunner);
153 }; 153 };
154 154
155 } // namespace media 155 } // namespace media
156 156
157 #endif // MEDIA_CDM_PPAPI_CDM_FILE_IO_TEST_H_ 157 #endif // MEDIA_CDM_PPAPI_CDM_FILE_IO_TEST_H_
OLDNEW
« no previous file with comments | « media/cdm/ppapi/cdm_file_io_impl.h ('k') | media/cdm/ppapi/cdm_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698