summaryrefslogtreecommitdiffstats
path: root/content/browser/speech/endpointer/endpointer_unittest.cc
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 02:08:01 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 02:08:01 +0000
commitc3e3589c3e2dd1bc2e80d708fd49414376b2da8e (patch)
treeb024190741fb05211f5d8f600bb93c0237b0eed3 /content/browser/speech/endpointer/endpointer_unittest.cc
parent3b22093c5ea7fd343be8d40f6e229ca7e4eaef8c (diff)
downloadchromium_src-c3e3589c3e2dd1bc2e80d708fd49414376b2da8e.zip
chromium_src-c3e3589c3e2dd1bc2e80d708fd49414376b2da8e.tar.gz
chromium_src-c3e3589c3e2dd1bc2e80d708fd49414376b2da8e.tar.bz2
Linux/ChromeOS Chromium style checker cleanup, content/ edition.
Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 Review URL: https://chromiumcodereview.appspot.com/12210030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181822 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech/endpointer/endpointer_unittest.cc')
-rw-r--r--content/browser/speech/endpointer/endpointer_unittest.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/content/browser/speech/endpointer/endpointer_unittest.cc b/content/browser/speech/endpointer/endpointer_unittest.cc
index 6bfe903..ed5a1fe 100644
--- a/content/browser/speech/endpointer/endpointer_unittest.cc
+++ b/content/browser/speech/endpointer/endpointer_unittest.cc
@@ -73,7 +73,9 @@ class EnergyEndpointerFrameProcessor : public FrameProcessor {
explicit EnergyEndpointerFrameProcessor(EnergyEndpointer* endpointer)
: endpointer_(endpointer) {}
- EpStatus ProcessFrame(int64 time, int16* samples, int frame_size) {
+ virtual EpStatus ProcessFrame(int64 time,
+ int16* samples,
+ int frame_size) OVERRIDE {
endpointer_->ProcessAudioFrame(time, samples, kFrameSize, NULL);
int64 ep_time;
return endpointer_->Status(&ep_time);
@@ -116,7 +118,9 @@ class EndpointerFrameProcessor : public FrameProcessor {
explicit EndpointerFrameProcessor(Endpointer* endpointer)
: endpointer_(endpointer) {}
- EpStatus ProcessFrame(int64 time, int16* samples, int frame_size) {
+ virtual EpStatus ProcessFrame(int64 time,
+ int16* samples,
+ int frame_size) OVERRIDE {
scoped_refptr<AudioChunk> frame(
new AudioChunk(reinterpret_cast<uint8*>(samples), kFrameSize * 2, 2));
endpointer_->ProcessAudio(*frame, NULL);