Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef NET_CERT_CT_OBSERVER_H_ | |
| 6 #define NET_CERT_CT_OBSERVER_H_ | |
| 7 | |
| 8 #include "net/base/net_export.h" | |
| 9 #include "net/cert/ct_verifier.h" | |
| 10 #include "net/cert/sth_observer.h" | |
| 11 | |
| 12 namespace net { | |
| 13 | |
| 14 namespace ct { | |
| 15 | |
| 16 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
| |
| 17 public: | |
| 18 ~CTObserver() override {} | |
| 19 }; | |
| 20 | |
| 21 } // namespace ct | |
| 22 | |
| 23 } // namespace net | |
| 24 | |
| 25 #endif // NET_CERT_CT_OBSERVER_H_ | |
| OLD | NEW |