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

Unified Diff: chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc

Issue 2181013002: Revert of Cast device revocation checking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc
diff --git a/chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc b/chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc
index ac2c981837ee636c632af7e74d9db708d45c4304..b57bbd053e8f935a0567add6949d374cce9ca46d 100644
--- a/chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc
+++ b/chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc
@@ -118,21 +118,16 @@
static const char kBadHotspotBssid[] = "bad bssid";
// April 1, 2016
- base::Time::Exploded time_exploded = {0};
- time_exploded.year = 2016;
- time_exploded.month = 4;
- time_exploded.day_of_month = 1;
- base::Time time;
- ASSERT_TRUE(base::Time::FromUTCExploded(time_exploded, &time));
+ base::Time::Exploded time = {0};
+ time.year = 2016;
+ time.month = 4;
+ time.day_of_month = 1;
// September 1, 2035
- base::Time::Exploded expired_time_exploded = {0};
- expired_time_exploded.year = 2035;
- expired_time_exploded.month = 9;
- expired_time_exploded.day_of_month = 1;
- base::Time expired_time;
- ASSERT_TRUE(
- base::Time::FromUTCExploded(expired_time_exploded, &expired_time));
+ base::Time::Exploded expired_time = {0};
+ expired_time.year = 2035;
+ expired_time.month = 9;
+ expired_time.day_of_month = 1;
std::string unsigned_data = std::string(std::begin(kData), std::end(kData));
std::string signed_data =
« no previous file with comments | « chrome/common/extensions/api/networking_private/networking_private_crypto.cc ('k') | components/cast_certificate.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698