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

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

Issue 1237873004: Revert of Move JoinString to the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/google_one_shot_remote_engine.cc
diff --git a/content/browser/speech/google_one_shot_remote_engine.cc b/content/browser/speech/google_one_shot_remote_engine.cc
index 48afc800a4dc4cbea1f264d6694182c83b8d4238..92e4cb3beb316b441d3cf9adfb198f6b336c2fbd 100644
--- a/content/browser/speech/google_one_shot_remote_engine.cc
+++ b/content/browser/speech/google_one_shot_remote_engine.cc
@@ -205,8 +205,7 @@
std::string api_key = google_apis::GetAPIKey();
parts.push_back("key=" + net::EscapeQueryParamValue(api_key, true));
- GURL url(std::string(kDefaultSpeechRecognitionUrl) +
- base::JoinString(parts, "&"));
+ GURL url(std::string(kDefaultSpeechRecognitionUrl) + JoinString(parts, '&'));
encoder_.reset(AudioEncoder::Create(kDefaultAudioCodec,
config_.audio_sample_rate,
« no previous file with comments | « content/browser/renderer_host/websocket_host.cc ('k') | content/browser/speech/google_streaming_remote_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698