blob: 008183e1efd419e85db0b6ebf1989dd9ccccf9d9 [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/http/transport_security_state_test_util.h"
#include "net/http/transport_security_state.h"
namespace net {
namespace test_default {
#include "net/http/transport_security_state_static_unittest_default.h"
} // namespace test_default
ScopedTransportSecurityStateSource::ScopedTransportSecurityStateSource() {
// TODO(mattm): allow using other source?
SetTransportSecurityStateSourceForTesting(&test_default::kHSTSSource);
}
ScopedTransportSecurityStateSource::~ScopedTransportSecurityStateSource() {
SetTransportSecurityStateSourceForTesting(nullptr);
}
} // namespace net