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

Side by Side Diff: content/public/browser/speech_recognition_preferences.h

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased from master. Created 8 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_SPEECH_INPUT_PREFERENCES_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_PREFERENCES_H_
6 #define CONTENT_PUBLIC_BROWSER_SPEECH_INPUT_PREFERENCES_H_ 6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_PREFERENCES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 class SpeechInputPreferences 13 class SpeechRecognitionPreferences
14 : public base::RefCountedThreadSafe<SpeechInputPreferences> { 14 : public base::RefCountedThreadSafe<SpeechRecognitionPreferences> {
15 public: 15 public:
16 // Only to be called on the IO thread. 16 // Only to be called on the IO thread.
17 virtual bool FilterProfanities() const = 0; 17 virtual bool FilterProfanities() const = 0;
18 18
19 virtual void SetFilterProfanities(bool filter_profanities) = 0; 19 virtual void SetFilterProfanities(bool filter_profanities) = 0;
20 20
21 protected: 21 protected:
22 virtual ~SpeechInputPreferences() {} 22 virtual ~SpeechRecognitionPreferences() {}
23 23
24 private: 24 private:
25 friend class base::RefCountedThreadSafe<SpeechInputPreferences>; 25 friend class base::RefCountedThreadSafe<SpeechRecognitionPreferences>;
26 }; 26 };
27 27
28 } // namespace content 28 } // namespace content
29 29
30 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_INPUT_PREFERENCES_H_ 30 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/public/browser/speech_recognition_manager_delegate.h ('k') | content/public/browser/speech_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698