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

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: Address feedback. 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 // Indicates the type of network device.
365 enum NetworkDeviceType {
366 TYPE_ETHERNET = 0;
367 TYPE_WIFI = 1;
368 TYPE_WIMAX = 2;
369 TYPE_BLUETOOTH = 3;
370 TYPE_CELLULAR = 4;
371 }
372
373 // Network device type.
374 optional NetworkDeviceType type = 1;
375
376 // MAC address (if applicable) of the corresponding network device. This is
377 // formatted as an ASCII string with 12 hex digits. Example: A0B1C2D3E4F5.
378 optional string mac_address = 2;
379
380 // MEID (if applicable) of the corresponding network device. Formatted as
381 // ASCII string composed of 14 hex digits. Example: A10000009296F2.
382 optional string meid = 3;
383
384 // IMEI (if applicable) of the corresponding network device. 15-16 decimal
385 // digits encoded as ASCII string. Example: 355402040158759.
386 optional string imei = 4;
387 }
388
362 // Report device level status. 389 // Report device level status.
363 message DeviceStatusReportRequest { 390 message DeviceStatusReportRequest {
364 // The OS version reported by the device is a platform version 391 // The OS version reported by the device is a platform version
365 // e.g. 1435.0.2011_12_16_1635. 392 // e.g. 1435.0.2011_12_16_1635.
366 optional string os_version = 1; 393 optional string os_version = 1;
367 optional string firmware_version = 2; 394 optional string firmware_version = 2;
368 395
369 // "Verified", "Dev". Same as verified mode. 396 // "Verified", "Dev". Same as verified mode.
370 // If the mode is unknown, this field should not be set. 397 // If the mode is unknown, this field should not be set.
371 optional string boot_mode = 3; 398 optional string boot_mode = 3;
372 399
373 // Device active times collection since last report rpc call. 400 // Device active times collection since last report rpc call.
374 // No longer used -- use active_period instead. 401 // No longer used -- use active_period instead.
375 repeated TimePeriod active_time = 4 [deprecated = true]; 402 repeated TimePeriod active_time = 4 [deprecated = true];
376 403
377 // The browser version string as shown in the About dialog. 404 // The browser version string as shown in the About dialog.
378 // e.g. 17.0.963.18. 405 // e.g. 17.0.963.18.
379 optional string browser_version = 5; 406 optional string browser_version = 5;
380 407
381 // A list of periods when the device was active, aggregated by day. 408 // A list of periods when the device was active, aggregated by day.
382 repeated ActiveTimePeriod active_period = 6; 409 repeated ActiveTimePeriod active_period = 6;
383 410
384 // The device location. 411 // The device location.
385 optional DeviceLocation device_location = 7; 412 optional DeviceLocation device_location = 7;
413
414 // List of network interfaces.
415 repeated NetworkInterface network_interface = 8;
386 } 416 }
387 417
388 // Report session (a user on one device) level status. 418 // Report session (a user on one device) level status.
389 message SessionStatusReportRequest { 419 message SessionStatusReportRequest {
390 // Installed apps for this user on this device. 420 // Installed apps for this user on this device.
391 repeated string installed_app_id = 1; 421 repeated string installed_app_id = 1;
392 422
393 // Installed extensions for this user on this device. 423 // Installed extensions for this user on this device.
394 repeated string installed_extension_id = 2; 424 repeated string installed_extension_id = 2;
395 425
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 592
563 // Auto-enrollment detection response. 593 // Auto-enrollment detection response.
564 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; 594 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8;
565 595
566 // EMCert upload response. 596 // EMCert upload response.
567 optional DeviceCertUploadResponse cert_upload_response = 9; 597 optional DeviceCertUploadResponse cert_upload_response = 9;
568 598
569 // Response to OAuth2 authorization code request. 599 // Response to OAuth2 authorization code request.
570 optional DeviceServiceApiAccessResponse service_api_access_response = 10; 600 optional DeviceServiceApiAccessResponse service_api_access_response = 10;
571 } 601 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698