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

Unified Diff: chrome/browser/speech/speech_input_manager.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_manager.h
diff --git a/chrome/browser/speech/speech_input_manager.h b/chrome/browser/speech/speech_input_manager.h
index ffeaba0d700f3251857b899f24da8f7fc933bba0..83bde90c0d10362023ccb4d97bfa9363f8cda673 100644
--- a/chrome/browser/speech/speech_input_manager.h
+++ b/chrome/browser/speech/speech_input_manager.h
@@ -37,7 +37,7 @@ class SpeechInputManager {
static bool IsFeatureEnabled();
// Factory method to access the singleton. We have this method here instead of
- // using Singleton<> directly in the calling code to aid tests in injection
+ // using Singleton directly in the calling code to aid tests in injection
// mocks.
static SpeechInputManager* Get();
// Factory method definition useful for tests.
@@ -59,7 +59,8 @@ class SpeechInputManager {
int render_view_id,
const gfx::Rect& element_rect,
const std::string& language,
- const std::string& grammar) = 0;
+ const std::string& grammar,
+ const std::string& origin_url) = 0;
virtual void CancelRecognition(int caller_id) = 0;
virtual void StopRecording(int caller_id) = 0;
};
« no previous file with comments | « chrome/browser/speech/speech_input_dispatcher_host.cc ('k') | chrome/browser/speech/speech_input_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698