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

Unified Diff: content/shell/browser/shell_speech_recognition_manager_delegate.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (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
Index: content/shell/browser/shell_speech_recognition_manager_delegate.h
diff --git a/content/shell/browser/shell_speech_recognition_manager_delegate.h b/content/shell/browser/shell_speech_recognition_manager_delegate.h
index 680082de5cf1ef57103f4a50f940ac37b1c46e2d..908ca8cfd598c91beee75955d6e99c7514d150af 100644
--- a/content/shell/browser/shell_speech_recognition_manager_delegate.h
+++ b/content/shell/browser/shell_speech_recognition_manager_delegate.h
@@ -19,15 +19,16 @@ class ShellSpeechRecognitionManagerDelegate
: public SpeechRecognitionManagerDelegate {
public:
ShellSpeechRecognitionManagerDelegate() {}
- virtual ~ShellSpeechRecognitionManagerDelegate() {}
+ ~ShellSpeechRecognitionManagerDelegate() override {}
// SpeechRecognitionManagerDelegate methods.
- virtual void GetDiagnosticInformation(
- bool* can_report_metrics, std::string* hardware_info) override {}
- virtual void CheckRecognitionIsAllowed(int session_id,
+ void GetDiagnosticInformation(bool* can_report_metrics,
+ std::string* hardware_info) override {}
+ void CheckRecognitionIsAllowed(
+ int session_id,
base::Callback<void(bool ask_user, bool is_allowed)> callback) override;
- virtual SpeechRecognitionEventListener* GetEventListener() override;
- virtual bool FilterProfanities(int render_process_id) override;
+ SpeechRecognitionEventListener* GetEventListener() override;
+ bool FilterProfanities(int render_process_id) override;
private:
DISALLOW_COPY_AND_ASSIGN(ShellSpeechRecognitionManagerDelegate);

Powered by Google App Engine
This is Rietveld 408576698