|
If user had consented for metrics reporting, send speech input request origin to the server.
This is the chromium side of the webkit patch https://bugs.webkit.org/show_bug.cgi?id=52718.
Suggested reviewer split:
wtc@ - the 2 url_fetcher.* files
hans@ - rest of the files
I needed to add a URLFetcher::set_referrer() method to send the origin url in the Referer header.
Also I had to create a new IPC params struct for startRecognition since the
number of parameters exceed what is provided by the macros. And in the process I also moved
the speech input IPC messages to their own source files.
BUG=none
TEST=No change in functionality except additional debug info sent to server.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71949
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+286 lines, -145 lines) |
Patch |
|
M |
chrome/browser/speech/speech_input_browsertest.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_input_dispatcher_host.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_input_dispatcher_host.cc
|
View
|
1
2
|
7 chunks |
+19 lines, -22 lines |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_input_manager.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_input_manager.cc
|
View
|
1
2
|
8 chunks |
+32 lines, -21 lines |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_recognition_request.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_recognition_request.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_recognition_request_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_recognizer.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_recognizer.cc
|
View
|
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_recognizer_unittest.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/chrome_common.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/net/url_fetcher.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/net/url_fetcher.cc
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/render_messages.h
|
View
|
|
2 chunks |
+0 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/common/render_messages.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -23 lines |
0 comments
|
Download
|
|
M |
chrome/common/render_messages_internal.h
|
View
|
1
2
|
3 chunks |
+0 lines, -41 lines |
0 comments
|
Download
|
|
A |
chrome/common/speech_input_messages.h
|
View
|
1
2
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/common/speech_input_messages.cc
|
View
|
1
2
|
1 chunk |
+83 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/renderer/speech_input_dispatcher.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/renderer/speech_input_dispatcher.cc
|
View
|
|
3 chunks |
+21 lines, -12 lines |
0 comments
|
Download
|
|
M |
ipc/ipc_message_utils.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|