OLD | NEW |
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 // Stores information about the user's brower and system configuration. | 5 // Stores information about the user's brower and system configuration. |
6 // The system configuration fields are recorded once per client session. | 6 // The system configuration fields are recorded once per client session. |
7 | 7 |
8 syntax = "proto2"; | 8 syntax = "proto2"; |
9 | 9 |
10 option optimize_for = LITE_RUNTIME; | 10 option optimize_for = LITE_RUNTIME; |
11 | 11 |
12 package metrics; | 12 package metrics; |
13 | 13 |
14 // Next tag: 17 | 14 // Next tag: 18 |
15 message SystemProfileProto { | 15 message SystemProfileProto { |
16 // The time when the client was compiled/linked, in seconds since the epoch. | 16 // The time when the client was compiled/linked, in seconds since the epoch. |
17 optional int64 build_timestamp = 1; | 17 optional int64 build_timestamp = 1; |
18 | 18 |
19 // A version number string for the application. | 19 // A version number string for the application. |
20 // Most commonly this is the browser version number found in a user agent | 20 // Most commonly this is the browser version number found in a user agent |
21 // string, and is typically a 4-tuple of numbers separated by periods. In | 21 // string, and is typically a 4-tuple of numbers separated by periods. In |
22 // cases where the user agent version might be ambiguous (example: Linux 64- | 22 // cases where the user agent version might be ambiguous (example: Linux 64- |
23 // bit build, rather than 32-bit build, or a Windows version used in some | 23 // bit build, rather than 32-bit build, or a Windows version used in some |
24 // special context, such as ChromeFrame running in IE), then this may include | 24 // special context, such as ChromeFrame running in IE), then this may include |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 optional string name = 1; | 312 optional string name = 1; |
313 optional string filename = 2; | 313 optional string filename = 2; |
314 | 314 |
315 // The plugin's version. | 315 // The plugin's version. |
316 optional string version = 3; | 316 optional string version = 3; |
317 | 317 |
318 // True if the plugin is disabled. | 318 // True if the plugin is disabled. |
319 // If a client has multiple local Chrome user accounts, this is logged based | 319 // If a client has multiple local Chrome user accounts, this is logged based |
320 // on the first user account launched during the current session. | 320 // on the first user account launched during the current session. |
321 optional bool is_disabled = 4; | 321 optional bool is_disabled = 4; |
322 | 322 |
323 // True if the plugin is PPAPI. | 323 // True if the plugin is PPAPI. |
324 optional bool is_pepper = 5; | 324 optional bool is_pepper = 5; |
325 } | 325 } |
326 repeated Plugin plugin = 7; | 326 repeated Plugin plugin = 7; |
327 | 327 |
328 // Figures that can be used to generate application stability metrics. | 328 // Figures that can be used to generate application stability metrics. |
329 // All values are counts of events since the last time that these | 329 // All values are counts of events since the last time that these |
330 // values were reported. | 330 // values were reported. |
331 message Stability { | 331 message Stability { |
332 // Total amount of time that the program was running, in seconds. | 332 // Total amount of time that the program was running, in seconds. |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 message FieldTrial { | 430 message FieldTrial { |
431 // The name of the field trial, as a 32-bit identifier. | 431 // The name of the field trial, as a 32-bit identifier. |
432 // Currently, the identifier is a hash of the field trial's name. | 432 // Currently, the identifier is a hash of the field trial's name. |
433 optional fixed32 name_id = 1; | 433 optional fixed32 name_id = 1; |
434 | 434 |
435 // The user's group within the field trial, as a 32-bit identifier. | 435 // The user's group within the field trial, as a 32-bit identifier. |
436 // Currently, the identifier is a hash of the group's name. | 436 // Currently, the identifier is a hash of the group's name. |
437 optional fixed32 group_id = 2; | 437 optional fixed32 group_id = 2; |
438 } | 438 } |
439 repeated FieldTrial field_trial = 9; | 439 repeated FieldTrial field_trial = 9; |
| 440 |
| 441 // Number of users currently signed into a multiprofile session. |
| 442 // A zero value indicates that the user count changed while the log is open. |
| 443 // Logged only on ChromeOS. |
| 444 optional uint32 multi_profile_user_count = 17; |
440 } | 445 } |
OLD | NEW |