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

Unified Diff: content/browser/speech/endpointer/endpointer.cc

Issue 11347004: content/browser: Move speech code into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/speech/endpointer/endpointer.cc
diff --git a/content/browser/speech/endpointer/endpointer.cc b/content/browser/speech/endpointer/endpointer.cc
index b4a54c18e7d2531a638f053a8ff1677e6f6300e5..b5e8f0be15f190dd7876996fe608981303f73a9e 100644
--- a/content/browser/speech/endpointer/endpointer.cc
+++ b/content/browser/speech/endpointer/endpointer.cc
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/speech/audio_buffer.h"
#include "content/browser/speech/endpointer/endpointer.h"
#include "base/time.h"
+#include "content/browser/speech/audio_buffer.h"
using base::Time;
namespace {
-static const int kFrameRate = 50; // 1 frame = 20ms of audio.
+const int kFrameRate = 50; // 1 frame = 20ms of audio.
}
-namespace speech {
+namespace content {
Endpointer::Endpointer(int sample_rate)
: speech_input_possibly_complete_silence_length_us_(-1),
@@ -166,4 +166,4 @@ EpStatus Endpointer::ProcessAudio(const AudioChunk& raw_audio, float* rms_out) {
return ep_status;
}
-} // namespace speech
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698