OLD | NEW |
| (Empty) |
1 // Copyright 2014 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 CHROME_BROWSER_CHROME_BROWSER_METRICS_SERVICE_OBSERVER_H_ | |
6 #define CHROME_BROWSER_CHROME_BROWSER_METRICS_SERVICE_OBSERVER_H_ | |
7 | |
8 #include "components/metrics/metrics_service_observer.h" | |
9 | |
10 // ChromeBrowserMetricsServiceObserver receives notifications when the metrics | |
11 // service creates a new metrics log. | |
12 class ChromeBrowserMetricsServiceObserver | |
13 : public metrics::MetricsServiceObserver { | |
14 public: | |
15 ChromeBrowserMetricsServiceObserver(); | |
16 virtual ~ChromeBrowserMetricsServiceObserver(); | |
17 | |
18 // MetricsServiceObserver: | |
19 virtual void OnDidCreateMetricsLog() OVERRIDE; | |
20 | |
21 private: | |
22 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMetricsServiceObserver); | |
23 }; | |
24 | |
25 #endif // CHROME_BROWSER_CHROME_BROWSER_METRICS_SERVICE_OBSERVER_H_ | |
OLD | NEW |