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

Unified Diff: chrome/browser/net/quota_policy_channel_id_store_unittest.cc

Issue 1134613003: Remove unused methods from QuotaPolicyChannelIDStoreTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/quota_policy_channel_id_store_unittest.cc
diff --git a/chrome/browser/net/quota_policy_channel_id_store_unittest.cc b/chrome/browser/net/quota_policy_channel_id_store_unittest.cc
index 2570c9725c3af440e7883d69b2ee81fe742cbe1b..dda262e37586a5e44b150d11e783ae9a50e25966 100644
--- a/chrome/browser/net/quota_policy_channel_id_store_unittest.cc
+++ b/chrome/browser/net/quota_policy_channel_id_store_unittest.cc
@@ -46,28 +46,6 @@ class QuotaPolicyChannelIDStoreTest : public testing::Test {
}
protected:
- static base::Time GetTestCertExpirationTime() {
- // Cert expiration time from 'dumpasn1 unittest.originbound.der':
- // GeneralizedTime 19/11/2111 02:23:45 GMT
- // base::Time::FromUTCExploded can't generate values past 2038 on 32-bit
- // linux, so we use the raw value here.
- return base::Time::FromInternalValue(GG_INT64_C(16121816625000000));
- }
-
- static base::Time GetTestCertCreationTime() {
- // UTCTime 13/12/2011 02:23:45 GMT
- base::Time::Exploded exploded_time;
- exploded_time.year = 2011;
- exploded_time.month = 12;
- exploded_time.day_of_week = 0; // Unused.
- exploded_time.day_of_month = 13;
- exploded_time.hour = 2;
- exploded_time.minute = 23;
- exploded_time.second = 45;
- exploded_time.millisecond = 0;
- return base::Time::FromUTCExploded(exploded_time);
- }
-
void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
store_ = new QuotaPolicyChannelIDStore(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698