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

Side by Side Diff: chrome/browser/policy/proto/cloud/device_management_backend.proto

Issue 18348016: If requested, report network interfaces to management server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add test. Created 7 years, 5 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 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 // Time of position measurement in milisecons since Epoch in UTC time. 352 // Time of position measurement in milisecons since Epoch in UTC time.
353 optional int64 timestamp = 8; 353 optional int64 timestamp = 8;
354 354
355 // Error code, see enum above. 355 // Error code, see enum above.
356 optional ErrorCode error_code = 9; 356 optional ErrorCode error_code = 9;
357 357
358 // Human-readable error message. 358 // Human-readable error message.
359 optional string error_message = 10; 359 optional string error_message = 10;
360 } 360 }
361 361
362 // Details about a network interface.
363 message NetworkInterface {
364 // String describing the interface type.
pneubeck (no reviews) 2013/07/04 15:51:48 This should refer to the list of possible strings.
Mattias Nissler (ping if slow) 2013/07/11 17:41:46 Made an enum and translation table instead.
365 optional string type = 1;
Bin 2013/07/10 18:02:49 Once we start collecting network interface address
Mattias Nissler (ping if slow) 2013/07/11 17:41:46 Made an enum.
366
367 // MAC address (if applicable) of the corresponding network device.
Bin 2013/07/10 18:02:49 There are three MAC address formats: MM:MM:MM:SS:
Mattias Nissler (ping if slow) 2013/07/11 17:41:46 Done.
368 optional string mac_address = 2;
pneubeck (no reviews) 2013/07/04 15:51:48 encoding of the MAC address?
Mattias Nissler (ping if slow) 2013/07/11 17:41:46 Done.
369
370 // MEID (if applicable) of the corresponding network device.
371 optional string meid = 3;
Bin 2013/07/10 18:02:49 If I remember correctly, MEID is used for CDMA dev
Mattias Nissler (ping if slow) 2013/07/11 17:41:46 I added a separate field for IMEI, so you have wha
372 }
373
362 // Report device level status. 374 // Report device level status.
363 message DeviceStatusReportRequest { 375 message DeviceStatusReportRequest {
364 // The OS version reported by the device is a platform version 376 // The OS version reported by the device is a platform version
365 // e.g. 1435.0.2011_12_16_1635. 377 // e.g. 1435.0.2011_12_16_1635.
366 optional string os_version = 1; 378 optional string os_version = 1;
367 optional string firmware_version = 2; 379 optional string firmware_version = 2;
368 380
369 // "Verified", "Dev". Same as verified mode. 381 // "Verified", "Dev". Same as verified mode.
370 // If the mode is unknown, this field should not be set. 382 // If the mode is unknown, this field should not be set.
371 optional string boot_mode = 3; 383 optional string boot_mode = 3;
372 384
373 // Device active times collection since last report rpc call. 385 // Device active times collection since last report rpc call.
374 // No longer used -- use active_period instead. 386 // No longer used -- use active_period instead.
375 repeated TimePeriod active_time = 4 [deprecated = true]; 387 repeated TimePeriod active_time = 4 [deprecated = true];
376 388
377 // The browser version string as shown in the About dialog. 389 // The browser version string as shown in the About dialog.
378 // e.g. 17.0.963.18. 390 // e.g. 17.0.963.18.
379 optional string browser_version = 5; 391 optional string browser_version = 5;
380 392
381 // A list of periods when the device was active, aggregated by day. 393 // A list of periods when the device was active, aggregated by day.
382 repeated ActiveTimePeriod active_period = 6; 394 repeated ActiveTimePeriod active_period = 6;
383 395
384 // The device location. 396 // The device location.
385 optional DeviceLocation device_location = 7; 397 optional DeviceLocation device_location = 7;
398
399 // List of network interfaces.
400 repeated NetworkInterface network_interface = 8;
386 } 401 }
387 402
388 // Report session (a user on one device) level status. 403 // Report session (a user on one device) level status.
389 message SessionStatusReportRequest { 404 message SessionStatusReportRequest {
390 // Installed apps for this user on this device. 405 // Installed apps for this user on this device.
391 repeated string installed_app_id = 1; 406 repeated string installed_app_id = 1;
392 407
393 // Installed extensions for this user on this device. 408 // Installed extensions for this user on this device.
394 repeated string installed_extension_id = 2; 409 repeated string installed_extension_id = 2;
395 410
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 577
563 // Auto-enrollment detection response. 578 // Auto-enrollment detection response.
564 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; 579 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8;
565 580
566 // EMCert upload response. 581 // EMCert upload response.
567 optional DeviceCertUploadResponse cert_upload_response = 9; 582 optional DeviceCertUploadResponse cert_upload_response = 9;
568 583
569 // Response to OAuth2 authorization code request. 584 // Response to OAuth2 authorization code request.
570 optional DeviceServiceApiAccessResponse service_api_access_response = 10; 585 optional DeviceServiceApiAccessResponse service_api_access_response = 10;
571 } 586 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698