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

Unified Diff: chrome/browser/speech/speech_input_dispatcher_host.h

Issue 6308009: If user had consented for metrics reporting, send speech input request origin to the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 11 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: chrome/browser/speech/speech_input_dispatcher_host.h
diff --git a/chrome/browser/speech/speech_input_dispatcher_host.h b/chrome/browser/speech/speech_input_dispatcher_host.h
index 51ae04ce92edd03ed39730909504c99e97ad1eeb..d8befd331e88ee1a05ae82355582e3db32bbeed9 100644
--- a/chrome/browser/speech/speech_input_dispatcher_host.h
+++ b/chrome/browser/speech/speech_input_dispatcher_host.h
@@ -9,6 +9,8 @@
#include "chrome/browser/browser_message_filter.h"
#include "chrome/browser/speech/speech_input_manager.h"
+struct SpeechInputHostMsg_StartRecognition_Params;
+
namespace speech_input {
// SpeechInputDispatcherHost is a delegate for Speech API messages used by
@@ -39,10 +41,8 @@ class SpeechInputDispatcherHost : public BrowserMessageFilter,
private:
virtual ~SpeechInputDispatcherHost();
- void OnStartRecognition(int render_view_id, int request_id,
- const gfx::Rect& element_rect,
- const std::string& language,
- const std::string& grammar);
+ void OnStartRecognition(
+ const SpeechInputHostMsg_StartRecognition_Params &params);
void OnCancelRecognition(int render_view_id, int request_id);
void OnStopRecording(int render_view_id, int request_id);
« no previous file with comments | « chrome/browser/speech/speech_input_browsertest.cc ('k') | chrome/browser/speech/speech_input_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698