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

Unified Diff: chrome/browser/extensions/api/networking_private/networking_private_crypto.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/extensions/api/networking_private/networking_private_crypto.cc
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_crypto.cc b/chrome/browser/extensions/api/networking_private/networking_private_crypto.cc
index 2698452c031fff05d3e669b859fd3f9178290a1d..7d91ca3f1272d9e8036be161d43fc49ddbfe6abc 100644
--- a/chrome/browser/extensions/api/networking_private/networking_private_crypto.cc
+++ b/chrome/browser/extensions/api/networking_private/networking_private_crypto.cc
@@ -128,7 +128,7 @@ bool NetworkingPrivateCrypto::VerifyCredentials(
std::string subject_name(common_name);
PORT_Free(common_name);
std::string translated_mac;
- RemoveChars(connected_mac, ":", &translated_mac);
+ base::RemoveChars(connected_mac, ":", &translated_mac);
if (!EndsWith(subject_name, translated_mac, false)) {
LOG(ERROR) << "MAC addresses don't match.";
return false;

Powered by Google App Engine
This is Rietveld 408576698