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

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

Issue 25364002: Add multi_profile_user_count field to system_profile proto. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 void WriteGoogleUpdateProto(const GoogleUpdateMetrics& google_update_metrics); 177 void WriteGoogleUpdateProto(const GoogleUpdateMetrics& google_update_metrics);
178 178
179 // Sets the Bluetooth Adapter instance used for the WriteBluetoothProto() 179 // Sets the Bluetooth Adapter instance used for the WriteBluetoothProto()
180 // call. 180 // call.
181 void SetBluetoothAdapter(scoped_refptr<device::BluetoothAdapter> adapter); 181 void SetBluetoothAdapter(scoped_refptr<device::BluetoothAdapter> adapter);
182 182
183 // Writes info about paired Bluetooth devices on this system. 183 // Writes info about paired Bluetooth devices on this system.
184 // This is a no-op if called on a non-Chrome OS platform. 184 // This is a no-op if called on a non-Chrome OS platform.
185 void WriteBluetoothProto(metrics::SystemProfileProto::Hardware* hardware); 185 void WriteBluetoothProto(metrics::SystemProfileProto::Hardware* hardware);
186 186
187 #if defined(OS_CHROMEOS)
188 // Update the number of users logged into a multi-profile session.
189 // If the number of users change while the log is open, the call invalidates
190 // the user count value.
191 void UpdateMultiProfileUserCount();
192 #endif
193
187 // Observes network state to provide values for SystemProfile::Network. 194 // Observes network state to provide values for SystemProfile::Network.
188 MetricsNetworkObserver network_observer_; 195 MetricsNetworkObserver network_observer_;
189 196
190 #if defined(OS_CHROMEOS) 197 #if defined(OS_CHROMEOS)
191 metrics::PerfProvider perf_provider_; 198 metrics::PerfProvider perf_provider_;
192 #endif 199 #endif
193 200
194 // Bluetooth Adapter instance for collecting information about paired devices. 201 // Bluetooth Adapter instance for collecting information about paired devices.
195 scoped_refptr<device::BluetoothAdapter> adapter_; 202 scoped_refptr<device::BluetoothAdapter> adapter_;
196 203
197 DISALLOW_COPY_AND_ASSIGN(MetricsLog); 204 DISALLOW_COPY_AND_ASSIGN(MetricsLog);
198 }; 205 };
199 206
200 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_ 207 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698