| 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_STH_REPORTER_H_ | 
|  | 6 #define NET_CERT_STH_REPORTER_H_ | 
|  | 7 | 
|  | 8 #include <set> | 
|  | 9 | 
|  | 10 #include "net/base/net_export.h" | 
|  | 11 | 
|  | 12 namespace net { | 
|  | 13 | 
|  | 14 namespace ct { | 
|  | 15 | 
|  | 16 class STHObserver; | 
|  | 17 | 
|  | 18 // Interface for registering/unregistering observers. | 
|  | 19 class NET_EXPORT STHReporter { | 
|  | 20  public: | 
|  | 21   virtual ~STHReporter() {} | 
|  | 22 | 
|  | 23   virtual void RegisterObserver(STHObserver* observer) = 0; | 
|  | 24   virtual void UnregisterObserver(STHObserver* observer) = 0; | 
|  | 25 }; | 
|  | 26 | 
|  | 27 }  // namespace ct | 
|  | 28 | 
|  | 29 }  // namespace net | 
|  | 30 | 
|  | 31 #endif  // NET_CERT_STH_REPORTER_H_ | 
| OLD | NEW | 
|---|