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

Issue 10233010: Introducing new data types and IPC messages for scripted JS speech recognition APIs (Speech CL2.0) (Closed)

Created:
8 years, 8 months ago by Primiano Tucci (use gerrit)
Modified:
8 years, 7 months ago
Reviewers:
hans, Satish, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, Satish
Visibility:
Public.

Description

Introducing new data types and IPC messages for scripted JS speech recognition APIs (Speech CL2.0) Furthermore GoogleOneShotRemoteEngineConfig struct has been renamed and moved into the (more generic) SpeechRecognitionEngineConfig, that will be shared with the streaming recognition engine implementation. BUG=116954 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137141

Patch Set 1 : #

Patch Set 2 : Added also SpeechRecognitionSessionContext #

Total comments: 17

Patch Set 3 : Fixed according to Hans review. #

Total comments: 25

Patch Set 4 : Fixed according to Satish review. #

Total comments: 2

Patch Set 5 : jam@ nit. #

Patch Set 6 : Rebased from master #

Patch Set 7 : Rebased from master. #

Patch Set 8 : Added CONTENT_EXPORT to SpeechRecognitionEngine::Config #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -62 lines) Patch
M chrome/browser/speech/speech_input_extension_apitest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/speech/google_one_shot_remote_engine.h View 1 2 3 4 5 6 3 chunks +2 lines, -15 lines 0 comments Download
M content/browser/speech/google_one_shot_remote_engine.cc View 1 2 3 4 5 6 4 chunks +6 lines, -13 lines 0 comments Download
M content/browser/speech/input_tag_speech_dispatcher_host.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/speech/speech_recognition_browsertest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/speech/speech_recognition_engine.h View 1 2 3 4 5 6 7 4 chunks +26 lines, -5 lines 0 comments Download
A content/browser/speech/speech_recognition_engine.cc View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M content/browser/speech/speech_recognition_manager_impl.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl.cc View 1 2 3 4 5 6 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/speech_recognition_event_listener.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M content/public/browser/speech_recognition_session_config.h View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
M content/public/browser/speech_recognition_session_config.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/public/browser/speech_recognition_session_context.h View 1 2 3 4 5 6 1 chunk +10 lines, -8 lines 0 comments Download
M content/public/common/speech_recognition_error.h View 1 2 3 4 5 6 1 chunk +9 lines, -3 lines 0 comments Download
A content/public/common/speech_recognition_grammar.h View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
M content/public/common/speech_recognition_result.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/speech_recognition_result.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Primiano Tucci (use gerrit)
8 years, 8 months ago (2012-04-26 14:11:11 UTC) #1
Primiano Tucci (use gerrit)
Forgot to add also speech_recognition_session_context.h
8 years, 8 months ago (2012-04-26 15:43:10 UTC) #2
hans
lgtm, with some nits below also, i suppose you'll need owner's approval from jam? https://chromiumcodereview.appspot.com/10233010/diff/3004/content/browser/speech/speech_recognition_browsertest.cc ...
8 years, 8 months ago (2012-04-26 16:23:25 UTC) #3
Primiano Tucci (use gerrit)
https://chromiumcodereview.appspot.com/10233010/diff/3004/content/browser/speech/speech_recognition_browsertest.cc File content/browser/speech/speech_recognition_browsertest.cc (right): https://chromiumcodereview.appspot.com/10233010/diff/3004/content/browser/speech/speech_recognition_browsertest.cc#newcode79 content/browser/speech/speech_recognition_browsertest.cc:79: grammar_ = config.grammars.at(0).url; On 2012/04/26 16:23:25, hans wrote: > ...
8 years, 8 months ago (2012-04-27 09:27:13 UTC) #4
Satish
https://chromiumcodereview.appspot.com/10233010/diff/15001/content/browser/speech/google_one_shot_remote_engine.cc File content/browser/speech/google_one_shot_remote_engine.cc (right): https://chromiumcodereview.appspot.com/10233010/diff/15001/content/browser/speech/google_one_shot_remote_engine.cc#newcode193 content/browser/speech/google_one_shot_remote_engine.cc:193: parts.push_back("lm=" + net::EscapeQueryParamValue(config_.grammars[0].url, can we add a DCHECK here ...
8 years, 8 months ago (2012-04-27 10:04:41 UTC) #5
hans
https://chromiumcodereview.appspot.com/10233010/diff/15001/content/public/common/speech_recognition_error.h File content/public/common/speech_recognition_error.h (right): https://chromiumcodereview.appspot.com/10233010/diff/15001/content/public/common/speech_recognition_error.h#newcode41 content/public/common/speech_recognition_error.h:41: SpeechRecognitionError() On 2012/04/27 10:04:41, Satish wrote: > style guide ...
8 years, 8 months ago (2012-04-27 10:53:29 UTC) #6
Satish
https://chromiumcodereview.appspot.com/10233010/diff/15001/content/public/common/speech_recognition_error.h File content/public/common/speech_recognition_error.h (right): https://chromiumcodereview.appspot.com/10233010/diff/15001/content/public/common/speech_recognition_error.h#newcode41 content/public/common/speech_recognition_error.h:41: SpeechRecognitionError() On 2012/04/27 10:53:30, hans wrote: > On 2012/04/27 ...
8 years, 8 months ago (2012-04-27 11:08:02 UTC) #7
jam
https://chromiumcodereview.appspot.com/10233010/diff/15001/content/public/common/speech_recognition_error.h File content/public/common/speech_recognition_error.h (right): https://chromiumcodereview.appspot.com/10233010/diff/15001/content/public/common/speech_recognition_error.h#newcode41 content/public/common/speech_recognition_error.h:41: SpeechRecognitionError() On 2012/04/27 11:08:02, Satish wrote: > On 2012/04/27 ...
8 years, 8 months ago (2012-04-27 14:43:26 UTC) #8
Satish
https://chromiumcodereview.appspot.com/10233010/diff/15001/content/public/common/speech_recognition_error.h File content/public/common/speech_recognition_error.h (right): https://chromiumcodereview.appspot.com/10233010/diff/15001/content/public/common/speech_recognition_error.h#newcode41 content/public/common/speech_recognition_error.h:41: SpeechRecognitionError() On 2012/04/27 14:43:26, John Abd-El-Malek wrote: > On ...
8 years, 8 months ago (2012-04-27 14:45:34 UTC) #9
Primiano Tucci (use gerrit)
https://chromiumcodereview.appspot.com/10233010/diff/15001/content/browser/speech/google_one_shot_remote_engine.cc File content/browser/speech/google_one_shot_remote_engine.cc (right): https://chromiumcodereview.appspot.com/10233010/diff/15001/content/browser/speech/google_one_shot_remote_engine.cc#newcode193 content/browser/speech/google_one_shot_remote_engine.cc:193: parts.push_back("lm=" + net::EscapeQueryParamValue(config_.grammars[0].url, On 2012/04/27 10:04:41, Satish wrote: > ...
8 years, 8 months ago (2012-04-27 15:58:44 UTC) #10
jam
On 2012/04/27 14:45:34, Satish wrote: > Cool, makes sense. Is it ok to mention this ...
8 years, 8 months ago (2012-04-27 16:00:57 UTC) #11
jam
content/public lgtm with one nit http://codereview.chromium.org/10233010/diff/25004/content/public/common/speech_recognition_grammar.h File content/public/common/speech_recognition_grammar.h (right): http://codereview.chromium.org/10233010/diff/25004/content/public/common/speech_recognition_grammar.h#newcode17 content/public/common/speech_recognition_grammar.h:17: std::string url; nit: i ...
8 years, 8 months ago (2012-04-27 16:03:04 UTC) #12
Primiano Tucci (use gerrit)
http://codereview.chromium.org/10233010/diff/25004/content/public/common/speech_recognition_grammar.h File content/public/common/speech_recognition_grammar.h (right): http://codereview.chromium.org/10233010/diff/25004/content/public/common/speech_recognition_grammar.h#newcode17 content/public/common/speech_recognition_grammar.h:17: std::string url; On 2012/04/27 16:03:04, John Abd-El-Malek wrote: > ...
8 years, 8 months ago (2012-04-27 16:17:54 UTC) #13
hans
What's the status of this one? Blocked on other CLs? Waiting for Satish?
8 years, 7 months ago (2012-05-04 14:48:13 UTC) #14
Primiano Tucci (use gerrit)
On 2012/05/04 14:48:13, hans wrote: > What's the status of this one? Blocked on other ...
8 years, 7 months ago (2012-05-04 15:40:46 UTC) #15
Satish
lgtm
8 years, 7 months ago (2012-05-15 10:52:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/10233010/41003
8 years, 7 months ago (2012-05-15 11:02:24 UTC) #17
commit-bot: I haz the power
Can't apply patch for file content/public/browser/speech_recognition_event_listener.h. While running patch -p1 --forward --force; patching file content/public/browser/speech_recognition_event_listener.h ...
8 years, 7 months ago (2012-05-15 11:02:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/10233010/51003
8 years, 7 months ago (2012-05-15 11:19:55 UTC) #19
commit-bot: I haz the power
Try job failure for 10233010-51003 (previous was lost) (retry) on linux_chromeos for step "compile" (clobber ...
8 years, 7 months ago (2012-05-15 12:06:20 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/10233010/55010
8 years, 7 months ago (2012-05-15 12:58:32 UTC) #21
commit-bot: I haz the power
8 years, 7 months ago (2012-05-15 15:45:25 UTC) #22
Change committed as 137141

Powered by Google App Engine
This is Rietveld 408576698