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_METRICS_METRICS_SERVICE_OBSERVER_H_ | |
6 #define CHROME_BROWSER_METRICS_METRICS_SERVICE_OBSERVER_H_ | |
7 | |
8 #include "base/macros.h" | |
9 | |
10 class MetricsServiceObserver { | |
Alexei Svitkine (slow)
2014/05/07 17:05:41
Add a comment explaining what this is for.
bolian
2014/05/07 18:11:44
Done.
| |
11 public: | |
12 // Will be called when a new MetricsLog is created. | |
bengr
2014/05/07 16:03:58
Will be called -> Called
bolian
2014/05/07 18:11:44
Done.
| |
13 virtual void OnDidCreateMetricsLog() = 0; | |
14 | |
15 protected: | |
16 MetricsServiceObserver() {} | |
17 virtual ~MetricsServiceObserver() {} | |
18 | |
19 private: | |
20 DISALLOW_COPY_AND_ASSIGN(MetricsServiceObserver); | |
21 }; | |
22 | |
23 #endif // CHROME_BROWSER_METRICS_METRICS_SERVICE_OBSERVER_H_ | |
OLD | NEW |