OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_RENDERER_MEDIA_AUDIO_REPETITION_DETECTOR_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_AUDIO_REPETITION_DETECTOR_H_ |
6 #define CONTENT_RENDERER_MEDIA_AUDIO_REPETITION_DETECTOR_H_ | 6 #define CONTENT_RENDERER_MEDIA_AUDIO_REPETITION_DETECTOR_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
13 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
14 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
15 | 17 |
16 namespace content { | 18 namespace content { |
17 | 19 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 // Action when a repetition is found. |look_back_ms| provides the look back | 144 // Action when a repetition is found. |look_back_ms| provides the look back |
143 // time of the detected repetition. | 145 // time of the detected repetition. |
144 RepetitionCallback repetition_callback_; | 146 RepetitionCallback repetition_callback_; |
145 | 147 |
146 DISALLOW_COPY_AND_ASSIGN(AudioRepetitionDetector); | 148 DISALLOW_COPY_AND_ASSIGN(AudioRepetitionDetector); |
147 }; | 149 }; |
148 | 150 |
149 } // namespace content | 151 } // namespace content |
150 | 152 |
151 #endif // CONTENT_RENDERER_MEDIA_AUDIO_REPETITION_DETECTOR_H_ | 153 #endif // CONTENT_RENDERER_MEDIA_AUDIO_REPETITION_DETECTOR_H_ |
OLD | NEW |