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

Unified Diff: content/public/browser/speech_recognition_manager_delegate.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: Created 8 years, 10 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/public/browser/speech_recognition_manager_delegate.h
diff --git a/content/public/browser/speech_input_manager_delegate.h b/content/public/browser/speech_recognition_manager_delegate.h
similarity index 85%
rename from content/public/browser/speech_input_manager_delegate.h
rename to content/public/browser/speech_recognition_manager_delegate.h
index 348bfbe424d317fecf88386a63ff386d1177304a..464f9e31632ed48eac996f46494cfb9474384dfb 100644
--- a/content/public/browser/speech_input_manager_delegate.h
+++ b/content/public/browser/speech_recognition_manager_delegate.h
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_PUBLIC_BROWSER_SPEECH_INPUT_MANAGER_DELEGATE_H_
-#define CONTENT_PUBLIC_BROWSER_SPEECH_INPUT_MANAGER_DELEGATE_H_
+#ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
+#define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
#pragma once
#include <string>
-#include "content/public/common/speech_input_result.h"
+#include "content/public/common/speech_recognition_traits.h"
namespace gfx {
class Rect;
@@ -20,7 +20,7 @@ struct SpeechInputResult;
// Allows embedders to display the current state of recognition, for getting the
// user's permission and for fetching optional request information.
-class SpeechInputManagerDelegate {
+class SpeechRecognitionManagerDelegate {
public:
// Describes the microphone errors that are reported via ShowMicError.
enum MicError {
@@ -28,7 +28,7 @@ class SpeechInputManagerDelegate {
MIC_ERROR_DEVICE_IN_USE
};
- virtual ~SpeechInputManagerDelegate() {}
+ virtual ~SpeechRecognitionManagerDelegate() {}
// Get the optional request information if available.
virtual void GetRequestInfo(bool* can_report_metrics,
@@ -70,4 +70,4 @@ class SpeechInputManagerDelegate {
} // namespace content
-#endif // CONTENT_PUBLIC_BROWSER_SPEECH_INPUT_MANAGER_DELEGATE_H_
+#endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698