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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_RECOGNITION_MANAGER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_H_
6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_H_ 6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // {render_view_id, render_view_id, request_id}. 73 // {render_view_id, render_view_id, request_id}.
74 virtual int GetSession(int render_process_id, 74 virtual int GetSession(int render_process_id,
75 int render_view_id, 75 int render_view_id,
76 int request_id) const = 0; 76 int request_id) const = 0;
77 77
78 // Returns true if the OS reports existence of audio recording devices. 78 // Returns true if the OS reports existence of audio recording devices.
79 virtual bool HasAudioInputDevices() = 0; 79 virtual bool HasAudioInputDevices() = 0;
80 80
81 // Returns a human readable string for the model/make of the active audio 81 // Returns a human readable string for the model/make of the active audio
82 // input device for this computer. 82 // input device for this computer.
83 virtual string16 GetAudioInputDeviceModel() = 0; 83 virtual base::string16 GetAudioInputDeviceModel() = 0;
84 84
85 // Invokes the platform provided microphone settings UI in a non-blocking way, 85 // Invokes the platform provided microphone settings UI in a non-blocking way,
86 // via the BrowserThread::FILE thread. 86 // via the BrowserThread::FILE thread.
87 virtual void ShowAudioInputSettings() = 0; 87 virtual void ShowAudioInputSettings() = 0;
88 88
89 protected: 89 protected:
90 virtual ~SpeechRecognitionManager() {} 90 virtual ~SpeechRecognitionManager() {}
91 91
92 private: 92 private:
93 static SpeechRecognitionManager* manager_for_tests_; 93 static SpeechRecognitionManager* manager_for_tests_;
94 }; 94 };
95 95
96 } // namespace content 96 } // namespace content
97 97
98 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_H_ 98 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_widget_host_view.h ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698