#ifndef NET_HTTP_TRANSPORT_SECURITY_STATE_TEST_UTIL_H_
#define NET_HTTP_TRANSPORT_SECURITY_STATE_TEST_UTIL_H_
#include <memory>
#include <string>
#include <vector>
#include "net/http/transport_security_state_source.h"
namespace net {
class ScopedTransportSecurityStateSource {
public:
ScopedTransportSecurityStateSource();
explicit ScopedTransportSecurityStateSource(uint16_t reporting_port);
ScopedTransportSecurityStateSource(
const ScopedTransportSecurityStateSource&) = delete;
ScopedTransportSecurityStateSource& operator=(
const ScopedTransportSecurityStateSource&) = delete;
~ScopedTransportSecurityStateSource();
private:
std::unique_ptr<TransportSecurityStateSource> source_;
std::string pkp_report_uri_;
std::vector<TransportSecurityStateSource::Pinset> pinsets_;
};
}
#endif