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

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

Issue 12210030: Linux/ChromeOS Chromium style checker cleanup, content/ edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 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: content/browser/speech/endpointer/endpointer_unittest.cc
===================================================================
--- content/browser/speech/endpointer/endpointer_unittest.cc (revision 181789)
+++ content/browser/speech/endpointer/endpointer_unittest.cc (working copy)
@@ -73,7 +73,9 @@
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 @@
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);
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/browser/speech/speech_recognition_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698