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

Unified Diff: net/http/http_server_properties_impl_unittest.cc

Issue 2932953002: Persist broken and recently-broken alt-svcs to prefs in HttpServerPropertiesManager (Closed)
Patch Set: Added a DCHECK Created 3 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: net/http/http_server_properties_impl_unittest.cc
diff --git a/net/http/http_server_properties_impl_unittest.cc b/net/http/http_server_properties_impl_unittest.cc
index e7ed5d17781c45fc3c4c0ffe004f25438edc4a53..b0d077bc362baaa5b7d947dd98c8c6f8129ad795 100644
--- a/net/http/http_server_properties_impl_unittest.cc
+++ b/net/http/http_server_properties_impl_unittest.cc
@@ -65,8 +65,10 @@ class HttpServerPropertiesImplTest : public testing::Test {
protected:
HttpServerPropertiesImplTest()
: test_task_runner_(new base::TestMockTimeTaskRunner()),
- broken_services_clock_(test_task_runner_->GetMockTickClock()),
- impl_(broken_services_clock_.get()) {}
+ broken_services_clock_(test_task_runner_->GetMockTickClock()) {
+ impl_.SetBrokenAlternativeServicesTickClockForTesting(
+ broken_services_clock_.get());
+ }
bool HasAlternativeService(const url::SchemeHostPort& origin) {
const AlternativeServiceInfoVector alternative_service_info_vector =

Powered by Google App Engine
This is Rietveld 408576698