| Index: net/http/transport_security_state.h
|
| diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h
|
| index a35e18595db0ddf982c6d963c959b0bbcdf5faf5..84b229bbd9523ca87c648acef6ca03680e02b2b0 100644
|
| --- a/net/http/transport_security_state.h
|
| +++ b/net/http/transport_security_state.h
|
| @@ -12,6 +12,7 @@
|
| #include <utility>
|
| #include <vector>
|
|
|
| +#include "base/callback.h"
|
| #include "base/gtest_prod_util.h"
|
| #include "base/macros.h"
|
| #include "base/threading/non_thread_safe.h"
|
| @@ -203,6 +204,10 @@ class NET_EXPORT TransportSecurityState
|
| // Sends the given serialized |report| to |report_uri|.
|
| virtual void Send(const GURL& report_uri, const std::string& report) = 0;
|
|
|
| + // Sets a callback to be called when report sending fails.
|
| + virtual void SetErrorCallback(
|
| + const base::Callback<void(const GURL&, int)>& error_callback) = 0;
|
| +
|
| protected:
|
| virtual ~ReportSender() {}
|
| };
|
|
|