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

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

Issue 631083002: Replacing the OVERRIDE with override and FINAL with final in content/browser/speech (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « content/browser/speech/speech_recognizer_impl_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/speech_recognizer_impl_unittest.cc
diff --git a/content/browser/speech/speech_recognizer_impl_unittest.cc b/content/browser/speech/speech_recognizer_impl_unittest.cc
index 13d5eba7dfc14a32db8595f3eea57b6bb02e1329..f85f58d7dd92570a97a91747760bb2def2709a62 100644
--- a/content/browser/speech/speech_recognizer_impl_unittest.cc
+++ b/content/browser/speech/speech_recognizer_impl_unittest.cc
@@ -95,63 +95,63 @@ class SpeechRecognizerImplTest : public SpeechRecognitionEventListener,
}
// Overridden from SpeechRecognitionEventListener:
- virtual void OnAudioStart(int session_id) OVERRIDE {
+ virtual void OnAudioStart(int session_id) override {
audio_started_ = true;
CheckEventsConsistency();
}
- virtual void OnAudioEnd(int session_id) OVERRIDE {
+ virtual void OnAudioEnd(int session_id) override {
audio_ended_ = true;
CheckEventsConsistency();
}
virtual void OnRecognitionResults(
- int session_id, const SpeechRecognitionResults& results) OVERRIDE {
+ int session_id, const SpeechRecognitionResults& results) override {
result_received_ = true;
}
virtual void OnRecognitionError(
- int session_id, const SpeechRecognitionError& error) OVERRIDE {
+ int session_id, const SpeechRecognitionError& error) override {
EXPECT_TRUE(recognition_started_);
EXPECT_FALSE(recognition_ended_);
error_ = error.code;
}
virtual void OnAudioLevelsChange(int session_id, float volume,
- float noise_volume) OVERRIDE {
+ float noise_volume) override {
volume_ = volume;
noise_volume_ = noise_volume;
}
- virtual void OnRecognitionEnd(int session_id) OVERRIDE {
+ virtual void OnRecognitionEnd(int session_id) override {
recognition_ended_ = true;
CheckEventsConsistency();
}
- virtual void OnRecognitionStart(int session_id) OVERRIDE {
+ virtual void OnRecognitionStart(int session_id) override {
recognition_started_ = true;
CheckEventsConsistency();
}
- virtual void OnEnvironmentEstimationComplete(int session_id) OVERRIDE {}
+ virtual void OnEnvironmentEstimationComplete(int session_id) override {}
- virtual void OnSoundStart(int session_id) OVERRIDE {
+ virtual void OnSoundStart(int session_id) override {
sound_started_ = true;
CheckEventsConsistency();
}
- virtual void OnSoundEnd(int session_id) OVERRIDE {
+ virtual void OnSoundEnd(int session_id) override {
sound_ended_ = true;
CheckEventsConsistency();
}
// testing::Test methods.
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
AudioInputController::set_factory_for_testing(
&audio_input_controller_factory_);
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
AudioInputController::set_factory_for_testing(NULL);
}
« no previous file with comments | « content/browser/speech/speech_recognizer_impl_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698