em 404 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 405 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc em::DeviceLocalAccountInfoProto* account = em 409 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc em::DeviceLocalAccountInfoProto::ACCOUNT_TYPE_PUBLIC_SESSION); em 476 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 1095 chrome/browser/chromeos/login/kiosk_browsertest.cc em::DeviceLocalAccountsProto* accounts = em 1098 chrome/browser/chromeos/login/kiosk_browsertest.cc em::DeviceLocalAccountInfoProto* account = accounts->add_account(); em 1101 chrome/browser/chromeos/login/kiosk_browsertest.cc em::DeviceLocalAccountInfoProto::ACCOUNT_TYPE_KIOSK_APP); em 1104 chrome/browser/chromeos/login/kiosk_browsertest.cc em::PolicyData& policy_data = em 43 chrome/browser/chromeos/login/login_screen_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 445 chrome/browser/chromeos/login/login_utils_browsertest.cc const em::DeviceManagementResponse& response) { em 465 chrome/browser/chromeos/login/login_utils_browsertest.cc em::DeviceManagementResponse response; em 466 chrome/browser/chromeos/login/login_utils_browsertest.cc em::DeviceRegisterResponse* register_response = em 470 chrome/browser/chromeos/login/login_utils_browsertest.cc em::DeviceRegisterResponse::ENTERPRISE); em 475 chrome/browser/chromeos/login/login_utils_browsertest.cc em::DeviceManagementResponse response; em 69 chrome/browser/chromeos/policy/auto_enrollment_client.cc em::DeviceStateRetrievalResponse::RestoreMode restore_mode) { em 71 chrome/browser/chromeos/policy/auto_enrollment_client.cc case em::DeviceStateRetrievalResponse::RESTORE_MODE_NONE: em 73 chrome/browser/chromeos/policy/auto_enrollment_client.cc case em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_REQUESTED: em 75 chrome/browser/chromeos/policy/auto_enrollment_client.cc case em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_ENFORCED: em 271 chrome/browser/chromeos/policy/auto_enrollment_client.cc em::DeviceAutoEnrollmentRequest* request = em 290 chrome/browser/chromeos/policy/auto_enrollment_client.cc em::DeviceStateRetrievalRequest* request = em 304 chrome/browser/chromeos/policy/auto_enrollment_client.cc const em::DeviceManagementResponse& response) { em 334 chrome/browser/chromeos/policy/auto_enrollment_client.cc const em::DeviceManagementResponse& response) { em 336 chrome/browser/chromeos/policy/auto_enrollment_client.cc const em::DeviceAutoEnrollmentResponse& enrollment_response = em 397 chrome/browser/chromeos/policy/auto_enrollment_client.cc const em::DeviceStateRetrievalResponse& state_response = em 88 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceManagementResponse dummy_response; em 95 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceManagementResponse response; em 96 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceAutoEnrollmentResponse* enrollment_response = em 118 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse::RestoreMode restore_mode) { em 119 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceManagementResponse response; em 120 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse* state_response = em 151 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc const em::DeviceAutoEnrollmentRequest& auto_enrollment_request() { em 160 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceManagementRequest last_request_; em 217 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_ENFORCED); em 229 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_ENFORCED); em 280 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_ENFORCED); em 333 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_ENFORCED); em 347 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_ENFORCED); em 364 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_ENFORCED); em 385 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_ENFORCED); em 412 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceManagementResponse()); em 438 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceManagementResponse()); em 452 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_ENFORCED); em 497 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc em::DeviceStateRetrievalResponse::RESTORE_MODE_REENROLLMENT_ENFORCED); em 272 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc em::DeviceLocalAccountInfoProto* account = em 276 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc em::DeviceLocalAccountInfoProto::ACCOUNT_TYPE_PUBLIC_SESSION); em 284 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc em::DeviceLocalAccountsProto* accounts = em 294 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc em::DeviceLocalAccountInfoProto* account = accounts->add_account(); em 297 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc em::DeviceLocalAccountInfoProto::ACCOUNT_TYPE_PUBLIC_SESSION); em 205 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc device_policy_.policy_data().set_state(em::PolicyData::UNMANAGED); em 235 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc device_policy_.policy_data().set_state(em::PolicyData::ACTIVE); em 238 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc em::DeviceManagementResponse policy_fetch_response; em 511 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc em::DeviceManagementResponse register_response_; em 514 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc em::DeviceManagementResponse policy_fetch_response_; em 517 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc em::DeviceManagementResponse robot_auth_fetch_response_; em 522 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc em::DeviceManagementRequest register_request_; em 34 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc const em::PolicyFetchResponse& policy) { em 67 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc const em::PolicyFetchResponse& policy) { em 98 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc const em::PolicyFetchResponse& policy) { em 101 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse>( em 102 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc new em::PolicyFetchResponse(policy)), em 139 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc policy_.reset(new em::PolicyData()); em 14 chrome/browser/chromeos/policy/device_cloud_policy_validator.cc template class CloudPolicyValidator<em::ChromeDeviceSettingsProto>; em 386 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 418 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 419 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::DeviceLocalAccountInfoProto* account = em 423 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::DeviceLocalAccountInfoProto::ACCOUNT_TYPE_PUBLIC_SESSION); em 542 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 546 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::ChromeDeviceSettingsProto policy; em 548 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::DeviceLocalAccountInfoProto* account1 = em 552 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::DeviceLocalAccountInfoProto::ACCOUNT_TYPE_PUBLIC_SESSION); em 572 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::StringListPolicyProto* startup_urls_proto = em 692 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::StringList* forcelist = device_local_account_policy_.payload() em 787 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::StringList* forcelist = device_local_account_policy_.payload() em 52 chrome/browser/chromeos/policy/device_local_account_policy_service.cc const em::PolicyData* policy_data = device_settings_service->policy_data(); em 181 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc em::DeviceLocalAccountInfoProto* account = em 185 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc em::DeviceLocalAccountInfoProto::ACCOUNT_TYPE_PUBLIC_SESSION); em 394 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc em::DeviceManagementRequest request; em 395 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc em::DeviceManagementResponse response; em 446 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc em::DeviceManagementResponse response; em 505 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc em::StringList* forcelist = device_local_account_policy_.payload() em 945 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc em::DeviceManagementResponse response; em 45 chrome/browser/chromeos/policy/device_local_account_policy_store.cc const em::PolicyFetchResponse& policy) { em 49 chrome/browser/chromeos/policy/device_local_account_policy_store.cc make_scoped_ptr(new em::PolicyFetchResponse(policy)), em 60 chrome/browser/chromeos/policy/device_local_account_policy_store.cc scoped_ptr<em::PolicyFetchResponse> policy(new em::PolicyFetchResponse()); em 122 chrome/browser/chromeos/policy/device_local_account_policy_store.cc scoped_ptr<em::PolicyFetchResponse> policy, em 134 chrome/browser/chromeos/policy/device_local_account_policy_store.cc scoped_ptr<em::PolicyFetchResponse> policy_response, em 139 chrome/browser/chromeos/policy/device_local_account_policy_store.cc const em::PolicyData* device_policy_data = em 15 chrome/browser/chromeos/policy/device_policy_builder.cc TypedPolicyBuilder<em::ChromeDeviceSettingsProto>::TypedPolicyBuilder() em 16 chrome/browser/chromeos/policy/device_policy_builder.cc : payload_(new em::ChromeDeviceSettingsProto()) { em 21 chrome/browser/chromeos/policy/device_policy_builder.cc template class TypedPolicyBuilder<em::ChromeDeviceSettingsProto>; em 111 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeLoginPolicies(const em::ChromeDeviceSettingsProto& policy, em 114 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::GuestModeEnabledProto& container(policy.guest_mode_enabled()); em 126 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::ShowUserNamesOnSigninProto& container(policy.show_user_names()); em 138 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::AllowNewUsersProto& container(policy.allow_new_users()); em 150 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::UserWhitelistProto& container(policy.user_whitelist()); em 166 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::EphemeralUsersEnabledProto& container( em 179 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::DeviceLocalAccountsProto& container( em 181 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const RepeatedPtrField<em::DeviceLocalAccountInfoProto>& accounts = em 184 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc RepeatedPtrField<em::DeviceLocalAccountInfoProto>::const_iterator entry; em 250 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::SupervisedUsersSettingsProto& container = em 264 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeKioskPolicies(const em::ChromeDeviceSettingsProto& policy, em 272 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::ForcedLogoutTimeoutsProto& container( em 293 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::ScreenSaverProto& container( em 314 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::AppPackProto& container(policy.app_pack()); em 317 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::AppPackEntryProto& entry(container.app_pack(i)); em 333 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::PinnedAppsProto& container(policy.pinned_apps()); em 348 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeNetworkPolicies(const em::ChromeDeviceSettingsProto& policy, em 352 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::DeviceProxySettingsProto& container( em 381 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::DataRoamingEnabledProto& container(policy.data_roaming_enabled()); em 404 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeReportingPolicies(const em::ChromeDeviceSettingsProto& policy, em 407 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::DeviceReportingProto& container(policy.device_reporting()); em 458 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeAutoUpdatePolicies(const em::ChromeDeviceSettingsProto& policy, em 461 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::ReleaseChannelProto& container(policy.release_channel()); em 486 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::AutoUpdateSettingsProto& container(policy.auto_update_settings()); em 562 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeAccessibilityPolicies(const em::ChromeDeviceSettingsProto& policy, em 565 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::AccessibilitySettingsProto& em 619 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeGenericPolicies(const em::ChromeDeviceSettingsProto& policy, em 622 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::DevicePolicyRefreshRateProto& container( em 635 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::MetricsEnabledProto& container(policy.metrics_enabled()); em 647 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::StartUpUrlsProto& container(policy.start_up_urls()); em 685 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::AllowRedeemChromeOsRegistrationOffersProto& container( em 698 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::UptimeLimitProto& container(policy.uptime_limit()); em 709 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::StartUpFlagsProto& container(policy.start_up_flags()); em 756 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::LoginScreenPowerManagementProto& container( em 773 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::AutoCleanupSettigsProto& container( em 788 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeDevicePolicy(const em::ChromeDeviceSettingsProto& policy, em 348 chrome/browser/chromeos/policy/device_status_collector.cc em::DeviceStatusReportRequest* request) { em 362 chrome/browser/chromeos/policy/device_status_collector.cc em::ActiveTimePeriod* active_period = request->add_active_period(); em 363 chrome/browser/chromeos/policy/device_status_collector.cc em::TimePeriod* period = active_period->mutable_time_period(); em 378 chrome/browser/chromeos/policy/device_status_collector.cc em::DeviceStatusReportRequest* request) { em 386 chrome/browser/chromeos/policy/device_status_collector.cc em::DeviceStatusReportRequest* request) { em 398 chrome/browser/chromeos/policy/device_status_collector.cc em::DeviceStatusReportRequest* request) { em 399 chrome/browser/chromeos/policy/device_status_collector.cc em::DeviceLocation* location = request->mutable_device_location(); em 402 chrome/browser/chromeos/policy/device_status_collector.cc em::DeviceLocation::ERROR_CODE_POSITION_UNAVAILABLE); em 419 chrome/browser/chromeos/policy/device_status_collector.cc location->set_error_code(em::DeviceLocation::ERROR_CODE_NONE); em 424 chrome/browser/chromeos/policy/device_status_collector.cc em::DeviceStatusReportRequest* request) { em 428 chrome/browser/chromeos/policy/device_status_collector.cc em::NetworkInterface::NetworkDeviceType type_constant; em 430 chrome/browser/chromeos/policy/device_status_collector.cc { shill::kTypeEthernet, em::NetworkInterface::TYPE_ETHERNET, }, em 431 chrome/browser/chromeos/policy/device_status_collector.cc { shill::kTypeWifi, em::NetworkInterface::TYPE_WIFI, }, em 432 chrome/browser/chromeos/policy/device_status_collector.cc { shill::kTypeWimax, em::NetworkInterface::TYPE_WIMAX, }, em 433 chrome/browser/chromeos/policy/device_status_collector.cc { shill::kTypeBluetooth, em::NetworkInterface::TYPE_BLUETOOTH, }, em 434 chrome/browser/chromeos/policy/device_status_collector.cc { shill::kTypeCellular, em::NetworkInterface::TYPE_CELLULAR, }, em 455 chrome/browser/chromeos/policy/device_status_collector.cc em::NetworkInterface* interface = request->add_network_interface(); em 466 chrome/browser/chromeos/policy/device_status_collector.cc void DeviceStatusCollector::GetUsers(em::DeviceStatusReportRequest* request) { em 477 chrome/browser/chromeos/policy/device_status_collector.cc em::DeviceUser* device_user = request->add_user(); em 480 chrome/browser/chromeos/policy/device_status_collector.cc device_user->set_type(em::DeviceUser::USER_TYPE_MANAGED); em 484 chrome/browser/chromeos/policy/device_status_collector.cc device_user->set_type(em::DeviceUser::USER_TYPE_UNMANAGED); em 496 chrome/browser/chromeos/policy/device_status_collector.cc void DeviceStatusCollector::GetStatus(em::DeviceStatusReportRequest* request) { em 505 chrome/browser/chromeos/policy/device_status_collector.cc em::DeviceStatusReportRequest* status) { em 530 chrome/browser/chromeos/policy/device_status_collector.cc em::SessionStatusReportRequest* status) { em 134 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc int64 GetActiveMilliseconds(em::DeviceStatusReportRequest& status) { em 221 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::DeviceLocation location = status_.device_location(); em 223 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc EXPECT_EQ(em::DeviceLocation::ERROR_CODE_NONE, location.error_code()); em 244 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::DeviceLocation location = status_.device_location(); em 246 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc EXPECT_EQ(em::DeviceLocation::ERROR_CODE_POSITION_UNAVAILABLE, em 273 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::DeviceStatusReportRequest status_; em 460 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::ActiveTimePeriod period0 = status_.active_period(0); em 461 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::ActiveTimePeriod period1 = status_.active_period(1); em 465 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::TimePeriod time_period0 = period0.time_period(); em 466 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::TimePeriod time_period1 = period1.time_period(); em 487 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::DeviceStatusReportRequest first_status(status_); em 624 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc EXPECT_EQ(em::DeviceUser::USER_TYPE_MANAGED, status_.user(0).type()); em 626 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc EXPECT_EQ(em::DeviceUser::USER_TYPE_MANAGED, status_.user(1).type()); em 628 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc EXPECT_EQ(em::DeviceUser::USER_TYPE_MANAGED, status_.user(2).type()); em 630 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc EXPECT_EQ(em::DeviceUser::USER_TYPE_UNMANAGED, status_.user(3).type()); em 632 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc EXPECT_EQ(em::DeviceUser::USER_TYPE_MANAGED, status_.user(4).type()); em 656 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc EXPECT_EQ(em::DeviceUser::USER_TYPE_UNMANAGED, status_.user(i).type()); em 657 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc EXPECT_EQ(em::DeviceUser::USER_TYPE_MANAGED, status_.user(6).type()); em 675 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::NetworkInterface::TYPE_ETHERNET }, em 678 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::NetworkInterface::TYPE_CELLULAR }, em 681 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::NetworkInterface::TYPE_CELLULAR }, em 684 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::NetworkInterface::TYPE_WIFI }, em 687 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc em::NetworkInterface::TYPE_BLUETOOTH }, em 751 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc google::protobuf::RepeatedPtrField<em::NetworkInterface>::const_iterator em 120 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 146 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 98 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc const em::PolicyFetchResponse* policy = client_->GetPolicyFor( em 108 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc scoped_ptr<em::PolicyFetchResponse>( em 109 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc new em::PolicyFetchResponse(*policy)), em 196 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc client_->Register(em::DeviceRegisterRequest::DEVICE, em 39 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc const em::AccessibilitySettingsProto_ScreenMagnifierType kFullScreenMagnifier = em 40 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc em::AccessibilitySettingsProto_ScreenMagnifierType_SCREEN_MAGNIFIER_TYPE_FULL; em 247 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 271 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 295 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 319 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 347 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 371 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 395 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 418 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 444 chrome/browser/chromeos/policy/login_screen_default_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 334 chrome/browser/chromeos/policy/power_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 347 chrome/browser/chromeos/policy/power_policy_browsertest.cc em::ChromeDeviceSettingsProto& proto(device_policy()->payload()); em 308 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc client()->Register(em::DeviceRegisterRequest::USER, policy_token, em 122 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc em::DeviceRegisterResponse* register_response = em 126 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc em::CloudPolicySettings policy_proto; em 133 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc em::PolicyFetchResponse* policy_response = em 312 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc em::PolicyData policy_data_; em 313 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc em::DeviceManagementResponse register_blob_; em 314 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc em::DeviceManagementResponse policy_blob_; em 374 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->policy_.reset(new em::PolicyData(policy_data_)); em 451 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc em::DeviceManagementResponse()); em 492 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc em::DeviceManagementResponse()); em 573 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc store_->policy_.reset(new em::PolicyData(policy_data_)); em 66 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse>)> Callback; em 84 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const em::CachedCloudPolicyResponse& policy) OVERRIDE; em 103 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy_; em 144 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const em::CachedCloudPolicyResponse& policy) { em 148 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy_.reset(new em::PolicyFetchResponse(policy.cloud_policy())); em 200 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const em::PolicyFetchResponse& policy) { em 203 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> response( em 204 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc new em::PolicyFetchResponse(policy)); em 239 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy(new em::PolicyFetchResponse()); em 273 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy) { em 361 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy(new em::PolicyFetchResponse()); em 376 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy) { em 427 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy) { em 475 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy_.reset(new em::PolicyData()); em 399 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc em::DeviceCredentials credentials; em 405 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc em::CachedCloudPolicyResponse cached_policy; em 415 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc em::PolicyData expected_policy_data; em 432 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc em::CachedCloudPolicyResponse cached_policy; em 442 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc em::PolicyData expected_policy_data; em 456 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc em::DeviceCredentials credentials; em 467 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc em::PolicyData expected_policy_data; em 482 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc em::CachedCloudPolicyResponse cached_policy; em 492 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc em::PolicyData expected_policy_data; em 40 chrome/browser/chromeos/policy/user_policy_disk_cache.cc const em::CachedCloudPolicyResponse& policy) { em 52 chrome/browser/chromeos/policy/user_policy_disk_cache.cc em::CachedCloudPolicyResponse cached_response; em 80 chrome/browser/chromeos/policy/user_policy_disk_cache.cc const em::CachedCloudPolicyResponse& policy) { em 89 chrome/browser/chromeos/policy/user_policy_disk_cache.cc const em::CachedCloudPolicyResponse& policy) { em 113 chrome/browser/chromeos/policy/user_policy_disk_cache.cc const em::CachedCloudPolicyResponse& policy) { em 48 chrome/browser/chromeos/policy/user_policy_token_loader.cc em::DeviceCredentials device_credentials; em 79 chrome/browser/chromeos/settings/cros_settings_unittest.cc void PrepareEmptyPolicy(em::PolicyData* policy) { em 81 chrome/browser/chromeos/settings/cros_settings_unittest.cc em::PolicyFetchResponse response; em 82 chrome/browser/chromeos/settings/cros_settings_unittest.cc em::ChromeDeviceSettingsProto pol; em 27 chrome/browser/chromeos/settings/device_settings_cache.cc bool Store(const em::PolicyData& policy, PrefService* local_state) { em 38 chrome/browser/chromeos/settings/device_settings_cache.cc bool Retrieve(em::PolicyData *policy, PrefService* local_state) { em 22 chrome/browser/chromeos/settings/device_settings_cache_unittest.cc em::ChromeDeviceSettingsProto pol; em 30 chrome/browser/chromeos/settings/device_settings_cache_unittest.cc em::PolicyData policy_; em 36 chrome/browser/chromeos/settings/device_settings_cache_unittest.cc em::PolicyData policy_out; em 42 chrome/browser/chromeos/settings/device_settings_cache_unittest.cc em::ChromeDeviceSettingsProto pol; em 53 chrome/browser/chromeos/settings/device_settings_cache_unittest.cc em::PolicyData policy_out; em 155 chrome/browser/chromeos/settings/device_settings_provider.cc em::ChromeDeviceSettingsProto new_settings( em 175 chrome/browser/chromeos/settings/device_settings_provider.cc em::PolicyData policy_data; em 203 chrome/browser/chromeos/settings/device_settings_provider.cc em::AllowNewUsersProto* allow = em 211 chrome/browser/chromeos/settings/device_settings_provider.cc em::GuestModeEnabledProto* guest = em 219 chrome/browser/chromeos/settings/device_settings_provider.cc em::ShowUserNamesOnSigninProto* show = em 227 chrome/browser/chromeos/settings/device_settings_provider.cc em::DeviceLocalAccountsProto* device_local_accounts = em 236 chrome/browser/chromeos/settings/device_settings_provider.cc em::DeviceLocalAccountInfoProto* account = em 247 chrome/browser/chromeos/settings/device_settings_provider.cc static_cast<em::DeviceLocalAccountInfoProto::AccountType>( em 264 chrome/browser/chromeos/settings/device_settings_provider.cc em::DeviceLocalAccountsProto* device_local_accounts = em 272 chrome/browser/chromeos/settings/device_settings_provider.cc em::DeviceLocalAccountsProto* device_local_accounts = em 280 chrome/browser/chromeos/settings/device_settings_provider.cc em::DeviceLocalAccountsProto* device_local_accounts = em 289 chrome/browser/chromeos/settings/device_settings_provider.cc em::DeviceLocalAccountsProto* device_local_accounts = em 297 chrome/browser/chromeos/settings/device_settings_provider.cc em::DataRoamingEnabledProto* roam = em 305 chrome/browser/chromeos/settings/device_settings_provider.cc em::ReleaseChannelProto* release_channel = em 313 chrome/browser/chromeos/settings/device_settings_provider.cc em::MetricsEnabledProto* metrics = em 322 chrome/browser/chromeos/settings/device_settings_provider.cc em::UserWhitelistProto* whitelist_proto = em 335 chrome/browser/chromeos/settings/device_settings_provider.cc em::EphemeralUsersEnabledProto* ephemeral_users_enabled = em 345 chrome/browser/chromeos/settings/device_settings_provider.cc em::AllowRedeemChromeOsRegistrationOffersProto* allow_redeem_offers = em 355 chrome/browser/chromeos/settings/device_settings_provider.cc em::StartUpFlagsProto* flags_proto = em 368 chrome/browser/chromeos/settings/device_settings_provider.cc em::SystemUse24HourClockProto* use_24hour_clock_proto = em 378 chrome/browser/chromeos/settings/device_settings_provider.cc em::AttestationSettingsProto* attestation_settings = em 412 chrome/browser/chromeos/settings/device_settings_provider.cc em::PolicyData data; em 433 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, em 480 chrome/browser/chromeos/settings/device_settings_provider.cc const em::UserWhitelistProto& whitelist_proto = policy.user_whitelist(); em 490 chrome/browser/chromeos/settings/device_settings_provider.cc const em::DeviceLocalAccountsProto device_local_accounts_proto = em 492 chrome/browser/chromeos/settings/device_settings_provider.cc const RepeatedPtrField<em::DeviceLocalAccountInfoProto>& accounts = em 494 chrome/browser/chromeos/settings/device_settings_provider.cc RepeatedPtrField<em::DeviceLocalAccountInfoProto>::const_iterator entry; em 545 chrome/browser/chromeos/settings/device_settings_provider.cc const em::StartUpFlagsProto& flags_proto = policy.start_up_flags(); em 556 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, em 587 chrome/browser/chromeos/settings/device_settings_provider.cc typedef RepeatedPtrField<em::AppPackEntryProto> proto_type; em 608 chrome/browser/chromeos/settings/device_settings_provider.cc const em::StartUpUrlsProto& urls_proto = policy.start_up_urls(); em 619 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, em 630 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, em 633 chrome/browser/chromeos/settings/device_settings_provider.cc const em::AutoUpdateSettingsProto& au_settings_proto = em 651 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, em 654 chrome/browser/chromeos/settings/device_settings_provider.cc const em::DeviceReportingProto& reporting_policy = em 685 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, em 755 chrome/browser/chromeos/settings/device_settings_provider.cc const em::PolicyData& policy_data, em 756 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& settings, em 823 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& settings) { em 852 chrome/browser/chromeos/settings/device_settings_provider.cc em::PolicyData empty_policy_data; em 903 chrome/browser/chromeos/settings/device_settings_provider.cc const em::PolicyData* policy_data = em 905 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto* device_settings = em 966 chrome/browser/chromeos/settings/device_settings_provider.cc scoped_ptr<em::ChromeDeviceSettingsProto>( em 967 chrome/browser/chromeos/settings/device_settings_provider.cc new em::ChromeDeviceSettingsProto(device_settings_)), em 266 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc em::DeviceLocalAccountInfoProto* account = em 128 chrome/browser/chromeos/settings/device_settings_service.cc scoped_ptr<em::ChromeDeviceSettingsProto> new_settings, em 139 chrome/browser/chromeos/settings/device_settings_service.cc void DeviceSettingsService::Store(scoped_ptr<em::PolicyFetchResponse> policy, em 144 chrome/browser/chromeos/settings/device_settings_service_unittest.cc scoped_ptr<em::ChromeDeviceSettingsProto> new_device_settings( em 145 chrome/browser/chromeos/settings/device_settings_service_unittest.cc new em::ChromeDeviceSettingsProto(device_policy_.payload())); em 168 chrome/browser/chromeos/settings/device_settings_service_unittest.cc scoped_ptr<em::ChromeDeviceSettingsProto> new_device_settings( em 169 chrome/browser/chromeos/settings/device_settings_service_unittest.cc new em::ChromeDeviceSettingsProto(device_policy_.payload())); em 197 chrome/browser/chromeos/settings/device_settings_service_unittest.cc scoped_ptr<em::ChromeDeviceSettingsProto>( em 198 chrome/browser/chromeos/settings/device_settings_service_unittest.cc new em::ChromeDeviceSettingsProto(device_policy_.payload())), em 142 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_ptr<em::PolicyFetchResponse> policy(new em::PolicyFetchResponse()); em 228 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_ptr<em::PolicyFetchResponse> policy) em 251 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_ptr<em::ChromeDeviceSettingsProto> new_settings, em 284 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_ptr<em::ChromeDeviceSettingsProto> device_settings, em 288 chrome/browser/chromeos/settings/session_manager_operation.cc em::PolicyFetchResponse policy_response; em 289 chrome/browser/chromeos/settings/session_manager_operation.cc em::PolicyData policy; em 236 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc scoped_ptr<em::ChromeDeviceSettingsProto>( em 237 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc new em::ChromeDeviceSettingsProto(policy_.payload())), em 249 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc scoped_ptr<em::PolicyFetchResponse> policy_response( em 250 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc new em::PolicyFetchResponse()); em 210 chrome/browser/policy/cloud/cloud_policy_browsertest.cc em::DeviceRegisterRequest::Type registration_type = em 212 chrome/browser/policy/cloud/cloud_policy_browsertest.cc em::DeviceRegisterRequest::USER; em 214 chrome/browser/policy/cloud/cloud_policy_browsertest.cc em::DeviceRegisterRequest::BROWSER; em 394 chrome/browser/policy/cloud/cloud_policy_browsertest.cc em::ChromeSettingsProto chrome_settings; em 399 chrome/browser/policy/cloud/cloud_policy_browsertest.cc em::StringList* list = em 406 chrome/browser/policy/cloud/cloud_policy_browsertest.cc em::PolicyOptions::MANDATORY); em 409 chrome/browser/policy/cloud/cloud_policy_browsertest.cc em::PolicyOptions::RECOMMENDED); em 412 chrome/browser/policy/cloud/cloud_policy_browsertest.cc em::CloudPolicySettings cloud_policy; em 421 chrome/browser/policy/cloud/cloud_policy_browsertest.cc em::PolicyOptions::MANDATORY); em 424 chrome/browser/policy/cloud/cloud_policy_browsertest.cc em::PolicyOptions::RECOMMENDED); em 125 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc em::DeviceRegisterRequest::Type registration_type = em 127 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc em::DeviceRegisterRequest::USER; em 129 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc em::DeviceRegisterRequest::BROWSER; em 145 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc em::DeviceRegisterRequest::Type expected_type = em 147 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc em::DeviceRegisterRequest::USER; em 149 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc em::DeviceRegisterRequest::BROWSER; em 187 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc em::DeviceRegisterRequest::Type expected_type = em 189 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc em::DeviceRegisterRequest::USER; em 191 chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc em::DeviceRegisterRequest::BROWSER; em 44 chrome/browser/policy/cloud/device_management_service_browsertest.cc em::DeviceManagementRequest request; em 46 chrome/browser/policy/cloud/device_management_service_browsertest.cc em::DeviceManagementResponse response; em 98 chrome/browser/policy/cloud/device_management_service_browsertest.cc const em::DeviceManagementResponse&)); em 114 chrome/browser/policy/cloud/device_management_service_browsertest.cc const em::DeviceManagementResponse& response) { em 166 chrome/browser/policy/cloud/device_management_service_browsertest.cc const em::DeviceManagementResponse& response) { em 198 chrome/browser/policy/cloud/device_management_service_browsertest.cc em::DeviceServiceApiAccessRequest* request = em 221 chrome/browser/policy/cloud/device_management_service_browsertest.cc em::DevicePolicyRequest* request = em 67 chrome/browser/policy/cloud/test_request_interceptor.cc em::DeviceManagementRequest* request_msg) { em 99 chrome/browser/policy/cloud/test_request_interceptor.cc em::DeviceRegisterRequest::Type expected_type, em 103 chrome/browser/policy/cloud/test_request_interceptor.cc em::DeviceManagementRequest request_msg; em 116 chrome/browser/policy/cloud/test_request_interceptor.cc const em::DeviceRegisterRequest& register_request = em 130 chrome/browser/policy/cloud/test_request_interceptor.cc em::DeviceManagementResponse response; em 131 chrome/browser/policy/cloud/test_request_interceptor.cc em::DeviceRegisterResponse* register_response = em 262 chrome/browser/policy/cloud/test_request_interceptor.cc em::DeviceRegisterRequest::Type expected_type, em 291 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::DeviceManagementResponse registration_blob; em 296 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::DeviceRegisterResponse::ENTERPRISE); em 333 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::DeviceManagementResponse policy_blob; em 334 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::PolicyData policy_data; em 336 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::PolicyFetchResponse* policy_response = em 668 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::DeviceManagementResponse()); em 700 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::DeviceManagementResponse registration_blob; em 705 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::DeviceRegisterResponse::ENTERPRISE); em 736 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::DeviceManagementResponse()); em 776 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::DeviceManagementResponse()); em 804 chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc em::DeviceManagementResponse()); em 136 chrome/browser/ui/webui/policy_ui.cc base::string16 FormatAssociationState(const em::PolicyData* data) { em 139 chrome/browser/ui/webui/policy_ui.cc case em::PolicyData::ACTIVE: em 141 chrome/browser/ui/webui/policy_ui.cc case em::PolicyData::UNMANAGED: em 144 chrome/browser/ui/webui/policy_ui.cc case em::PolicyData::DEPROVISIONED: em 174 chrome/browser/ui/webui/policy_ui.cc const em::PolicyData* policy = store->policy(); em 25 components/policy/core/common/cloud/cloud_policy_client.cc em::DeviceRegisterResponse::DeviceMode mode) { em 27 components/policy/core/common/cloud/cloud_policy_client.cc case em::DeviceRegisterResponse::ENTERPRISE: em 29 components/policy/core/common/cloud/cloud_policy_client.cc case em::DeviceRegisterResponse::RETAIL: em 92 components/policy/core/common/cloud/cloud_policy_client.cc void CloudPolicyClient::Register(em::DeviceRegisterRequest::Type type, em 117 components/policy/core/common/cloud/cloud_policy_client.cc em::DeviceRegisterRequest* request = em 158 components/policy/core/common/cloud/cloud_policy_client.cc em::DeviceManagementRequest* request = request_job_->GetRequest(); em 161 components/policy/core/common/cloud/cloud_policy_client.cc em::DevicePolicyRequest* policy_request = request->mutable_policy_request(); em 164 components/policy/core/common/cloud/cloud_policy_client.cc em::PolicyFetchRequest* fetch_request = policy_request->add_request(); em 170 components/policy/core/common/cloud/cloud_policy_client.cc fetch_request->set_signature_type(em::PolicyFetchRequest::SHA1_RSA); em 207 components/policy/core/common/cloud/cloud_policy_client.cc em::DeviceStateKeyUpdateRequest* key_update_request = em 239 components/policy/core/common/cloud/cloud_policy_client.cc em::DeviceServiceApiAccessRequest* request = em 272 components/policy/core/common/cloud/cloud_policy_client.cc em::DeviceManagementRequest* request = request_job_->GetRequest(); em 304 components/policy/core/common/cloud/cloud_policy_client.cc const em::PolicyFetchResponse* CloudPolicyClient::GetPolicyFor( em 328 components/policy/core/common/cloud/cloud_policy_client.cc const em::DeviceManagementResponse& response) { em 358 components/policy/core/common/cloud/cloud_policy_client.cc const em::DeviceManagementResponse& response) { em 381 components/policy/core/common/cloud/cloud_policy_client.cc const em::DeviceManagementResponse& response) { em 392 components/policy/core/common/cloud/cloud_policy_client.cc const em::DevicePolicyResponse& policy_response = em 396 components/policy/core/common/cloud/cloud_policy_client.cc const em::PolicyFetchResponse& response = policy_response.response(i); em 397 components/policy/core/common/cloud/cloud_policy_client.cc em::PolicyData policy_data; em 414 components/policy/core/common/cloud/cloud_policy_client.cc responses_[key] = new em::PolicyFetchResponse(response); em 428 components/policy/core/common/cloud/cloud_policy_client.cc const em::DeviceManagementResponse& response) { em 48 components/policy/core/common/cloud/cloud_policy_client_unittest.cc MOCK_METHOD1(GetDeviceStatus, bool(em::DeviceStatusReportRequest* status)); em 49 components/policy/core/common/cloud/cloud_policy_client_unittest.cc MOCK_METHOD1(GetSessionStatus, bool(em::SessionStatusReportRequest* status)); em 76 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::DeviceRegisterRequest* register_request = em 78 components/policy/core/common/cloud/cloud_policy_client_unittest.cc register_request->set_type(em::DeviceRegisterRequest::USER); em 84 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::PolicyFetchRequest* policy_fetch_request = em 87 components/policy/core/common/cloud/cloud_policy_client_unittest.cc policy_fetch_request->set_signature_type(em::PolicyFetchRequest::SHA1_RSA); em 181 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::PolicyData policy_data; em 188 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::DeviceManagementRequest registration_request_; em 189 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::DeviceManagementRequest policy_request_; em 190 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::DeviceManagementRequest unregistration_request_; em 191 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::DeviceManagementRequest upload_certificate_request_; em 194 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::DeviceManagementResponse registration_response_; em 195 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::DeviceManagementResponse policy_response_; em 196 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::DeviceManagementResponse unregistration_response_; em 197 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::DeviceManagementResponse upload_certificate_response_; em 236 components/policy/core/common/cloud/cloud_policy_client_unittest.cc client_->Register(em::DeviceRegisterRequest::USER, kOAuthToken, std::string(), em 259 components/policy/core/common/cloud/cloud_policy_client_unittest.cc client_->Register(em::DeviceRegisterRequest::USER, kOAuthToken, kClientID, em 269 components/policy/core/common/cloud/cloud_policy_client_unittest.cc client_->Register(em::DeviceRegisterRequest::USER, kOAuthToken, std::string(), em 283 components/policy/core/common/cloud/cloud_policy_client_unittest.cc client_->Register(em::DeviceRegisterRequest::USER, kOAuthToken, std::string(), em 302 components/policy/core/common/cloud/cloud_policy_client_unittest.cc client_->Register(em::DeviceRegisterRequest::USER, kOAuthToken, std::string(), em 351 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::PolicyFetchRequest* policy_fetch_request = em 371 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::PolicyFetchRequest* policy_fetch_request = em 484 components/policy/core/common/cloud/cloud_policy_client_unittest.cc typedef std::map<PolicyNamespaceKey, em::PolicyFetchResponse> ResponseMap; em 495 components/policy/core/common/cloud/cloud_policy_client_unittest.cc em::PolicyData policy_data; em 524 components/policy/core/common/cloud/cloud_policy_client_unittest.cc const em::DevicePolicyRequest& policy_request = em 529 components/policy/core/common/cloud/cloud_policy_client_unittest.cc const em::PolicyFetchRequest& fetch_request = policy_request.request(i); em 542 components/policy/core/common/cloud/cloud_policy_client_unittest.cc const em::PolicyFetchResponse* response = client_->GetPolicyFor(it->first); em 223 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_.reset(new em::PolicyData(policy_.policy_data())); em 305 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_.reset(new em::PolicyData(policy_.policy_data())); em 345 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc store_.policy_.reset(new em::PolicyData(policy_.policy_data())); em 44 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.policy_.reset(new em::PolicyData()); em 158 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc store_.policy_->set_state(em::PolicyData::UNMANAGED); em 177 components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc em::PolicyFetchResponse()); em 38 components/policy/core/common/cloud/cloud_policy_service.cc const em::PolicyData* policy = store_->policy(); em 67 components/policy/core/common/cloud/cloud_policy_service.cc const em::PolicyFetchResponse* policy = client_->GetPolicyFor(policy_ns_key_); em 87 components/policy/core/common/cloud/cloud_policy_service.cc const em::PolicyData* policy(store_->policy()); em 56 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_.reset(new em::PolicyData()); em 62 components/policy/core/common/cloud/cloud_policy_service_unittest.cc em::PolicyFetchResponse policy; em 70 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_.reset(new em::PolicyData()); em 105 components/policy/core/common/cloud/cloud_policy_service_unittest.cc em::PolicyFetchResponse policy; em 115 components/policy/core/common/cloud/cloud_policy_service_unittest.cc store_.policy_.reset(new em::PolicyData()); em 161 components/policy/core/common/cloud/cloud_policy_service_unittest.cc em::PolicyFetchResponse policy; em 189 components/policy/core/common/cloud/cloud_policy_service_unittest.cc em::PolicyFetchResponse policy; em 149 components/policy/core/common/cloud/cloud_policy_validator.cc const em::PolicyData* policy_data, em 166 components/policy/core/common/cloud/cloud_policy_validator.cc scoped_ptr<em::PolicyFetchResponse> policy_response, em 215 components/policy/core/common/cloud/cloud_policy_validator.cc policy_data_.reset(new em::PolicyData()); em 309 components/policy/core/common/cloud/cloud_policy_validator.cc em::PolicyPublicKeyAndDomain signed_data; em 550 components/policy/core/common/cloud/cloud_policy_validator.cc template class CloudPolicyValidator<em::CloudPolicySettings>; em 553 components/policy/core/common/cloud/cloud_policy_validator.cc template class CloudPolicyValidator<em::ExternalPolicyData>; em 82 components/policy/core/common/cloud/component_cloud_policy_service.cc void UpdateExternalPolicy(scoped_ptr<em::PolicyFetchResponse> response); em 170 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_ptr<em::PolicyFetchResponse> response) { em 346 components/policy/core/common/cloud/component_cloud_policy_service.cc const em::PolicyData* policy = core_->store()->policy(); em 409 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_ptr<em::PolicyFetchResponse> response( em 410 components/policy/core/common/cloud/component_cloud_policy_service.cc new em::PolicyFetchResponse(*it->second)); em 181 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc em::PolicyData* data = new em::PolicyData(); em 212 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc scoped_ptr<em::PolicyFetchResponse> CreateResponse() { em 214 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc return make_scoped_ptr(new em::PolicyFetchResponse(builder_.policy())); em 468 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc em::PolicyData* data = new em::PolicyData(); em 133 components/policy/core/common/cloud/component_cloud_policy_store.cc scoped_ptr<em::PolicyFetchResponse> proto(new em::PolicyFetchResponse); em 134 components/policy/core/common/cloud/component_cloud_policy_store.cc em::ExternalPolicyData payload; em 248 components/policy/core/common/cloud/component_cloud_policy_store.cc scoped_ptr<em::PolicyFetchResponse> proto, em 250 components/policy/core/common/cloud/component_cloud_policy_store.cc em::ExternalPolicyData* payload) { em 251 components/policy/core/common/cloud/component_cloud_policy_store.cc em::PolicyData policy_data; em 271 components/policy/core/common/cloud/component_cloud_policy_store.cc scoped_ptr<em::PolicyFetchResponse> proto, em 274 components/policy/core/common/cloud/component_cloud_policy_store.cc em::ExternalPolicyData* payload, em 275 components/policy/core/common/cloud/component_cloud_policy_store.cc em::PolicyData* policy_data) { em 295 components/policy/core/common/cloud/component_cloud_policy_store.cc em::ExternalPolicyData* data = validator->payload().get(); em 99 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc scoped_ptr<em::PolicyFetchResponse> CreateResponse() { em 101 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc return make_scoped_ptr(new em::PolicyFetchResponse(builder_.policy())); em 118 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc em::ExternalPolicyData payload; em 129 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc em::ExternalPolicyData payload; em 136 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc em::ExternalPolicyData payload; em 143 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc em::ExternalPolicyData payload; em 150 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc em::ExternalPolicyData payload; em 158 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc em::ExternalPolicyData payload; em 167 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc em::ExternalPolicyData payload; em 174 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc em::ExternalPolicyData payload; em 180 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc em::ExternalPolicyData payload; em 48 components/policy/core/common/cloud/component_cloud_policy_updater.cc scoped_ptr<em::PolicyFetchResponse> response) { em 59 components/policy/core/common/cloud/component_cloud_policy_updater.cc em::ExternalPolicyData data; em 71 components/policy/core/common/cloud/component_cloud_policy_updater.cc if (data.download_auth_method() != em::ExternalPolicyData::NONE) em 72 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc scoped_ptr<em::PolicyFetchResponse> CreateResponse(); em 122 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc scoped_ptr<em::PolicyFetchResponse> em 125 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc return make_scoped_ptr(new em::PolicyFetchResponse(builder_.policy())); em 216 components/policy/core/common/cloud/device_management_service.cc em::DeviceManagementResponse dummy_response; em 226 components/policy/core/common/cloud/device_management_service.cc em::DeviceManagementResponse response; em 347 components/policy/core/common/cloud/device_management_service.cc em::DeviceManagementResponse dummy_response; em 375 components/policy/core/common/cloud/device_management_service.cc em::DeviceManagementRequest* DeviceManagementRequestJob::GetRequest() { em 130 components/policy/core/common/cloud/device_management_service_unittest.cc em::PolicyFetchRequest* fetch_request = em 145 components/policy/core/common/cloud/device_management_service_unittest.cc em::DeviceAutoEnrollmentRequest* request = em 168 components/policy/core/common/cloud/device_management_service_unittest.cc const em::DeviceManagementResponse&)); em 399 components/policy/core/common/cloud/device_management_service_unittest.cc em::DeviceManagementResponse expected_response; em 425 components/policy/core/common/cloud/device_management_service_unittest.cc em::DeviceManagementResponse expected_response; em 452 components/policy/core/common/cloud/device_management_service_unittest.cc em::DeviceManagementResponse expected_response; em 533 components/policy/core/common/cloud/device_management_service_unittest.cc em::DeviceManagementResponse expected_response; em 29 components/policy/core/common/cloud/mock_cloud_policy_client.cc const em::PolicyFetchResponse& policy) { em 30 components/policy/core/common/cloud/mock_cloud_policy_client.cc em::PolicyFetchResponse*& response = responses_[policy_ns_key]; em 66 components/policy/core/common/cloud/mock_device_management_service.cc const em::DeviceManagementResponse& response) em 80 components/policy/core/common/cloud/mock_device_management_service.cc em::DeviceManagementResponse response_; em 102 components/policy/core/common/cloud/mock_device_management_service.cc const em::DeviceManagementResponse& response) OVERRIDE { em 155 components/policy/core/common/cloud/mock_device_management_service.cc const em::DeviceManagementResponse& response) { em 161 components/policy/core/common/cloud/mock_device_management_service.cc const em::DeviceManagementResponse dummy_response; em 151 components/policy/core/common/cloud/policy_builder.cc : policy_data_(new em::PolicyData()) { em 160 components/policy/core/common/cloud/policy_builder.cc policy_data_->set_state(em::PolicyData::ACTIVE); em 260 components/policy/core/common/cloud/policy_builder.cc scoped_ptr<em::PolicyFetchResponse> PolicyBuilder::GetCopy() { em 261 components/policy/core/common/cloud/policy_builder.cc scoped_ptr<em::PolicyFetchResponse> result(new em::PolicyFetchResponse()); em 309 components/policy/core/common/cloud/policy_builder.cc TypedPolicyBuilder<em::CloudPolicySettings>::TypedPolicyBuilder() em 310 components/policy/core/common/cloud/policy_builder.cc : payload_(new em::CloudPolicySettings()) { em 315 components/policy/core/common/cloud/policy_builder.cc template class TypedPolicyBuilder<em::CloudPolicySettings>; em 319 components/policy/core/common/cloud/policy_builder.cc TypedPolicyBuilder<em::ExternalPolicyData>::TypedPolicyBuilder() em 320 components/policy/core/common/cloud/policy_builder.cc : payload_(new em::ExternalPolicyData()) { em 324 components/policy/core/common/cloud/policy_builder.cc template class TypedPolicyBuilder<em::ExternalPolicyData>; em 37 components/policy/core/common/cloud/user_cloud_policy_store.cc em::PolicyFetchResponse policy; em 38 components/policy/core/common/cloud/user_cloud_policy_store.cc em::PolicySigningKey key; em 124 components/policy/core/common/cloud/user_cloud_policy_store.cc const em::PolicyFetchResponse& policy) { em 137 components/policy/core/common/cloud/user_cloud_policy_store.cc em::PolicySigningKey key_info; em 237 components/policy/core/common/cloud/user_cloud_policy_store.cc scoped_ptr<em::PolicyFetchResponse> cloud_policy( em 238 components/policy/core/common/cloud/user_cloud_policy_store.cc new em::PolicyFetchResponse(result.policy)); em 239 components/policy/core/common/cloud/user_cloud_policy_store.cc scoped_ptr<em::PolicySigningKey> key( em 240 components/policy/core/common/cloud/user_cloud_policy_store.cc new em::PolicySigningKey(result.key)); em 304 components/policy/core/common/cloud/user_cloud_policy_store.cc void UserCloudPolicyStore::Store(const em::PolicyFetchResponse& policy) { em 308 components/policy/core/common/cloud/user_cloud_policy_store.cc scoped_ptr<em::PolicyFetchResponse> policy_copy( em 309 components/policy/core/common/cloud/user_cloud_policy_store.cc new em::PolicyFetchResponse(policy)); em 311 components/policy/core/common/cloud/user_cloud_policy_store.cc scoped_ptr<em::PolicySigningKey>(), em 319 components/policy/core/common/cloud/user_cloud_policy_store.cc scoped_ptr<em::PolicyFetchResponse> policy, em 320 components/policy/core/common/cloud/user_cloud_policy_store.cc scoped_ptr<em::PolicySigningKey> cached_key, em 50 crypto/third_party/nss/chromium-nss.h const unsigned char *em, em 74 crypto/third_party/nss/rsawrapr.c const unsigned char *em, unsigned int emLen, em 90 crypto/third_party/nss/rsawrapr.c (em[emLen - 1] != 0xbc) || em 91 crypto/third_party/nss/rsawrapr.c ((em[0] & 0x80) != 0)) { em 103 crypto/third_party/nss/rsawrapr.c MGF1(maskHashAlg, db, dbMaskLen, &em[dbMaskLen], hash->length); em 107 crypto/third_party/nss/rsawrapr.c db[i] ^= em[i]; em 151 crypto/third_party/nss/rsawrapr.c if (PORT_Memcmp(H_, &em[dbMaskLen], hash->length) != 0) {