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

Unified Diff: media/filters/audio_renderer_algorithm_ola.h

Issue 3064007: GTTF: more FRIEND_TEST_ALL_PREFIXES (Closed)
Patch Set: Created 10 years, 5 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
« no previous file with comments | « media/base/pipeline_impl.h ('k') | media/filters/bitstream_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_renderer_algorithm_ola.h
diff --git a/media/filters/audio_renderer_algorithm_ola.h b/media/filters/audio_renderer_algorithm_ola.h
index 0dff39fec2a0d1d68efeef48e3b7f000958605f8..ac98f684734f1ae8dca59fdd38ca7552fe0f0800 100644
--- a/media/filters/audio_renderer_algorithm_ola.h
+++ b/media/filters/audio_renderer_algorithm_ola.h
@@ -14,8 +14,8 @@
#ifndef MEDIA_FILTERS_AUDIO_RENDERER_ALGORITHM_OLA_H_
#define MEDIA_FILTERS_AUDIO_RENDERER_ALGORITHM_OLA_H_
+#include "base/gtest_prod_util.h"
#include "media/filters/audio_renderer_algorithm_base.h"
-#include "testing/gtest/include/gtest/gtest_prod.h"
namespace media {
@@ -30,10 +30,14 @@ class AudioRendererAlgorithmOLA : public AudioRendererAlgorithmBase {
virtual void set_playback_rate(float new_rate);
private:
- FRIEND_TEST(AudioRendererAlgorithmOLATest, FillBuffer_NormalRate);
- FRIEND_TEST(AudioRendererAlgorithmOLATest, FillBuffer_DoubleRate);
- FRIEND_TEST(AudioRendererAlgorithmOLATest, FillBuffer_HalfRate);
- FRIEND_TEST(AudioRendererAlgorithmOLATest, FillBuffer_QuarterRate);
+ FRIEND_TEST_ALL_PREFIXES(AudioRendererAlgorithmOLATest,
+ FillBuffer_NormalRate);
+ FRIEND_TEST_ALL_PREFIXES(AudioRendererAlgorithmOLATest,
+ FillBuffer_DoubleRate);
+ FRIEND_TEST_ALL_PREFIXES(AudioRendererAlgorithmOLATest,
+ FillBuffer_HalfRate);
+ FRIEND_TEST_ALL_PREFIXES(AudioRendererAlgorithmOLATest,
+ FillBuffer_QuarterRate);
// Aligns |value| to a channel and sample boundary.
void AlignToSampleBoundary(uint32* value);
« no previous file with comments | « media/base/pipeline_impl.h ('k') | media/filters/bitstream_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698