1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Stores information about the user's brower and system configuration.
6 // The system configuration fields are recorded once per client session.
10 option optimize_for = LITE_RUNTIME;
11 option java_outer_classname = "SystemProfileProtos";
12 option java_package = "org.chromium.components.metrics";
17 message SystemProfileProto {
18 // The time when the client was compiled/linked, in seconds since the epoch.
19 optional int64 build_timestamp = 1;
21 // A version number string for the application.
22 // Most commonly this is the browser version number found in a user agent
23 // string, and is typically a 4-tuple of numbers separated by periods. In
24 // cases where the user agent version might be ambiguous (example: Linux 64-
25 // bit build, rather than 32-bit build, or a Windows version used in some
26 // special context, such as ChromeFrame running in IE), then this may include
27 // some additional postfix to provide clarification not available in the UA
30 // An example of a browser version 4-tuple is "5.0.322.0". Currently used
33 // "-64": a 64-bit build
34 // "-F": Chrome is running under control of ChromeFrame
35 // "-devel": this is not an official build of Chrome
37 // A full version number string could look similar to:
38 // "5.0.322.0-F-devel".
40 // This value, when available, is more trustworthy than the UA string
41 // associated with the request; and including the postfix, may be more
43 optional string app_version = 2;
45 // The brand code or distribution tag assigned to a partner, if available.
46 // Brand codes are only available on Windows. Not every Windows install
47 // though will have a brand code.
48 optional string brand_code = 12;
50 // The possible channels for an installation, from least to most stable.
52 CHANNEL_UNKNOWN = 0; // Unknown channel -- perhaps an unofficial build?
58 optional Channel channel = 10;
60 // True if Chrome build is ASan-instrumented.
61 optional bool is_asan_build = 20 [default = false];
63 // The date the user enabled UMA, in seconds since the epoch.
64 // If the user has toggled the UMA enabled state multiple times, this will
65 // be the most recent date on which UMA was enabled.
66 // For privacy, this is rounded to the nearest hour.
67 optional int64 uma_enabled_date = 3;
69 // The time when the client was installed, in seconds since the epoch.
70 // For privacy, this is rounded to the nearest hour.
71 optional int64 install_date = 16;
73 // The user's selected application locale, i.e. the user interface language.
74 // The locale includes a language code and, possibly, also a country code,
76 optional string application_locale = 4;
78 // Information on the user's operating system.
80 // The user's operating system. This should be one of:
83 // - Linux (includes ChromeOS)
86 optional string name = 1;
88 // The version of the OS. The meaning of this field is OS-dependent.
89 optional string version = 2;
91 // The fingerprint of the build. This field is used only on Android.
92 optional string fingerprint = 3;
94 // Whether the version of iOS appears to be "jailbroken". This field is
95 // used only on iOS. Chrome for iOS detects whether device contains a
96 // DynamicLibraries/ directory. It's a necessary but insufficient indicator
97 // of whether the operating system has been jailbroken.
98 optional bool is_jailbroken = 4;
102 // Next tag for Hardware: 18
103 // Information on the user's hardware.
105 // The CPU architecture (x86, PowerPC, x86_64, ...)
106 optional string cpu_architecture = 1;
108 // The amount of RAM present on the system, in megabytes.
109 optional int64 system_ram_mb = 2;
111 // The base memory address that chrome.dll was loaded at.
112 // (Logged only on Windows.)
113 optional int64 dll_base = 3;
115 // The hardware_class describes the current machine model, e.g. "MacPro1,1"
116 // on Mac, or "Nexus 5" on Android. Only implemented on OS X, Android, and
119 // For Chrome OS, the device hardware class ID is a unique string associated
120 // with each Chrome OS device product revision generally assigned at
121 // hardware qualification time. The hardware class effectively identifies
122 // the configured system components such as CPU, WiFi adapter, etc.
124 // An example of such a hardware class is "IEC MARIO PONY 6101". An
125 // internal database associates this hardware class with the qualified
126 // device specifications including OEM information, schematics, hardware
127 // qualification reports, test device tags, etc.
128 optional string hardware_class = 4;
130 // The number of physical screens.
131 optional int32 screen_count = 5;
133 // The screen dimensions of the primary screen, in pixels.
134 optional int32 primary_screen_width = 6;
135 optional int32 primary_screen_height = 7;
137 // The device scale factor of the primary screen.
138 optional float primary_screen_scale_factor = 12;
140 // Max DPI for any attached screen. (Windows only)
141 optional float max_dpi_x = 9;
142 optional float max_dpi_y = 10;
144 // Information on the CPU obtained by CPUID.
146 // A 12 character string naming the vendor, e.g. "GeniuneIntel".
147 optional string vendor_name = 1;
149 // The signature reported by CPUID (from EAX).
150 optional uint32 signature = 2;
152 // Number of logical processors/cores on the current machine.
153 optional uint32 num_cores = 3;
155 optional CPU cpu = 13;
157 // Information on the GPU
159 // The GPU manufacturer's vendor id.
160 optional uint32 vendor_id = 1;
162 // The GPU manufacturer's device id for the chip set.
163 optional uint32 device_id = 2;
165 // The driver version on the GPU.
166 optional string driver_version = 3;
168 // The driver date on the GPU.
169 optional string driver_date = 4;
171 // The GL_VENDOR string. An example of a gl_vendor string is
172 // "Imagination Technologies". "" if we are not using OpenGL.
173 optional string gl_vendor = 6;
175 // The GL_RENDERER string. An example of a gl_renderer string is
176 // "PowerVR SGX 540". "" if we are not using OpenGL.
177 optional string gl_renderer = 7;
179 optional Graphics gpu = 8;
181 // Information about Bluetooth devices paired with the system.
183 // Whether Bluetooth is present on this system.
184 optional bool is_present = 1;
186 // Whether Bluetooth is enabled on this system.
187 optional bool is_enabled = 2;
189 // Describes a paired device.
190 message PairedDevice {
191 // Assigned class of the device. This is a bitfield according to the
192 // Bluetooth specification available at the following URL:
193 // https://www.bluetooth.org/en-us/specification/assigned-numbers-overview/baseband
194 optional uint32 bluetooth_class = 1;
196 // Decoded device type.
203 DEVICE_CAR_AUDIO = 5;
205 DEVICE_PERIPHERAL = 7;
208 DEVICE_KEYBOARD = 10;
211 DEVICE_KEYBOARD_MOUSE_COMBO = 13;
213 optional Type type = 2;
215 // Vendor prefix of the Bluetooth address, these are OUI registered by
216 // the IEEE and are encoded with the first byte in bits 16-23, the
217 // second byte in bits 8-15 and the third byte in bits 0-7.
219 // ie. Google's OUI (00:1A:11) is encoded as 0x00001A11
220 optional uint32 vendor_prefix = 4;
222 // The Vendor ID of a device, returned in vendor_id below, can be
223 // either allocated by the Bluetooth SIG or USB IF, providing two
224 // completely overlapping namespaces for identifiers.
226 // This field should be read along with vendor_id to correctly
227 // identify the vendor. For example Google is identified by either
228 // vendor_id_source = VENDOR_ID_BLUETOOTH, vendor_id = 0x00E0 or
229 // vendor_id_source = VENDOR_ID_USB, vendor_id = 0x18D1.
231 // If the device does not support the Device ID specification the
232 // unknown value will be set.
233 enum VendorIDSource {
234 VENDOR_ID_UNKNOWN = 0;
235 VENDOR_ID_BLUETOOTH = 1;
238 optional VendorIDSource vendor_id_source = 8;
240 // Vendor ID of the device, where available.
241 optional uint32 vendor_id = 5;
243 // Product ID of the device, where available.
244 optional uint32 product_id = 6;
246 // Device ID of the device, generally the release or version number in
247 // BCD format, where available.
248 optional uint32 device_id = 7;
250 repeated PairedDevice paired_device = 3;
252 optional Bluetooth bluetooth = 11;
254 // Whether the internal display produces touch events. Omitted if unknown.
255 // Logged on ChromeOS only.
256 optional bool internal_display_supports_touch = 14;
258 // Vendor ids and product ids of external touchscreens.
259 message TouchScreen {
260 // Touch screen vendor id.
261 optional uint32 vendor_id = 1;
262 // Touch screen product id.
263 optional uint32 product_id = 2;
265 // Lists vendor and product ids of external touchscreens.
266 // Logged on ChromeOS only.
267 repeated TouchScreen external_touchscreen = 15;
269 // Drive messages are currently logged on Windows 7+, iOS, and Android.
271 // Whether this drive incurs a time penalty when randomly accessed. This
272 // should be true for spinning disks but false for SSDs or other
273 // flash-based drives.
274 optional bool has_seek_penalty = 1;
276 // The drive that the application executable was loaded from.
277 optional Drive app_drive = 16;
278 // The drive that the current user data directory was loaded from.
279 optional Drive user_data_drive = 17;
281 optional Hardware hardware = 6;
283 // Information about the network connection.
285 // Set to true if connection_type changed during the lifetime of the log.
286 optional bool connection_type_is_ambiguous = 1;
288 // See net::NetworkChangeNotifier::ConnectionType.
289 enum ConnectionType {
290 CONNECTION_UNKNOWN = 0;
291 CONNECTION_ETHERNET = 1;
296 CONNECTION_BLUETOOTH = 6;
298 // The connection type according to NetworkChangeNotifier.
299 optional ConnectionType connection_type = 2;
301 // Set to true if wifi_phy_layer_protocol changed during the lifetime of the log.
302 optional bool wifi_phy_layer_protocol_is_ambiguous = 3;
304 // See net::WifiPHYLayerProtocol.
305 enum WifiPHYLayerProtocol {
306 WIFI_PHY_LAYER_PROTOCOL_NONE = 0;
307 WIFI_PHY_LAYER_PROTOCOL_ANCIENT = 1;
308 WIFI_PHY_LAYER_PROTOCOL_A = 2;
309 WIFI_PHY_LAYER_PROTOCOL_B = 3;
310 WIFI_PHY_LAYER_PROTOCOL_G = 4;
311 WIFI_PHY_LAYER_PROTOCOL_N = 5;
312 WIFI_PHY_LAYER_PROTOCOL_UNKNOWN = 6;
314 // The physical layer mode of the associated wifi access point, if any.
315 optional WifiPHYLayerProtocol wifi_phy_layer_protocol = 4;
317 // Describe wifi access point information.
318 message WifiAccessPoint {
319 // Vendor prefix of the access point's BSSID, these are OUIs
320 // (Organizationally Unique Identifiers) registered by
321 // the IEEE and are encoded with the first byte in bits 16-23, the
322 // second byte in bits 8-15 and the third byte in bits 0-7.
323 optional uint32 vendor_prefix = 1;
325 // Access point seurity mode definitions.
327 SECURITY_UNKNOWN = 0;
335 // The security mode of the access point.
336 optional SecurityMode security_mode = 2;
338 // Vendor specific information.
339 message VendorInformation {
340 // The model number, for example "0".
341 optional string model_number = 1;
343 // The model name (sometimes the same as the model_number),
344 // for example "WZR-HP-AG300H".
345 optional string model_name = 2;
347 // The device name (sometimes the same as the model_number),
348 // for example "Dummynet"
349 optional string device_name = 3;
351 // The list of vendor-specific OUIs (Organziationally Unqiue
352 // Identifiers). These are provided by the vendor through WPS
353 // (Wireless Provisioning Service) information elements, which
354 // identifies the content of the element.
355 repeated uint32 element_identifier = 4;
357 // The wireless access point vendor information.
358 optional VendorInformation vendor_info = 3;
360 // Information of the wireless AP that device is connected to.
361 optional WifiAccessPoint access_point_info = 5;
363 optional Network network = 13;
365 // Information on the Google Update install that is managing this client.
366 message GoogleUpdate {
367 // Whether the Google Update install is system-level or user-level.
368 optional bool is_system_install = 1;
370 // The date at which Google Update last started performing an automatic
371 // update check, in seconds since the Unix epoch.
372 optional int64 last_automatic_start_timestamp = 2;
374 // The date at which Google Update last successfully sent an update check
375 // and recieved an intact response from the server, in seconds since the
376 // Unix epoch. (The updates don't need to be successfully installed.)
377 optional int64 last_update_check_timestamp = 3;
379 // Describes a product being managed by Google Update. (This can also
380 // describe Google Update itself.)
381 message ProductInfo {
382 // The current version of the product that is installed.
383 optional string version = 1;
385 // The date at which Google Update successfully updated this product,
386 // stored in seconds since the Unix epoch. This is updated when an update
387 // is successfully applied, or if the server reports that no update
389 optional int64 last_update_success_timestamp = 2;
391 // The result reported by the product updater on its last run.
393 INSTALL_RESULT_SUCCESS = 0;
394 INSTALL_RESULT_FAILED_CUSTOM_ERROR = 1;
395 INSTALL_RESULT_FAILED_MSI_ERROR = 2;
396 INSTALL_RESULT_FAILED_SYSTEM_ERROR = 3;
397 INSTALL_RESULT_EXIT_CODE = 4;
399 optional InstallResult last_result = 3;
401 // The error code reported by the product updater on its last run. This
402 // will typically be a error code specific to the product installer.
403 optional int32 last_error = 4;
405 // The extra error code reported by the product updater on its last run.
406 // This will typically be a Win32 error code.
407 optional int32 last_extra_error = 5;
409 optional ProductInfo google_update_status = 4;
410 optional ProductInfo client_status = 5;
412 optional GoogleUpdate google_update = 11;
414 // Information on all installed plugins.
416 // The plugin's self-reported name and filename (without path).
417 optional string name = 1;
418 optional string filename = 2;
420 // The plugin's version.
421 optional string version = 3;
423 // True if the plugin is disabled.
424 // If a client has multiple local Chrome user accounts, this is logged based
425 // on the first user account launched during the current session.
426 optional bool is_disabled = 4;
428 // True if the plugin is PPAPI.
429 optional bool is_pepper = 5;
431 repeated Plugin plugin = 7;
433 // Figures that can be used to generate application stability metrics.
434 // All values are counts of events since the last time that these
435 // values were reported.
438 // Total amount of time that the program was running, in seconds,
439 // since the last time a log was recorded, as measured using a client-side
440 // clock implemented via TimeTicks, which guarantees that it is monotonic
441 // and does not jump if the user changes his/her clock. The TimeTicks
442 // implementation also makes the clock not count time the computer is
444 optional int64 incremental_uptime_sec = 1;
446 // Total amount of time that the program was running, in seconds,
447 // since startup, as measured using a client-side clock implemented
448 // via TimeTicks, which guarantees that it is monotonic and does not
449 // jump if the user changes his/her clock. The TimeTicks implementation
450 // also makes the clock not count time the computer is suspended.
451 // This field was added for M-35.
452 optional int64 uptime_sec = 23;
454 // Page loads along with renderer crashes, hangs and failed launches, since
455 // page load count roughly corresponds to usage.
456 optional int32 page_load_count = 2;
457 optional int32 renderer_crash_count = 3;
458 optional int32 renderer_hang_count = 4;
459 optional int32 renderer_failed_launch_count = 24;
461 // Number of renderer crashes and failed launches that were for extensions.
462 // These are not counted in the renderer counts above.
463 optional int32 extension_renderer_crash_count = 5;
464 optional int32 extension_renderer_failed_launch_count = 25;
466 // Number of non-renderer child process crashes.
467 optional int32 child_process_crash_count = 6;
469 // Number of times the browser has crashed while logged in as the "other
470 // user" (guest) account.
471 // Logged on ChromeOS only.
472 optional int32 other_user_crash_count = 7;
474 // Number of times the kernel has crashed.
475 // Logged on ChromeOS only.
476 optional int32 kernel_crash_count = 8;
478 // Number of times the system has shut down uncleanly.
479 // Logged on ChromeOS only.
480 optional int32 unclean_system_shutdown_count = 9;
483 // All the remaining fields in the Stability are recorded at most once per
487 // The number of times the program was launched.
488 // This will typically be equal to 1. However, it is possible that Chrome
489 // was unable to upload stability metrics for previous launches (e.g. due to
490 // crashing early during startup), and hence this value might be greater
492 optional int32 launch_count = 15;
493 // The number of times that it didn't exit cleanly (which we assume to be
495 optional int32 crash_count = 16;
497 // The number of times the program began, but did not complete, the shutdown
498 // process. (For example, this may occur when Windows is shutting down, and
499 // it only gives the process a few seconds to clean up.)
500 optional int32 incomplete_shutdown_count = 17;
502 // The number of times the program was able register with breakpad crash
504 optional int32 breakpad_registration_success_count = 18;
506 // The number of times the program failed to register with breakpad crash
507 // services. If crash registration fails then when the program crashes no
508 // crash report will be generated.
509 optional int32 breakpad_registration_failure_count = 19;
511 // The number of times the program has run under a debugger. This should
512 // be an exceptional condition. Running under a debugger prevents crash
513 // dumps from being generated.
514 optional int32 debugger_present_count = 20;
516 // The number of times the program has run without a debugger attached.
517 // This should be most common scenario and should be very close to
519 optional int32 debugger_not_present_count = 21;
521 // Stability information for all installed plugins.
522 message PluginStability {
523 // The relevant plugin's information (name, etc.)
524 optional Plugin plugin = 1;
526 // The number of times this plugin's process was launched.
527 optional int32 launch_count = 2;
529 // The number of times this plugin was instantiated on a web page.
530 // This will be >= |launch_count|.
531 // (A page load with multiple sections drawn by this plugin will
532 // increase this count multiple times.)
533 optional int32 instance_count = 3;
535 // The number of times this plugin process crashed.
536 // This value will be <= |launch_count|.
537 optional int32 crash_count = 4;
539 // The number of times this plugin could not be loaded.
540 optional int32 loading_error_count = 5;
542 repeated PluginStability plugin_stability = 22;
544 optional Stability stability = 8;
546 // Description of a field trial or experiment that the user is currently
548 // All metrics reported in this upload can potentially be influenced by the
551 // The name of the field trial, as a 32-bit identifier.
552 // Currently, the identifier is a hash of the field trial's name.
553 optional fixed32 name_id = 1;
555 // The user's group within the field trial, as a 32-bit identifier.
556 // Currently, the identifier is a hash of the group's name.
557 optional fixed32 group_id = 2;
559 repeated FieldTrial field_trial = 9;
561 // Information about the A/V output device(s) (typically just a TV).
562 // However, a configuration may have one or more intermediate A/V devices
563 // between the source device and the TV (e.g. an A/V receiver, video
565 message ExternalAudioVideoDevice {
566 // The manufacturer name (possibly encoded as a 3-letter code, e.g. "YMH"
568 optional string manufacturer_name = 1;
570 // The model name (e.g. "RX-V1900"). Some devices may report generic names
571 // like "receiver" or use the full manufacturer name (e.g "PHILIPS").
572 optional string model_name = 2;
574 // The product code (e.g. "0218").
575 optional string product_code = 3;
577 // The device types. A single device can have multiple types (e.g. a set-top
578 // box could be both a tuner and a player). The same type may even be
579 // repeated (e.g a device that reports two tuners).
581 AV_DEVICE_TYPE_UNKNOWN = 0;
582 AV_DEVICE_TYPE_TV = 1;
583 AV_DEVICE_TYPE_RECORDER = 2;
584 AV_DEVICE_TYPE_TUNER = 3;
585 AV_DEVICE_TYPE_PLAYER = 4;
586 AV_DEVICE_TYPE_AUDIO_SYSTEM = 5;
588 repeated AVDeviceType av_device_type = 4;
590 // The year of manufacture.
591 optional int32 manufacture_year = 5;
593 // The week of manufacture.
594 // Note: per the Wikipedia EDID article, numbering for this field may not
595 // be consistent between manufacturers.
596 optional int32 manufacture_week = 6;
598 // Max horizontal resolution in pixels.
599 optional int32 horizontal_resolution = 7;
601 // Max vertical resolution in pixels.
602 optional int32 vertical_resolution = 8;
604 // Audio capabilities of the device.
605 // Ref: http://en.wikipedia.org/wiki/Extended_display_identification_data
606 message AudioDescription {
609 AUDIO_FORMAT_UNKNOWN = 0;
610 AUDIO_FORMAT_LPCM = 1;
611 AUDIO_FORMAT_AC_3 = 2;
612 AUDIO_FORMAT_MPEG1 = 3;
613 AUDIO_FORMAT_MP3 = 4;
614 AUDIO_FORMAT_MPEG2 = 5;
615 AUDIO_FORMAT_AAC = 6;
616 AUDIO_FORMAT_DTS = 7;
617 AUDIO_FORMAT_ATRAC = 8;
618 AUDIO_FORMAT_ONE_BIT = 9;
619 AUDIO_FORMAT_DD_PLUS = 10;
620 AUDIO_FORMAT_DTS_HD = 11;
621 AUDIO_FORMAT_MLP_DOLBY_TRUEHD = 12;
622 AUDIO_FORMAT_DST_AUDIO = 13;
623 AUDIO_FORMAT_MICROSOFT_WMA_PRO = 14;
625 optional AudioFormat audio_format = 1;
627 // Number of channels (e.g. 1, 2, 8, etc.).
628 optional int32 num_channels = 2;
630 // Supported sample frequencies in Hz (e.g. 32000, 44100, etc.).
631 // Multiple frequencies may be specified.
632 repeated int32 sample_frequency_hz = 3;
634 // Maximum bit rate in bits/s.
635 optional int32 max_bit_rate_per_second = 4;
637 // Bit depth (e.g. 16, 20, 24, etc.).
638 optional int32 bit_depth = 5;
640 repeated AudioDescription audio_description = 9;
642 // The position in AV setup.
643 // A value of 0 means this device is the TV.
644 // A value of 1 means this device is directly connected to one of
646 // Values > 1 indicate there are 1 or more devices between this device
648 optional int32 position_in_setup = 10;
650 // Whether this device is in the path to the TV.
651 optional bool is_in_path_to_tv = 11;
653 // The CEC version the device supports.
654 // CEC stands for Consumer Electronics Control, a part of the HDMI
655 // specification. Not all HDMI devices support CEC.
656 // Only devices that support CEC will report a value here.
657 optional int32 cec_version = 12;
659 // This message reports CEC commands seen by a device.
660 // After each log is sent, this information is cleared and gathered again.
661 // By collecting CEC status information by opcode we can determine
662 // which CEC features can be supported.
664 // The CEC command opcode. CEC supports up to 256 opcodes.
665 // We add only one CECCommand message per unique opcode. Only opcodes
666 // seen by the device will be reported. The remainder of the message
667 // accumulates status for this opcode (and device).
668 optional int32 opcode = 1;
670 // The total number of commands received from the external device.
671 optional int32 num_received_direct = 2;
673 // The number of commands received from the external device as part of a
674 // broadcast message.
675 optional int32 num_received_broadcast = 3;
677 // The total number of commands sent to the external device.
678 optional int32 num_sent_direct = 4;
680 // The number of commands sent to the external device as part of a
681 // broadcast message.
682 optional int32 num_sent_broadcast = 5;
684 // The number of aborted commands for unknown reasons.
685 optional int32 num_aborted_unknown_reason = 6;
687 // The number of aborted commands because of an unrecognized opcode.
688 optional int32 num_aborted_unrecognized = 7;
690 repeated CECCommand cec_command = 13;
692 repeated ExternalAudioVideoDevice external_audio_video_device = 14;
694 // Information about the current wireless access point. Collected directly
695 // from the wireless access point via standard apis if the device is
696 // connected to the Internet wirelessly. Introduced for Chrome on TV devices
697 // but also can be collected by ChromeOS, Android or other clients.
698 message ExternalAccessPoint {
699 // The manufacturer name, for example "ASUSTeK Computer Inc.".
700 optional string manufacturer = 1;
702 // The model name, for example "Wi-Fi Protected Setup Router".
703 optional string model_name = 2;
705 // The model number, for example "RT-N16".
706 optional string model_number = 3;
708 // The device name (sometime same as model_number), for example "RT-N16".
709 optional string device_name = 4;
711 optional ExternalAccessPoint external_access_point = 15;
713 // Number of users currently signed into a multiprofile session.
714 // A zero value indicates that the user count changed while the log is open.
715 // Logged only on ChromeOS.
716 optional uint32 multi_profile_user_count = 17;
718 // Information about extensions that are installed, masked to provide better
719 // privacy. Only extensions from a single profile are reported; this will
720 // generally be the profile used when the browser is started. The profile
721 // reported on will remain consistent at least until the browser is
722 // relaunched (or the profile is deleted by the user).
724 // Each client first picks a value for client_key derived from its UMA
726 // client_key = client_id % 4096
727 // Then, each installed extension is mapped into a hash bucket according to
728 // bucket = CityHash64(StringPrintf("%d:%s",
729 // client_key, extension_id)) % 1024
730 // The client reports the set of hash buckets occupied by all installed
731 // extensions. If multiple extensions map to the same bucket, that bucket is
732 // still only reported once.
733 repeated int32 occupied_extension_bucket = 18;
735 // The state of loaded extensions for this system. The system can have either
736 // no applicable extensions, extensions only from the webstore and verified by
737 // the webstore, extensions only from the webstore but not verified, or
738 // extensions not from the store. If there is a single off-store extension,
739 // then HAS_OFFSTORE is reported. This should be kept in sync with the
740 // corresponding enum in chrome/browser/metrics/extensions_metrics_provider.cc
741 enum ExtensionsState {
743 NO_OFFSTORE_VERIFIED = 1;
744 NO_OFFSTORE_UNVERIFIED = 2;
747 optional ExtensionsState offstore_extensions_state = 19;