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

Unified Diff: components/policy/core/browser/policy_error_map.cc

Issue 1223153003: Move JoinString to the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows 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: components/policy/core/browser/policy_error_map.cc
diff --git a/components/policy/core/browser/policy_error_map.cc b/components/policy/core/browser/policy_error_map.cc
index 04411b6d5e544df0f3e3b701b2fb30fd96601e81..3360c3d6ae5037bfbc1141b5507c17a70ccb6382 100644
--- a/components/policy/core/browser/policy_error_map.cc
+++ b/components/policy/core/browser/policy_error_map.cc
@@ -186,7 +186,7 @@ base::string16 PolicyErrorMap::GetErrors(const std::string& policy) {
std::vector<base::string16> list;
for (const_iterator it = range.first; it != range.second; ++it)
list.push_back(it->second);
- return JoinString(list, '\n');
+ return base::JoinString(list, base::ASCIIToUTF16("\n"));
}
bool PolicyErrorMap::empty() {
« no previous file with comments | « components/nacl/renderer/platform_info.cc ('k') | components/proximity_auth/cryptauth/cryptauth_gcm_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698