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

Unified Diff: extensions/common/permissions/socket_permission_entry.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: extensions/common/permissions/socket_permission_entry.cc
diff --git a/extensions/common/permissions/socket_permission_entry.cc b/extensions/common/permissions/socket_permission_entry.cc
index 6adf3077f874db00d3be0dcce0146d37154cefb8..8b2d355acc70a80e4d0413c77fb62a989350fb5f 100644
--- a/extensions/common/permissions/socket_permission_entry.cc
+++ b/extensions/common/permissions/socket_permission_entry.cc
@@ -178,7 +178,7 @@ bool SocketPermissionEntry::ParseHostPattern(
} else {
result.match_subdomains_ = false;
}
- result.pattern_.host = JoinString(host_components, kDot);
+ result.pattern_.host = base::JoinString(host_components, ".");
}
if (pattern_tokens.size() == 1 || pattern_tokens[1].empty() ||
« no previous file with comments | « extensions/common/permissions/permission_message_test_util.cc ('k') | extensions/common/permissions/usb_device_permission.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698