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

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

Issue 1052673002: Expose kDeviceLoginScreenDomainAutoComplete through CrosSettings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 // will be enabled when the login screen is shown. If this policy is set to 458 // will be enabled when the login screen is shown. If this policy is set to
459 // false, the on-screen keyboard will be disabled when the login screen is 459 // false, the on-screen keyboard will be disabled when the login screen is
460 // shown. Users can temporarily override this setting by enabling or disabling 460 // shown. Users can temporarily override this setting by enabling or disabling
461 // the on-screen keyboard. However, the user's choice is not persistent and 461 // the on-screen keyboard. However, the user's choice is not persistent and
462 // the default is restored whenever the login screen is shown anew or the user 462 // the default is restored whenever the login screen is shown anew or the user
463 // remains idle on the login screen for a minute. If this policy is left 463 // remains idle on the login screen for a minute. If this policy is left
464 // unset, the on-screen keyboard is disabled when the login screen is first 464 // unset, the on-screen keyboard is disabled when the login screen is first
465 // shown. Users can enable or disable the on-screen keyboard anytime and its 465 // shown. Users can enable or disable the on-screen keyboard anytime and its
466 // status on the login screen is persisted between users. 466 // status on the login screen is persisted between users.
467 optional bool login_screen_default_virtual_keyboard_enabled = 5; 467 optional bool login_screen_default_virtual_keyboard_enabled = 5;
468
469 // If this policy is not configured or set to a blank string,
470 // no autocomplete option during user sign-in flow will be shown.
471 // If this policy is set to a string representing a domain name, an
472 // autocomplete option during user sign-in will be shown allowing the user
473 // to type in only his user name without the domain name extension. The user
474 // will be able to overwrite this domain name extension.
475 optional string login_screen_domain_auto_complete = 6;
476 } 468 }
477 469
478 message SupervisedUsersSettingsProto { 470 message SupervisedUsersSettingsProto {
479 // Defines whether supervised users can be created on the device. 471 // Defines whether supervised users can be created on the device.
480 optional bool supervised_users_enabled = 1; 472 optional bool supervised_users_enabled = 1;
481 } 473 }
482 474
483 message LoginScreenPowerManagementProto { 475 message LoginScreenPowerManagementProto {
484 // Configures power management on the login screen. The policy should be 476 // Configures power management on the login screen. The policy should be
485 // specified as a string that expresses the individual settings in JSON 477 // specified as a string that expresses the individual settings in JSON
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 // How frequently devices send heartbeats back to server. The unit is in 607 // How frequently devices send heartbeats back to server. The unit is in
616 // milliseconds. The default is 2 minutes. 608 // milliseconds. The default is 2 minutes.
617 optional int64 heartbeat_frequency = 2 [default = 120000]; 609 optional int64 heartbeat_frequency = 2 [default = 120000];
618 } 610 }
619 611
620 message ExtensionCacheSizeProto { 612 message ExtensionCacheSizeProto {
621 // Specifies the maximum extension cache size, in bytes. 613 // Specifies the maximum extension cache size, in bytes.
622 optional int64 extension_cache_size = 1; 614 optional int64 extension_cache_size = 1;
623 } 615 }
624 616
617 message LoginScreenDomainAutoCompleteProto {
618 // If this policy is not configured or set to a blank string,
619 // no autocomplete option during user sign-in flow will be shown.
Mattias Nissler (ping if slow) 2015/04/07 12:29:45 Shouldn't it default to consumer gaia (i.e. @gmail
peletskyi 2015/04/07 13:48:12 According to design doc: "Empty String (Not config
620 // If this policy is set to a string representing a domain name, an
621 // autocomplete option during user sign-in will be shown allowing the user
622 // to type in only his user name without the domain name extension. The user
623 // will be able to overwrite this domain name extension.
624 optional string login_screen_domain_auto_complete = 1;
625 }
626
625 message ChromeDeviceSettingsProto { 627 message ChromeDeviceSettingsProto {
626 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 628 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
627 optional UserWhitelistProto user_whitelist = 2; 629 optional UserWhitelistProto user_whitelist = 2;
628 optional GuestModeEnabledProto guest_mode_enabled = 3; 630 optional GuestModeEnabledProto guest_mode_enabled = 3;
629 optional DeviceProxySettingsProto device_proxy_settings = 4; 631 optional DeviceProxySettingsProto device_proxy_settings = 4;
630 optional CameraEnabledProto camera_enabled = 5; 632 optional CameraEnabledProto camera_enabled = 5;
631 optional ShowUserNamesOnSigninProto show_user_names = 6; 633 optional ShowUserNamesOnSigninProto show_user_names = 6;
632 optional DataRoamingEnabledProto data_roaming_enabled = 7; 634 optional DataRoamingEnabledProto data_roaming_enabled = 7;
633 optional AllowNewUsersProto allow_new_users = 8; 635 optional AllowNewUsersProto allow_new_users = 8;
634 optional MetricsEnabledProto metrics_enabled = 9; 636 optional MetricsEnabledProto metrics_enabled = 9;
(...skipping 19 matching lines...) Expand all
654 optional AccessibilitySettingsProto accessibility_settings = 27; 656 optional AccessibilitySettingsProto accessibility_settings = 27;
655 optional SupervisedUsersSettingsProto supervised_users_settings = 28; 657 optional SupervisedUsersSettingsProto supervised_users_settings = 28;
656 optional LoginScreenPowerManagementProto login_screen_power_management = 29; 658 optional LoginScreenPowerManagementProto login_screen_power_management = 29;
657 optional SystemUse24HourClockProto use_24hour_clock = 30; 659 optional SystemUse24HourClockProto use_24hour_clock = 30;
658 optional AutoCleanupSettigsProto auto_clean_up_settings = 31; 660 optional AutoCleanupSettigsProto auto_clean_up_settings = 31;
659 optional SystemSettingsProto system_settings = 32; 661 optional SystemSettingsProto system_settings = 32;
660 optional SAMLSettingsProto saml_settings = 33; 662 optional SAMLSettingsProto saml_settings = 33;
661 optional RebootOnShutdownProto reboot_on_shutdown = 34; 663 optional RebootOnShutdownProto reboot_on_shutdown = 34;
662 optional DeviceHeartbeatSettingsProto device_heartbeat_settings = 35; 664 optional DeviceHeartbeatSettingsProto device_heartbeat_settings = 35;
663 optional ExtensionCacheSizeProto extension_cache_size = 36; 665 optional ExtensionCacheSizeProto extension_cache_size = 36;
666 optional LoginScreenDomainAutoCompleteProto
667 login_screen_domain_auto_complete = 37;
664 } 668 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698