diff options
Diffstat (limited to 'chrome/browser/policy/cloud/resource_cache.cc')
-rw-r--r-- | chrome/browser/policy/cloud/resource_cache.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/policy/cloud/resource_cache.cc b/chrome/browser/policy/cloud/resource_cache.cc index 79b5531..4a9932a 100644 --- a/chrome/browser/policy/cloud/resource_cache.cc +++ b/chrome/browser/policy/cloud/resource_cache.cc @@ -23,8 +23,8 @@ bool Base64Encode(const std::string& value, std::string* encoded) { DCHECK(!value.empty()); 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; } @@ -49,8 +49,8 @@ bool Base64Encode(const std::set<std::string>& input, // emtpy. bool Base64Decode(const std::string& encoded, std::string* value) { std::string buffer; - ReplaceChars(encoded, "-", "+", &buffer); - ReplaceChars(buffer, "_", "/", &buffer); + base::ReplaceChars(encoded, "-", "+", &buffer); + base::ReplaceChars(buffer, "_", "/", &buffer); return base::Base64Decode(buffer, value) && !value->empty(); } |