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

Side by Side Diff: chrome/browser/chrome_browser_metrics_service_observer.h

Issue 502173002: Move more metrics classes to metrics namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit test compile. Created 6 years, 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_CHROME_BROWSER_METRICS_SERVICE_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_METRICS_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_CHROME_BROWSER_METRICS_SERVICE_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROME_BROWSER_METRICS_SERVICE_OBSERVER_H_
7 7
8 #include "components/metrics/metrics_service_observer.h" 8 #include "components/metrics/metrics_service_observer.h"
9 9
10 // ChromeBrowserMetricsServiceObserver receives notifications when the metrics 10 // ChromeBrowserMetricsServiceObserver receives notifications when the metrics
11 // service creates a new metrics log. 11 // service creates a new metrics log.
12 class ChromeBrowserMetricsServiceObserver : public MetricsServiceObserver { 12 class ChromeBrowserMetricsServiceObserver
13 : public metrics::MetricsServiceObserver {
13 public: 14 public:
14 ChromeBrowserMetricsServiceObserver(); 15 ChromeBrowserMetricsServiceObserver();
15 virtual ~ChromeBrowserMetricsServiceObserver(); 16 virtual ~ChromeBrowserMetricsServiceObserver();
16 17
17 // MetricsServiceObserver: 18 // MetricsServiceObserver:
18 virtual void OnDidCreateMetricsLog() OVERRIDE; 19 virtual void OnDidCreateMetricsLog() OVERRIDE;
19 20
20 private: 21 private:
21 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMetricsServiceObserver); 22 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMetricsServiceObserver);
22 }; 23 };
23 24
24 #endif // CHROME_BROWSER_CHROME_BROWSER_METRICS_SERVICE_OBSERVER_H_ 25 #endif // CHROME_BROWSER_CHROME_BROWSER_METRICS_SERVICE_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/metrics/chrome_metrics_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698