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

Unified Diff: chrome/browser/policy/proto/device_management_backend.proto

Issue 9348105: Aggregate device activity, and report per-day activity in device status reports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: arg. Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/policy/device_status_collector_unittest.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/proto/device_management_backend.proto
diff --git a/chrome/browser/policy/proto/device_management_backend.proto b/chrome/browser/policy/proto/device_management_backend.proto
index eb31ebf8a38d843bdc77d1834f4cc93140b43e20..f5da7f7cfe8534f6823b50532f2f6983133a4ea7 100644
--- a/chrome/browser/policy/proto/device_management_backend.proto
+++ b/chrome/browser/policy/proto/device_management_backend.proto
@@ -229,6 +229,11 @@ message TimePeriod {
optional int64 end_timestamp = 2;
}
+message ActiveTimePeriod {
+ optional TimePeriod time_period = 1;
+ optional int32 active_duration = 2;
+}
+
// This captures launch events for one app/extension or other installments.
message InstallableLaunch {
optional string install_id = 1;
@@ -254,11 +259,14 @@ message DeviceStatusReportRequest {
// If the mode is unknown, this field should not be set.
optional string boot_mode = 3;
- // Device active times collection since last report rpc call.
- repeated TimePeriod active_time = 4;
+ // No longer used -- use active_period instead.
+ repeated TimePeriod active_time = 4 [deprecated=true];
// The browser version string as shown in the About dialog.
optional string browser_version = 5;
+
+ // A list of periods when the device was active, aggregated by day.
+ repeated ActiveTimePeriod active_period = 6;
}
// Report session (a user on one device) level status.
« no previous file with comments | « chrome/browser/policy/device_status_collector_unittest.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698