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

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
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Observes network state to provide values for SystemProfile::Network. 187 // Observes network state to provide values for SystemProfile::Network.
188 MetricsNetworkObserver network_observer_; 188 MetricsNetworkObserver network_observer_;
189 189
190 #if defined(OS_CHROMEOS) 190 #if defined(OS_CHROMEOS)
191 metrics::PerfProvider perf_provider_; 191 metrics::PerfProvider perf_provider_;
192
193 // The number of users in the multiprofile session
194 // when the log is first opened.
Ilya Sherman 2013/09/30 23:42:52 nit: Please wrap this to 80-col.
195 int initial_multi_profile_user_count_;
Ilya Sherman 2013/09/30 23:42:52 nit: const?
Ilya Sherman 2013/09/30 23:42:52 Why not store this directly in the protocol buffer
Tim Song 2013/10/05 01:25:23 This would probably be cleaner. I'll remove this m
192 #endif 196 #endif
193 197
194 // Bluetooth Adapter instance for collecting information about paired devices. 198 // Bluetooth Adapter instance for collecting information about paired devices.
195 scoped_refptr<device::BluetoothAdapter> adapter_; 199 scoped_refptr<device::BluetoothAdapter> adapter_;
196 200
197 DISALLOW_COPY_AND_ASSIGN(MetricsLog); 201 DISALLOW_COPY_AND_ASSIGN(MetricsLog);
198 }; 202 };
199 203
200 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_ 204 #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