blob: c4eea96c0a01d4eaa9bd6140ec2b1206b8265d65 [file] [log] [blame]
// 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 COMPONENTS_CERTIFICATE_TRANSPARENCY_STH_REPORTER_H_
#define COMPONENTS_CERTIFICATE_TRANSPARENCY_STH_REPORTER_H_
#include <set>
namespace certificate_transparency {
class STHObserver;
// Interface for registering/unregistering observers.
class STHReporter {
public:
virtual ~STHReporter() {}
virtual void RegisterObserver(STHObserver* observer) = 0;
virtual void UnregisterObserver(STHObserver* observer) = 0;
};
} // namespace certificate_transparency
#endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_STH_REPORTER_H_