diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 21:59:53 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 21:59:53 +0000 |
commit | 975bead0d4a441b838950e7ca1c0f1dff1cb22c8 (patch) | |
tree | 74551561a5c73f65655aba492a383ef0b923ac79 /chrome/browser/metrics | |
parent | fc677875ab6319907a3fd5c1324c427a6b26e254 (diff) | |
download | chromium_src-975bead0d4a441b838950e7ca1c0f1dff1cb22c8.zip chromium_src-975bead0d4a441b838950e7ca1c0f1dff1cb22c8.tar.gz chromium_src-975bead0d4a441b838950e7ca1c0f1dff1cb22c8.tar.bz2 |
Remove another instance of using the transient pref service. This pref
is only read from the options dialog, the windows installer (a separate
process) and a spot in safe browsing. The only one that matters is
the safe browsing case.
BUG=28992
Review URL: http://codereview.chromium.org/456004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics')
-rw-r--r-- | chrome/browser/metrics/metrics_service.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h index b66d36e..516dd4c 100644 --- a/chrome/browser/metrics/metrics_service.h +++ b/chrome/browser/metrics/metrics_service.h @@ -130,6 +130,9 @@ class MetricsService : public NotificationObserver, void StartExternalMetrics(Profile* profile); #endif + bool recording_active() const; + bool reporting_active() const; + private: // The MetricsService has a lifecycle that is stored as a state. // See metrics_service.cc for description of this lifecycle. @@ -158,7 +161,6 @@ class MetricsService : public NotificationObserver, // SetRecording(false) also forces a persistent save of logging state (if // anything has been recorded, or transmitted). void SetRecording(bool enabled); - bool recording_active() const; // Enable/disable transmission of accumulated logs and crash reports (dumps). // Return value "true" indicates setting was definitively set as requested). @@ -169,7 +171,6 @@ class MetricsService : public NotificationObserver, // It is always possible to set this to at least one value, which matches the // current value reported by querying Google Update. void SetReporting(bool enabled); - bool reporting_active() const; // If in_idle is true, sets idle_since_last_transmission to true. // If in_idle is false and idle_since_last_transmission_ is true, sets |