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

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

Issue 7978039: net: Put more functions from escape.h into net namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/browser/geolocation/network_location_request.cc ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/speech_recognition_request.cc
diff --git a/content/browser/speech/speech_recognition_request.cc b/content/browser/speech/speech_recognition_request.cc
index 645e75de161ef313cda02199ec230c35af1d0577..52345e04877a1d2f99b16f27664c081591ff0c89 100644
--- a/content/browser/speech/speech_recognition_request.cc
+++ b/content/browser/speech/speech_recognition_request.cc
@@ -144,12 +144,12 @@ void SpeechRecognitionRequest::Start(const std::string& language,
}
if (lang_param.empty())
lang_param = "en-US";
- parts.push_back("lang=" + EscapeQueryParamValue(lang_param, true));
+ parts.push_back("lang=" + net::EscapeQueryParamValue(lang_param, true));
if (!grammar.empty())
- parts.push_back("lm=" + EscapeQueryParamValue(grammar, true));
+ parts.push_back("lm=" + net::EscapeQueryParamValue(grammar, true));
if (!hardware_info.empty())
- parts.push_back("xhw=" + EscapeQueryParamValue(hardware_info, true));
+ parts.push_back("xhw=" + net::EscapeQueryParamValue(hardware_info, true));
parts.push_back("maxresults=" + base::IntToString(kMaxResults));
parts.push_back(censor_results ? "pfilter=2" : "pfilter=0");
« no previous file with comments | « content/browser/geolocation/network_location_request.cc ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698