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

Side by Side Diff: chrome/browser/policy/proto/chromeos/chrome_device_policy.proto

Issue 18153007: Add policies to control power management on the Chrome OS login screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed. 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 // enable or disable the screen magnifier anytime and its status on the login 406 // enable or disable the screen magnifier anytime and its status on the login
407 // screen is persisted between users. 407 // screen is persisted between users.
408 optional ScreenMagnifierType login_screen_default_screen_magnifier_type = 4; 408 optional ScreenMagnifierType login_screen_default_screen_magnifier_type = 4;
409 } 409 }
410 410
411 message SupervisedUsersSettingsProto { 411 message SupervisedUsersSettingsProto {
412 // Defines whether supervised users can be created on the device. 412 // Defines whether supervised users can be created on the device.
413 optional bool supervised_users_enabled = 1; 413 optional bool supervised_users_enabled = 1;
414 } 414 }
415 415
416 message LoginScreenPowerManagementProto {
417 // Configures power management on the login screen. The policy should be
418 // specified as a string that expresses the individual settings in JSON
419 // format, conforming to the following schema:
Mattias Nissler (ping if slow) 2013/07/10 09:45:13 We'll likely need descriptions for the individual
bartfab (slow) 2013/07/16 11:07:34 Thanks for pointing out the "description" field. I
420 // {
421 // "type": "object",
422 // "properties": {
423 // "AC": {
424 // "type": "object",
425 // "properties": {
426 // "Delays": {
427 // "type": "object",
428 // "properties": {
429 // "ScreenDim": {
430 // "type": "integer",
431 // "minimum": 0
432 // },
433 // "ScreenOff": {
434 // "type": "integer",
435 // "minimum": 0
436 // },
437 // "Idle": {
438 // "type": "integer",
439 // "minimum": 0
440 // }
441 // }
442 // },
443 // "IdleAction": {
444 // "enum": [ 0, 2, 3 ]
445 // }
446 // }
447 // },
448 // "Battery": {
449 // "type": "object",
450 // "properties": {
451 // "Delays": {
452 // "type": "object",
453 // "properties": {
454 // "ScreenDim": {
455 // "type": "integer",
456 // "minimum": 0
457 // },
458 // "ScreenOff": {
459 // "type": "integer",
460 // "minimum": 0
461 // },
462 // "Idle": {
463 // "type": "integer",
464 // "minimum": 0
465 // }
466 // }
467 // },
468 // "IdleAction": {
469 // "enum": [ 0, 2, 3 ]
470 // }
471 // }
472 // },
473 // "LidCloseAction": {
474 // "enum": [ 0, 2, 3 ]
475 // },
476 // "UserActivityScreenDimDelayScale": {
477 // "type": "integer",
478 // "minimum": 0
479 // }
480 // }
481 // }
482 optional string login_screen_power_management = 1;
483 }
484
416 message ChromeDeviceSettingsProto { 485 message ChromeDeviceSettingsProto {
417 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 486 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
418 optional UserWhitelistProto user_whitelist = 2; 487 optional UserWhitelistProto user_whitelist = 2;
419 optional GuestModeEnabledProto guest_mode_enabled = 3; 488 optional GuestModeEnabledProto guest_mode_enabled = 3;
420 optional DeviceProxySettingsProto device_proxy_settings = 4; 489 optional DeviceProxySettingsProto device_proxy_settings = 4;
421 optional CameraEnabledProto camera_enabled = 5; 490 optional CameraEnabledProto camera_enabled = 5;
422 optional ShowUserNamesOnSigninProto show_user_names = 6; 491 optional ShowUserNamesOnSigninProto show_user_names = 6;
423 optional DataRoamingEnabledProto data_roaming_enabled = 7; 492 optional DataRoamingEnabledProto data_roaming_enabled = 7;
424 optional AllowNewUsersProto allow_new_users = 8; 493 optional AllowNewUsersProto allow_new_users = 8;
425 optional MetricsEnabledProto metrics_enabled = 9; 494 optional MetricsEnabledProto metrics_enabled = 9;
426 optional ReleaseChannelProto release_channel = 10; 495 optional ReleaseChannelProto release_channel = 10;
427 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; 496 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11;
428 optional DeviceReportingProto device_reporting = 12; 497 optional DeviceReportingProto device_reporting = 12;
429 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; 498 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
430 optional AppPackProto app_pack = 14; 499 optional AppPackProto app_pack = 14;
431 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15; 500 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
432 optional ScreenSaverProto login_screen_saver = 16; 501 optional ScreenSaverProto login_screen_saver = 16;
433 optional AutoUpdateSettingsProto auto_update_settings = 17; 502 optional AutoUpdateSettingsProto auto_update_settings = 17;
434 optional StartUpUrlsProto start_up_urls = 18; 503 optional StartUpUrlsProto start_up_urls = 18;
435 optional PinnedAppsProto pinned_apps = 19; 504 optional PinnedAppsProto pinned_apps = 19;
436 optional SystemTimezoneProto system_timezone = 20; 505 optional SystemTimezoneProto system_timezone = 20;
437 optional DeviceLocalAccountsProto device_local_accounts = 21; 506 optional DeviceLocalAccountsProto device_local_accounts = 21;
438 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; 507 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22;
439 optional StartUpFlagsProto start_up_flags = 23; 508 optional StartUpFlagsProto start_up_flags = 23;
440 optional UptimeLimitProto uptime_limit = 24; 509 optional UptimeLimitProto uptime_limit = 24;
441 optional VariationsParameterProto variations_parameter = 25; 510 optional VariationsParameterProto variations_parameter = 25;
442 optional AttestationSettingsProto attestation_settings = 26; 511 optional AttestationSettingsProto attestation_settings = 26;
443 optional AccessibilitySettingsProto accessibility_settings = 27; 512 optional AccessibilitySettingsProto accessibility_settings = 27;
444 optional SupervisedUsersSettingsProto supervised_users_settings = 28; 513 optional SupervisedUsersSettingsProto supervised_users_settings = 28;
514 optional LoginScreenPowerManagementProto login_screen_power_management = 29;
445 } 515 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698