Chromium Code Reviews| Index: net/cert/ct_observer.h |
| diff --git a/net/cert/ct_observer.h b/net/cert/ct_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..92a0f26a05aa3cf411d5673eb8d476bf8334590d |
| --- /dev/null |
| +++ b/net/cert/ct_observer.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef NET_CERT_CT_OBSERVER_H_ |
| +#define NET_CERT_CT_OBSERVER_H_ |
| + |
| +#include "net/base/net_export.h" |
| +#include "net/cert/ct_verifier.h" |
| +#include "net/cert/sth_observer.h" |
| + |
| +namespace net { |
| + |
| +namespace ct { |
| + |
| +class NET_EXPORT CTObserver : public CTVerifier::Observer, public STHObserver { |
|
Ryan Sleevi
2016/04/14 16:56:16
Seems unnecessary. Why?
Eran Messeri
2016/04/18 22:02:12
To abstract the TreeStateTracker from the IOThread
Ryan Sleevi
2016/04/21 14:05:15
That's not true for IOThread - https://codereview.
Eran Messeri
2016/04/25 14:50:59
The main reasons I've created the CTObserver inter
Ryan Sleevi
2016/04/27 23:05:58
Why would you have to? If they're both pure virtua
|
| + public: |
| + ~CTObserver() override {} |
| +}; |
| + |
| +} // namespace ct |
| + |
| +} // namespace net |
| + |
| +#endif // NET_CERT_CT_OBSERVER_H_ |