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

Unified Diff: components/copresence/test/audio_test_support.h

Issue 901753002: Cleaning up some tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using rand() instead of rand_r() on Windows Created 5 years, 10 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
Index: components/copresence/test/audio_test_support.h
diff --git a/components/copresence/test/audio_test_support.h b/components/copresence/test/audio_test_support.h
index 0c66dcfd33da048807832f14314436e8fb0719f0..205577b8df5e0bb5ecf6592fbe739b4c297561e2 100644
--- a/components/copresence/test/audio_test_support.h
+++ b/components/copresence/test/audio_test_support.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_COPRESENCE_TEST_AUDIO_TEST_SUPPORT_
-#define COMPONENTS_COPRESENCE_TEST_AUDIO_TEST_SUPPORT_
+#ifndef COMPONENTS_COPRESENCE_TEST_AUDIO_TEST_SUPPORT_H_
+#define COMPONENTS_COPRESENCE_TEST_AUDIO_TEST_SUPPORT_H_
#include <cstddef>
@@ -20,15 +20,10 @@ namespace copresence {
// Populate random samples given a random seed into the samples array.
void PopulateSamples(int random_seed, size_t size, float* samples);
-// Create an audio bus populated with random samples.
-scoped_ptr<media::AudioBus> CreateRandomAudio(int random_seed,
- int channels,
- int samples);
-
// Create an ref counted audio bus populated with random samples.
scoped_refptr<media::AudioBusRefCounted>
CreateRandomAudioRefCounted(int random_seed, int channels, int samples);
} // namespace copresence
-#endif // COMPONENTS_COPRESENCE_TEST_AUDIO_TEST_SUPPORT_
+#endif // COMPONENTS_COPRESENCE_TEST_AUDIO_TEST_SUPPORT_H_
« no previous file with comments | « components/copresence/mediums/audio/audio_manager_unittest.cc ('k') | components/copresence/test/audio_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698