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

Unified Diff: components/webcrypto/test/test_helpers.cc

Issue 1172753003: Move LowerCaseEqualsASCII to base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util
Patch Set: Created 5 years, 6 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
Index: components/webcrypto/test/test_helpers.cc
diff --git a/components/webcrypto/test/test_helpers.cc b/components/webcrypto/test/test_helpers.cc
index 4684c40500ba81f8667ef3371562723a9b3eea96..5e3dc5ad16b95147626df2a8a95c2777af78ac81 100644
--- a/components/webcrypto/test/test_helpers.cc
+++ b/components/webcrypto/test/test_helpers.cc
@@ -495,8 +495,9 @@ scoped_ptr<base::DictionaryValue> GetJwkDictionary(
std::string k_value;
if (!Base64DecodeUrlSafe(value_string, &k_value))
return ::testing::AssertionFailure() << "Base64DecodeUrlSafe(k) failed";
- if (!LowerCaseEqualsASCII(base::HexEncode(k_value.data(), k_value.size()),
- k_expected_hex.c_str())) {
+ if (!base::LowerCaseEqualsASCII(
+ base::HexEncode(k_value.data(), k_value.size()),
+ k_expected_hex.c_str())) {
return ::testing::AssertionFailure() << "Expected 'k' to be "
<< k_expected_hex
<< " but found something different";
@@ -534,8 +535,9 @@ scoped_ptr<base::DictionaryValue> GetJwkDictionary(
std::string e_value;
if (!Base64DecodeUrlSafe(value_string, &e_value))
return ::testing::AssertionFailure() << "Base64DecodeUrlSafe(e) failed";
- if (!LowerCaseEqualsASCII(base::HexEncode(e_value.data(), e_value.size()),
- e_expected_hex.c_str())) {
+ if (!base::LowerCaseEqualsASCII(
+ base::HexEncode(e_value.data(), e_value.size()),
+ e_expected_hex.c_str())) {
return ::testing::AssertionFailure() << "Expected 'e' to be "
<< e_expected_hex
<< " but found something different";
« no previous file with comments | « components/url_fixer/url_fixer.cc ('k') | content/browser/accessibility/browser_accessibility_state_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698