mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
29 lines
654 B
C
29 lines
654 B
C
|
// 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_OBSERVER_H_
|
||
|
#define NET_REPORTING_REPORTING_OBSERVER_H_
|
||
|
|
||
|
#include "base/macros.h"
|
||
|
#include "net/base/net_export.h"
|
||
|
|
||
|
namespace net {
|
||
|
|
||
|
class NET_EXPORT ReportingObserver {
|
||
|
public:
|
||
|
// Called whenever any change is made to the ReportingCache.
|
||
|
virtual void OnCacheUpdated();
|
||
|
|
||
|
protected:
|
||
|
ReportingObserver();
|
||
|
|
||
|
~ReportingObserver();
|
||
|
|
||
|
DISALLOW_COPY_AND_ASSIGN(ReportingObserver);
|
||
|
};
|
||
|
|
||
|
} // namespace net
|
||
|
|
||
|
#endif // NET_REPORTING_REPORTING_OBSERVER_H_
|