blob: aec1183528f7c3542ab8b793ee73e9fbf1112723 [file] [log] [blame]
// Copyright 2017 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_REPORTING_REPORTING_CACHE_OBSERVER_H_
#define NET_REPORTING_REPORTING_CACHE_OBSERVER_H_
#include "base/macros.h"
#include "net/base/net_export.h"
namespace net {
class NET_EXPORT ReportingCacheObserver {
public:
// Called whenever any change is made to the reports in the ReportingCache.
virtual void OnReportsUpdated();
// Called whenever any change is made to the client entries in the
// ReportingCache.
virtual void OnClientsUpdated();
protected:
ReportingCacheObserver();
~ReportingCacheObserver();
DISALLOW_COPY_AND_ASSIGN(ReportingCacheObserver);
};
} // namespace net
#endif // NET_REPORTING_REPORTING_CACHE_OBSERVER_H_