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

Side by Side Diff: chrome/browser/metrics/metrics_log.h

Issue 13872017: Bluetooth: gather usage metrics (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only include ChromeOS specific header on ChromeOS Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file defines a set of user experience metrics data recorded by 5 // This file defines a set of user experience metrics data recorded by
6 // the MetricsService. This is the unit of data that is sent to the server. 6 // the MetricsService. This is the unit of data that is sent to the server.
7 7
8 #ifndef CHROME_BROWSER_METRICS_METRICS_LOG_H_ 8 #ifndef CHROME_BROWSER_METRICS_METRICS_LOG_H_
9 #define CHROME_BROWSER_METRICS_METRICS_LOG_H_ 9 #define CHROME_BROWSER_METRICS_METRICS_LOG_H_
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 struct AutocompleteLog; 24 struct AutocompleteLog;
25 class MetricsNetworkObserver; 25 class MetricsNetworkObserver;
26 class PrefService; 26 class PrefService;
27 class PrefRegistrySimple; 27 class PrefRegistrySimple;
28 28
29 namespace base { 29 namespace base {
30 class DictionaryValue; 30 class DictionaryValue;
31 } 31 }
32 32
33 namespace device {
34 class BluetoothAdapter;
35 }
36
33 namespace tracked_objects { 37 namespace tracked_objects {
34 struct ProcessDataSnapshot; 38 struct ProcessDataSnapshot;
35 } 39 }
36 40
37 namespace chrome_variations { 41 namespace chrome_variations {
38 struct ActiveGroupId; 42 struct ActiveGroupId;
39 } 43 }
40 44
41 namespace webkit { 45 namespace webkit {
42 struct WebPluginInfo; 46 struct WebPluginInfo;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 186
183 // Writes metrics for the profile identified by key. This writes all 187 // Writes metrics for the profile identified by key. This writes all
184 // key/value pairs in profile_metrics. 188 // key/value pairs in profile_metrics.
185 void WriteProfileMetrics(const std::string& key, 189 void WriteProfileMetrics(const std::string& key,
186 const base::DictionaryValue& profile_metrics); 190 const base::DictionaryValue& profile_metrics);
187 191
188 // Writes info about the Google Update install that is managing this client. 192 // Writes info about the Google Update install that is managing this client.
189 // This is a no-op if called on a non-Windows platform. 193 // This is a no-op if called on a non-Windows platform.
190 void WriteGoogleUpdateProto(const GoogleUpdateMetrics& google_update_metrics); 194 void WriteGoogleUpdateProto(const GoogleUpdateMetrics& google_update_metrics);
191 195
196 // Writes info about paired Bluetooth devices on this system.
197 // This is a no-op if called on a non-Chrome OS platform.
198 void WriteBluetoothProto(scoped_refptr<device::BluetoothAdapter> adapter);
199
192 // Observes network state to provide values for SystemProfile::Network. 200 // Observes network state to provide values for SystemProfile::Network.
193 MetricsNetworkObserver network_observer_; 201 MetricsNetworkObserver network_observer_;
194 202
195 #if defined(OS_CHROMEOS) 203 #if defined(OS_CHROMEOS)
196 metrics::PerfProvider perf_provider_; 204 metrics::PerfProvider perf_provider_;
197 #endif 205 #endif
198 206
199 DISALLOW_COPY_AND_ASSIGN(MetricsLog); 207 DISALLOW_COPY_AND_ASSIGN(MetricsLog);
200 }; 208 };
201 209
202 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_ 210 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/metrics/metrics_log.cc » ('j') | chrome/browser/metrics/metrics_log.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698