Chromium Code Reviews| Index: chrome/browser/metrics/metrics_log.h |
| diff --git a/chrome/browser/metrics/metrics_log.h b/chrome/browser/metrics/metrics_log.h |
| index 3c6ae45bc9633121e6b93924d749bfe10a82bfc0..764c20d8190006184230b0e13188add8a91638ee 100644 |
| --- a/chrome/browser/metrics/metrics_log.h |
| +++ b/chrome/browser/metrics/metrics_log.h |
| @@ -22,6 +22,7 @@ |
| #endif |
| struct AutocompleteLog; |
| +class MetricsNetworkObserver; |
| class PrefService; |
| class PrefRegistrySimple; |
| @@ -145,8 +146,6 @@ class MetricsLog : public MetricsLogBase { |
| private: |
| FRIEND_TEST_ALL_PREFIXES(MetricsLogTest, ChromeOSStabilityData); |
| - class NetworkObserver; |
| - |
| // Writes application stability metrics (as part of the profile log). |
| // NOTE: Has the side-effect of clearing those counts. |
| void WriteStabilityElement( |
| @@ -190,9 +189,8 @@ class MetricsLog : public MetricsLogBase { |
| // This is a no-op if called on a non-Windows platform. |
| void WriteGoogleUpdateProto(const GoogleUpdateMetrics& google_update_metrics); |
| - // Registers as observer with net::NetworkChangeNotifier and keeps track of |
| - // the network environment. |
| - scoped_ptr<NetworkObserver> network_observer_; |
| + scoped_ptr<MetricsNetworkObserver> network_observer_; |
|
Ilya Sherman
2013/02/13 01:54:33
nit: Docs. Also, can this be a direct variable, i
szym
2013/02/13 05:09:34
Then we have to include the header file.
Ilya Sherman
2013/02/13 08:05:54
Including the header file is fine.
|
| + |
| #if defined(OS_CHROMEOS) |
| metrics::PerfProvider perf_provider_; |
| #endif |