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

Unified Diff: chrome/browser/ui/webui/net_internals/net_internals_ui.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: chrome/browser/ui/webui/net_internals/net_internals_ui.cc
diff --git a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
index d340be42133cc67f3ba31b2a4e5d91624962dd76..427a0a3e282f5c17945a3342b6e9c3156795b2a8 100644
--- a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
+++ b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
@@ -131,7 +131,7 @@ bool Base64StringToHashes(const std::string& hashes_str,
for (size_t i = 0; i != vector_hash_str.size(); ++i) {
std::string hash_str;
- RemoveChars(vector_hash_str[i], " \t\r\n", &hash_str);
+ base::RemoveChars(vector_hash_str[i], " \t\r\n", &hash_str);
net::HashValue hash;
// Skip past unrecognized hash algos
// But return false on malformatted input

Powered by Google App Engine
This is Rietveld 408576698