diff options
author | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-20 13:57:05 +0000 |
---|---|---|
committer | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-20 13:57:05 +0000 |
commit | ca97f30c1c6e282f62880c6b1d5e165b9ece716f (patch) | |
tree | 75f7f5abe47a49e5c603eacbe7abf993d232aad2 /ipc/ipc_message_utils.h | |
parent | c33ec4af81ba1d13ec18eb7b0e542c05a2c9d4b0 (diff) | |
download | chromium_src-ca97f30c1c6e282f62880c6b1d5e165b9ece716f.zip chromium_src-ca97f30c1c6e282f62880c6b1d5e165b9ece716f.tar.gz chromium_src-ca97f30c1c6e282f62880c6b1d5e165b9ece716f.tar.bz2 |
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.
Review URL: http://codereview.chromium.org/6308009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_utils.h')
-rw-r--r-- | ipc/ipc_message_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index b16e05a..e945da0 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -65,6 +65,7 @@ enum IPCMessageStart { DOMStorageMsgStart, IndexedDBMsgStart, PepperFileMsgStart, + SpeechInputMsgStart, }; class DictionaryValue; |