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

Unified Diff: net/base/ip_mapping_rules.cc

Issue 183853011: Move TrimWhitespace to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « net/base/host_mapping_rules.cc ('k') | net/base/net_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/ip_mapping_rules.cc
diff --git a/net/base/ip_mapping_rules.cc b/net/base/ip_mapping_rules.cc
index 4f7b7aab658f883c33dc00261afa2bff88926c48..fbc887da422c65886cc3652cf1435451e0be0a1f 100644
--- a/net/base/ip_mapping_rules.cc
+++ b/net/base/ip_mapping_rules.cc
@@ -66,7 +66,7 @@ bool IPMappingRules::RewriteAddresses(AddressList* addresses) const {
bool IPMappingRules::AddRuleFromString(const std::string& rule_string) {
std::string trimmed;
- TrimWhitespaceASCII(rule_string, TRIM_ALL, &trimmed);
+ base::TrimWhitespaceASCII(rule_string, base::TRIM_ALL, &trimmed);
if (trimmed.empty())
return true; // Allow empty rules.
« no previous file with comments | « net/base/host_mapping_rules.cc ('k') | net/base/net_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698