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

Side by Side Diff: ios/chrome/browser/metrics/ios_chrome_stability_metrics_provider.h

Issue 2771233002: Remove the wrapper functions content::RecordAction et al (Closed)
Patch Set: Rebased 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 IOS_CHROME_BROWSER_METRICS_IOS_CHROME_STABILITY_METRICS_PROVIDER_H_ 5 #ifndef IOS_CHROME_BROWSER_METRICS_IOS_CHROME_STABILITY_METRICS_PROVIDER_H_
6 #define IOS_CHROME_BROWSER_METRICS_IOS_CHROME_STABILITY_METRICS_PROVIDER_H_ 6 #define IOS_CHROME_BROWSER_METRICS_IOS_CHROME_STABILITY_METRICS_PROVIDER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/metrics/user_metrics.h"
10 #include "components/metrics/metrics_provider.h" 9 #include "components/metrics/metrics_provider.h"
11 #include "components/metrics/stability_metrics_helper.h" 10 #include "components/metrics/stability_metrics_helper.h"
12 #include "ios/web/public/web_state/global_web_state_observer.h" 11 #include "ios/web/public/web_state/global_web_state_observer.h"
13 12
14 class PrefService; 13 class PrefService;
15 14
16 // IOSChromeStabilityMetricsProvider gathers and logs Chrome-specific stability- 15 // IOSChromeStabilityMetricsProvider gathers and logs Chrome-specific stability-
17 // related metrics. 16 // related metrics.
18 class IOSChromeStabilityMetricsProvider : public metrics::MetricsProvider, 17 class IOSChromeStabilityMetricsProvider : public metrics::MetricsProvider,
19 public web::GlobalWebStateObserver { 18 public web::GlobalWebStateObserver {
(...skipping 17 matching lines...) Expand all
37 private: 36 private:
38 metrics::StabilityMetricsHelper helper_; 37 metrics::StabilityMetricsHelper helper_;
39 38
40 // True if recording is currently enabled. 39 // True if recording is currently enabled.
41 bool recording_enabled_; 40 bool recording_enabled_;
42 41
43 DISALLOW_COPY_AND_ASSIGN(IOSChromeStabilityMetricsProvider); 42 DISALLOW_COPY_AND_ASSIGN(IOSChromeStabilityMetricsProvider);
44 }; 43 };
45 44
46 #endif // IOS_CHROME_BROWSER_METRICS_IOS_CHROME_STABILITY_METRICS_PROVIDER_H_ 45 #endif // IOS_CHROME_BROWSER_METRICS_IOS_CHROME_STABILITY_METRICS_PROVIDER_H_
OLDNEW
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | ios/chrome/browser/metrics/mobile_session_shutdown_metrics_provider_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698