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

Unified Diff: content/browser/speech/speech_recognition_request.h

Issue 7989001: Remove use of default request context and fix use of speech censor flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update SpeechInputPreferences when preference changes Created 9 years, 3 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: content/browser/speech/speech_recognition_request.h
diff --git a/content/browser/speech/speech_recognition_request.h b/content/browser/speech/speech_recognition_request.h
index 6a6664142f159b85afec219855db501a4f867098..97f54d246bcc02c7abfdde8f9afdd860ce9648e2 100644
--- a/content/browser/speech/speech_recognition_request.h
+++ b/content/browser/speech/speech_recognition_request.h
@@ -16,6 +16,7 @@
#include "content/common/speech_input_result.h"
#include "googleurl/src/gurl.h"
+class SpeechInputPreferences;
class URLFetcher;
namespace net {
@@ -52,7 +53,7 @@ class SpeechRecognitionRequest : public URLFetcher::Delegate {
// previous request has completed.
void Start(const std::string& language,
const std::string& grammar,
- bool censor_results,
+ SpeechInputPreferences* speech_input_prefs,
const std::string& hardware_info,
const std::string& origin_url,
const std::string& content_type);

Powered by Google App Engine
This is Rietveld 408576698