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

Unified Diff: content/public/browser/speech_recognition_session_config.h

Issue 260903010: Start removing support for the experimental x-webkit-speech API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't touch histograms.xml Created 6 years, 8 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_session_config.h
diff --git a/content/public/browser/speech_recognition_session_config.h b/content/public/browser/speech_recognition_session_config.h
index 813fbd1056a3baa3ee8101f70ab4b474f2bd992f..1cde6430b0d38985963276f8eacdf8a090f4a873 100644
--- a/content/public/browser/speech_recognition_session_config.h
+++ b/content/public/browser/speech_recognition_session_config.h
@@ -22,7 +22,9 @@ struct CONTENT_EXPORT SpeechRecognitionSessionConfig {
SpeechRecognitionSessionConfig();
~SpeechRecognitionSessionConfig();
+ // TODO(hans): The legacy API is dead; remove this flag (crbug.com/223198).
bool is_legacy_api;
+
std::string language;
SpeechRecognitionGrammarArray grammars;
std::string origin_url;
« no previous file with comments | « content/public/browser/render_view_host.h ('k') | content/public/browser/speech_recognition_session_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698