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

Side by Side Diff: components/policy/proto/device_management_backend.proto

Issue 884063003: Updated device reporting code to report multiple samples of free RAM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package enterprise_management; 9 package enterprise_management;
10 10
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 608
609 // List of recent device users, in descending order by last login time. 609 // List of recent device users, in descending order by last login time.
610 repeated DeviceUser user = 9; 610 repeated DeviceUser user = 9;
611 611
612 // Disk space + other info about mounted/connected volumes. 612 // Disk space + other info about mounted/connected volumes.
613 repeated VolumeInfo volume_info = 10; 613 repeated VolumeInfo volume_info = 10;
614 614
615 // List of visible/configured networks 615 // List of visible/configured networks
616 repeated NetworkState network_state = 11; 616 repeated NetworkState network_state = 11;
617 617
618 // Samples of CPU utilization (0-100), sampled once every 60 seconds. 618 // Samples of CPU utilization (0-100), sampled once every 120 seconds.
619 repeated int32 cpu_utilization_pct = 12; 619 repeated int32 cpu_utilization_pct = 12;
620 620
621 // Free RAM (unreliable due to GC). 621 // Free RAM (unreliable due to GC).
622 optional int64 system_ram_free = 13; 622 optional int64 deprecated_system_ram_free = 13 [deprecated = true];
623 623
624 // Total RAM on the device. 624 // Total RAM on the device.
625 optional int64 system_ram_total = 14; 625 optional int64 system_ram_total = 14;
626
627 // Samples of free RAM [in bytes] (unreliable due to GC).
628 repeated int64 system_ram_free = 15;
626 } 629 }
627 630
628 // Provides status information for an installed app/extension. 631 // Provides status information for an installed app/extension.
629 message AppStatus { 632 message AppStatus {
630 // ID of the installed app/extension 633 // ID of the installed app/extension
631 required string app_id = 1; 634 required string app_id = 1;
632 635
633 // Currently installed version of the app. 636 // Currently installed version of the app.
634 required string extension_version = 2; 637 required string extension_version = 2;
635 638
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 997
995 // Device-state retrieval. 998 // Device-state retrieval.
996 optional DeviceStateRetrievalResponse device_state_retrieval_response = 11; 999 optional DeviceStateRetrievalResponse device_state_retrieval_response = 11;
997 1000
998 // Response to device pairing request. 1001 // Response to device pairing request.
999 optional DevicePairingResponse device_pairing_response = 12; 1002 optional DevicePairingResponse device_pairing_response = 12;
1000 1003
1001 // Response to check device pairing request. 1004 // Response to check device pairing request.
1002 optional CheckDevicePairingResponse check_device_pairing_response = 13; 1005 optional CheckDevicePairingResponse check_device_pairing_response = 13;
1003 } 1006 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698