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

Side by Side Diff: content/shell/browser/shell_speech_recognition_manager_delegate.h

Issue 629143003: Replace OVERRIDE and FINAL with override and final in content/shell/[a-s]* (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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_BROWSER_SHELL_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/public/browser/speech_recognition_event_listener.h" 10 #include "content/public/browser/speech_recognition_event_listener.h"
11 #include "content/public/browser/speech_recognition_manager_delegate.h" 11 #include "content/public/browser/speech_recognition_manager_delegate.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 // This is content_shell's delegate used by the speech recognition manager to 15 // This is content_shell's delegate used by the speech recognition manager to
16 // check for permission to record audio. For content_shell, we always authorize 16 // check for permission to record audio. For content_shell, we always authorize
17 // speech recognition (see crbug.com/237119). 17 // speech recognition (see crbug.com/237119).
18 class ShellSpeechRecognitionManagerDelegate 18 class ShellSpeechRecognitionManagerDelegate
19 : public SpeechRecognitionManagerDelegate { 19 : public SpeechRecognitionManagerDelegate {
20 public: 20 public:
21 ShellSpeechRecognitionManagerDelegate() {} 21 ShellSpeechRecognitionManagerDelegate() {}
22 virtual ~ShellSpeechRecognitionManagerDelegate() {} 22 virtual ~ShellSpeechRecognitionManagerDelegate() {}
23 23
24 // SpeechRecognitionManagerDelegate methods. 24 // SpeechRecognitionManagerDelegate methods.
25 virtual void GetDiagnosticInformation( 25 virtual void GetDiagnosticInformation(
26 bool* can_report_metrics, std::string* hardware_info) OVERRIDE {} 26 bool* can_report_metrics, std::string* hardware_info) override {}
27 virtual void CheckRecognitionIsAllowed(int session_id, 27 virtual void CheckRecognitionIsAllowed(int session_id,
28 base::Callback<void(bool ask_user, bool is_allowed)> callback) OVERRIDE; 28 base::Callback<void(bool ask_user, bool is_allowed)> callback) override;
29 virtual SpeechRecognitionEventListener* GetEventListener() OVERRIDE; 29 virtual SpeechRecognitionEventListener* GetEventListener() override;
30 virtual bool FilterProfanities(int render_process_id) OVERRIDE; 30 virtual bool FilterProfanities(int render_process_id) override;
31 31
32 private: 32 private:
33 DISALLOW_COPY_AND_ASSIGN(ShellSpeechRecognitionManagerDelegate); 33 DISALLOW_COPY_AND_ASSIGN(ShellSpeechRecognitionManagerDelegate);
34 }; 34 };
35 35
36 } // namespace content 36 } // namespace content
37 37
38 #endif // CONTENT_SHELL_BROWSER_SHELL_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ 38 #endif // CONTENT_SHELL_BROWSER_SHELL_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698