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

Unified Diff: webrtc/common_audio/vad/vad_unittest.h

Issue 2683033004: Enable cpplint and fix cpplint errors in webrtc/*audio (Closed)
Patch Set: Rebase Created 3 years, 9 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 | « webrtc/common_audio/vad/vad_sp_unittest.cc ('k') | webrtc/common_audio/vad/vad_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/common_audio/vad/vad_unittest.h
diff --git a/webrtc/common_audio/vad/vad_unittest.h b/webrtc/common_audio/vad/vad_unittest.h
index 55ba5271f320f4a1194d7ec0a0785714129f346c..7edf58557121dc8dac08800d2a81b9e716dd80b2 100644
--- a/webrtc/common_audio/vad/vad_unittest.h
+++ b/webrtc/common_audio/vad/vad_unittest.h
@@ -8,15 +8,16 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_COMMON_AUDIO_VAD_VAD_UNITTEST_H
-#define WEBRTC_COMMON_AUDIO_VAD_VAD_UNITTEST_H
+#ifndef WEBRTC_COMMON_AUDIO_VAD_VAD_UNITTEST_H_
+#define WEBRTC_COMMON_AUDIO_VAD_VAD_UNITTEST_H_
#include <stddef.h> // size_t
#include "webrtc/test/gtest.h"
#include "webrtc/typedefs.h"
-namespace {
+namespace webrtc {
+namespace test {
// Modes we support
const int kModes[] = { 0, 1, 2, 3 };
@@ -32,7 +33,8 @@ const size_t kFrameLengths[] = { 80, 120, 160, 240, 320, 480, 640, 960,
kMaxFrameLength };
const size_t kFrameLengthsSize = sizeof(kFrameLengths) / sizeof(*kFrameLengths);
-} // namespace
+} // namespace test
+} // namespace webrtc
class VadTest : public ::testing::Test {
protected:
@@ -44,4 +46,4 @@ class VadTest : public ::testing::Test {
bool ValidRatesAndFrameLengths(int rate, size_t frame_length);
};
-#endif // WEBRTC_COMMON_AUDIO_VAD_VAD_UNITTEST_H
+#endif // WEBRTC_COMMON_AUDIO_VAD_VAD_UNITTEST_H_
« no previous file with comments | « webrtc/common_audio/vad/vad_sp_unittest.cc ('k') | webrtc/common_audio/vad/vad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698