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

Unified Diff: trunk/src/content/child/webcrypto/shared_crypto_unittest.cc

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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
« no previous file with comments | « trunk/src/content/child/web_url_loader_impl.cc ('k') | trunk/src/content/common/android/address_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/child/webcrypto/shared_crypto_unittest.cc
===================================================================
--- trunk/src/content/child/webcrypto/shared_crypto_unittest.cc (revision 289319)
+++ trunk/src/content/child/webcrypto/shared_crypto_unittest.cc (working copy)
@@ -669,9 +669,8 @@
std::string k_value;
if (!webcrypto::Base64DecodeUrlSafe(value_string, &k_value))
return ::testing::AssertionFailure() << "Base64DecodeUrlSafe(k) failed";
- if (!base::LowerCaseEqualsASCII(
- base::HexEncode(k_value.data(), k_value.size()),
- k_expected_hex.c_str())) {
+ if (!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";
@@ -711,9 +710,8 @@
std::string e_value;
if (!webcrypto::Base64DecodeUrlSafe(value_string, &e_value))
return ::testing::AssertionFailure() << "Base64DecodeUrlSafe(e) failed";
- if (!base::LowerCaseEqualsASCII(
- base::HexEncode(e_value.data(), e_value.size()),
- e_expected_hex.c_str())) {
+ if (!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 | « trunk/src/content/child/web_url_loader_impl.cc ('k') | trunk/src/content/common/android/address_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698