Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Side by Side Diff: net/reporting/reporting_observer.h

Issue 2751883003: Reporting: Implement serializer. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/reporting/reporting_garbage_collector.cc ('k') | net/reporting/reporting_persister.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_REPORTING_REPORTING_OBSERVER_H_ 5 #ifndef NET_REPORTING_REPORTING_OBSERVER_H_
6 #define NET_REPORTING_REPORTING_OBSERVER_H_ 6 #define NET_REPORTING_REPORTING_OBSERVER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/base/net_export.h" 9 #include "net/base/net_export.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 class NET_EXPORT ReportingObserver { 13 class NET_EXPORT ReportingObserver {
14 public: 14 public:
15 // Called whenever any change is made to the ReportingCache.
15 virtual void OnCacheUpdated(); 16 virtual void OnCacheUpdated();
16 17
17 protected: 18 protected:
18 ReportingObserver(); 19 ReportingObserver();
19 20
20 ~ReportingObserver(); 21 ~ReportingObserver();
21 22
22 DISALLOW_COPY_AND_ASSIGN(ReportingObserver); 23 DISALLOW_COPY_AND_ASSIGN(ReportingObserver);
23 }; 24 };
24 25
25 } // namespace net 26 } // namespace net
26 27
27 #endif // NET_REPORTING_REPORTING_OBSERVER_H_ 28 #endif // NET_REPORTING_REPORTING_OBSERVER_H_
OLDNEW
« no previous file with comments | « net/reporting/reporting_garbage_collector.cc ('k') | net/reporting/reporting_persister.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698