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

Unified Diff: chrome/browser/policy/cloud/component_cloud_policy_browsertest.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/policy/cloud/component_cloud_policy_browsertest.cc
diff --git a/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc b/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
index e143e1df8162ea25891d1e79793ccb20b298a970..5f19e120312b21bb0534e8df82b7f2ec2961286f 100644
--- a/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
+++ b/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
@@ -88,8 +88,8 @@ const char kTestPolicy2JSON[] = "{\"Another\":\"turn_it_off\"}";
bool Base64Encode(const std::string& value, std::string* encoded) {
if (value.empty() || !base::Base64Encode(value, encoded))
return false;
- ReplaceChars(*encoded, "+", "-", encoded);
- ReplaceChars(*encoded, "/", "_", encoded);
+ base::ReplaceChars(*encoded, "+", "-", encoded);
+ base::ReplaceChars(*encoded, "/", "_", encoded);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698