policy 96 android_webview/browser/hardware_renderer.cc content::SynchronousCompositorMemoryPolicy policy; policy 97 android_webview/browser/hardware_renderer.cc policy.bytes_limit = g_memory_multiplier * kBytesPerPixel * policy 101 android_webview/browser/hardware_renderer.cc policy.bytes_limit = policy 102 android_webview/browser/hardware_renderer.cc (policy.bytes_limit / kMemoryAllocationStep + 1) * kMemoryAllocationStep; policy 103 android_webview/browser/hardware_renderer.cc policy.num_resources_limit = g_num_gralloc_limit; policy 104 android_webview/browser/hardware_renderer.cc SetMemoryPolicy(policy); policy 161 android_webview/browser/hardware_renderer.cc content::SynchronousCompositorMemoryPolicy policy; policy 162 android_webview/browser/hardware_renderer.cc policy.bytes_limit = 0; policy 163 android_webview/browser/hardware_renderer.cc policy.num_resources_limit = 0; policy 164 android_webview/browser/hardware_renderer.cc if (memory_policy_ == policy) policy 172 android_webview/browser/hardware_renderer.cc SetMemoryPolicy(policy); policy 165 android_webview/native/state_serializer.cc if (!pickle->WriteInt(static_cast<int>(referrer.policy))) policy 216 android_webview/native/state_serializer.cc int policy; policy 220 android_webview/native/state_serializer.cc if (!iterator->ReadInt(&policy)) policy 224 android_webview/native/state_serializer.cc referrer.policy = static_cast<blink::WebReferrerPolicy>(policy); policy 48 android_webview/native/state_serializer_unittest.cc referrer.policy = blink::WebReferrerPolicyOrigin; policy 83 android_webview/native/state_serializer_unittest.cc EXPECT_EQ(referrer.policy, copy->GetReferrer().policy); policy 25 base/mac/scoped_block.h base::scoped_policy::OwnershipPolicy policy = base::scoped_policy::ASSUME) policy 27 base/mac/scoped_block.h if (block_ && policy == base::scoped_policy::RETAIN) policy 48 base/mac/scoped_block.h base::scoped_policy::OwnershipPolicy policy = policy 50 base/mac/scoped_block.h if (block && policy == base::scoped_policy::RETAIN) policy 49 base/mac/scoped_cftyperef.h base::scoped_policy::OwnershipPolicy policy = base::scoped_policy::ASSUME) policy 51 base/mac/scoped_cftyperef.h internal::ScopedCFTypeRefTraits>(object, policy) {} policy 55 base/mac/scoped_typeref.h base::scoped_policy::OwnershipPolicy policy = base::scoped_policy::ASSUME) policy 57 base/mac/scoped_typeref.h if (object_ && policy == base::scoped_policy::RETAIN) policy 86 base/mac/scoped_typeref.h base::scoped_policy::OwnershipPolicy policy = policy 88 base/mac/scoped_typeref.h if (object && policy == base::scoped_policy::RETAIN) policy 67 cc/output/context_provider.h typedef base::Callback<void(const ManagedMemoryPolicy& policy)> policy 486 cc/output/output_surface.cc void OutputSurface::SetMemoryPolicy(const ManagedMemoryPolicy& policy) { policy 488 cc/output/output_surface.cc "bytes_limit_when_visible", policy.bytes_limit_when_visible); policy 492 cc/output/output_surface.cc if (policy.bytes_limit_when_visible) policy 493 cc/output/output_surface.cc client_->SetMemoryPolicy(policy); policy 207 cc/output/output_surface.h void SetMemoryPolicy(const ManagedMemoryPolicy& policy); policy 43 cc/output/output_surface_client.h virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) = 0; policy 430 cc/output/output_surface_unittest.cc ManagedMemoryPolicy policy(0); policy 431 cc/output/output_surface_unittest.cc policy.bytes_limit_when_visible = 1234; policy 432 cc/output/output_surface_unittest.cc policy.priority_cutoff_when_visible = policy 435 cc/output/output_surface_unittest.cc context_provider->SetMemoryAllocation(policy); policy 440 cc/output/output_surface_unittest.cc policy.priority_cutoff_when_visible = policy 442 cc/output/output_surface_unittest.cc context_provider->SetMemoryAllocation(policy); policy 447 cc/output/output_surface_unittest.cc policy.bytes_limit_when_visible = 0; policy 448 cc/output/output_surface_unittest.cc context_provider->SetMemoryAllocation(policy); policy 66 cc/resources/tile_priority.cc TileMemoryLimitPolicy policy) { policy 67 cc/resources/tile_priority.cc switch (policy) { policy 132 cc/resources/tile_priority.h TileMemoryLimitPolicy policy); policy 24 cc/test/fake_output_surface_client.cc const ManagedMemoryPolicy& policy) { policy 25 cc/test/fake_output_surface_client.cc memory_policy_ = policy; policy 36 cc/test/fake_output_surface_client.h virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) OVERRIDE; policy 145 cc/test/test_context_provider.cc const ManagedMemoryPolicy& policy) { policy 148 cc/test/test_context_provider.cc memory_policy_changed_callback_.Run(policy); policy 52 cc/test/test_context_provider.h void SetMemoryAllocation(const ManagedMemoryPolicy& policy); policy 1136 cc/trees/layer_tree_host_impl.cc const ManagedMemoryPolicy& policy) { policy 1139 cc/trees/layer_tree_host_impl.cc visible_ ? policy.bytes_limit_when_visible : 0, policy 1141 cc/trees/layer_tree_host_impl.cc visible_ ? policy.priority_cutoff_when_visible policy 1153 cc/trees/layer_tree_host_impl.cc UpdateTileManagerMemoryPolicy(policy); policy 1157 cc/trees/layer_tree_host_impl.cc const ManagedMemoryPolicy& policy) { policy 1165 cc/trees/layer_tree_host_impl.cc if (visible_ && policy.bytes_limit_when_visible > 0) { policy 1167 cc/trees/layer_tree_host_impl.cc policy.bytes_limit_when_visible; policy 1182 cc/trees/layer_tree_host_impl.cc policy.priority_cutoff_when_visible : policy 1184 cc/trees/layer_tree_host_impl.cc global_tile_state_.num_resources_limit = policy.num_resources_limit; policy 1208 cc/trees/layer_tree_host_impl.cc void LayerTreeHostImpl::SetMemoryPolicy(const ManagedMemoryPolicy& policy) { policy 1209 cc/trees/layer_tree_host_impl.cc SetManagedMemoryPolicy(policy, zero_budget_); policy 1220 cc/trees/layer_tree_host_impl.cc const ManagedMemoryPolicy& policy, bool zero_budget) { policy 1221 cc/trees/layer_tree_host_impl.cc if (cached_managed_memory_policy_ == policy && zero_budget_ == zero_budget) policy 1226 cc/trees/layer_tree_host_impl.cc cached_managed_memory_policy_ = policy; policy 236 cc/trees/layer_tree_host_impl.h virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) OVERRIDE; policy 488 cc/trees/layer_tree_host_impl.h void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy); policy 514 cc/trees/layer_tree_host_impl.h void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy, policy 516 cc/trees/layer_tree_host_impl.h void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy); policy 265 chrome/app/chrome_breakpad_client.cc base::UTF8ToUTF16(policy::key::kMetricsReportingEnabled); policy 268 chrome/app/chrome_breakpad_client.cc policy::kRegistryChromePolicyKey, KEY_READ); policy 275 chrome/app/chrome_breakpad_client.cc policy::kRegistryChromePolicyKey, KEY_READ); policy 71 chrome/app/chrome_exe_main_win.cc policy::path_parser::CheckUserDataDirPolicy(&user_data_dir); policy 347 chrome/app/chrome_main_delegate.cc policy::path_parser::CheckUserDataDirPolicy(&user_data_dir); policy 18 chrome/browser/android/bookmarks/managed_bookmarks_shim.cc using policy::ManagedBookmarksPolicyHandler; policy 88 chrome/browser/android/signin/signin_manager_android.cc policy::UserPolicySigninService* service = policy 89 chrome/browser/android/signin/signin_manager_android.cc policy::UserPolicySigninServiceFactory::GetForProfile(profile_); policy 107 chrome/browser/android/signin/signin_manager_android.cc policy::UserPolicySigninService* service = policy 108 chrome/browser/android/signin/signin_manager_android.cc policy::UserPolicySigninServiceFactory::GetForProfile(profile_); policy 144 chrome/browser/android/signin/signin_manager_android.cc policy::UserCloudPolicyManager* manager = policy 145 chrome/browser/android/signin/signin_manager_android.cc policy::UserCloudPolicyManagerFactory::GetForBrowserContext(profile_); policy 146 chrome/browser/android/signin/signin_manager_android.cc policy::CloudPolicyStore* store = manager->core()->store(); policy 148 chrome/browser/android/signin/signin_manager_android.cc if (store && store->is_managed() && store->policy()->has_username()) { policy 151 chrome/browser/android/signin/signin_manager_android.cc env, gaia::ExtractDomainName(store->policy()->username()))); policy 257 chrome/browser/android/signin/signin_manager_android.cc return !policy::BrowserPolicyConnector::IsNonEnterpriseUser(username); policy 21 chrome/browser/android/signin/signin_manager_android.h namespace policy { policy 66 chrome/browser/browser_process.h namespace policy { policy 138 chrome/browser/browser_process.h virtual policy::BrowserPolicyConnector* browser_policy_connector() = 0; policy 142 chrome/browser/browser_process.h virtual policy::PolicyService* policy_service() = 0; policy 491 chrome/browser/browser_process_impl.cc policy::BrowserPolicyConnector* BrowserProcessImpl::browser_policy_connector() { policy 505 chrome/browser/browser_process_impl.cc policy::PolicyService* BrowserProcessImpl::policy_service() { policy 510 chrome/browser/browser_process_impl.cc policy_service_.reset(new policy::PolicyServiceStub()); policy 43 chrome/browser/browser_process_impl.h namespace policy { policy 88 chrome/browser/browser_process_impl.h virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; policy 89 chrome/browser/browser_process_impl.h virtual policy::PolicyService* policy_service() OVERRIDE; policy 172 chrome/browser/browser_process_impl.h scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; policy 177 chrome/browser/browser_process_impl.h scoped_ptr<policy::PolicyService> policy_service_; policy 44 chrome/browser/browser_process_platform_part_base.cc scoped_ptr<policy::BrowserPolicyConnector> policy 48 chrome/browser/browser_process_platform_part_base.cc return scoped_ptr<policy::BrowserPolicyConnector>(); policy 50 chrome/browser/browser_process_platform_part_base.cc return scoped_ptr<policy::BrowserPolicyConnector>( policy 51 chrome/browser/browser_process_platform_part_base.cc new policy::ChromeBrowserPolicyConnector()); policy 15 chrome/browser/browser_process_platform_part_base.h namespace policy { policy 41 chrome/browser/browser_process_platform_part_base.h virtual scoped_ptr<policy::BrowserPolicyConnector> policy 49 chrome/browser/browser_process_platform_part_chromeos.cc policy::BrowserPolicyConnectorChromeOS* policy 51 chrome/browser/browser_process_platform_part_chromeos.cc return static_cast<policy::BrowserPolicyConnectorChromeOS*>( policy 59 chrome/browser/browser_process_platform_part_chromeos.cc scoped_ptr<policy::BrowserPolicyConnector> policy 61 chrome/browser/browser_process_platform_part_chromeos.cc return scoped_ptr<policy::BrowserPolicyConnector>( policy 62 chrome/browser/browser_process_platform_part_chromeos.cc new policy::BrowserPolicyConnectorChromeOS()); policy 24 chrome/browser/browser_process_platform_part_chromeos.h namespace policy { policy 50 chrome/browser/browser_process_platform_part_chromeos.h policy::BrowserPolicyConnectorChromeOS* browser_policy_connector_chromeos(); policy 55 chrome/browser/browser_process_platform_part_chromeos.h virtual scoped_ptr<policy::BrowserPolicyConnector> policy 27 chrome/browser/browsing_data/browsing_data_helper.cc content::ChildProcessSecurityPolicy* policy = policy 29 chrome/browser/browsing_data/browsing_data_helper.cc return (policy->IsWebSafeScheme(scheme) && policy 52 chrome/browser/browsing_data/browsing_data_helper.cc int origin_set_mask, ExtensionSpecialStoragePolicy* policy) { policy 59 chrome/browser/browsing_data/browsing_data_helper.cc if (!policy->IsStorageProtected(origin.GetOrigin()) && policy 65 chrome/browser/browsing_data/browsing_data_helper.cc if (policy->IsStorageProtected(origin.GetOrigin()) && policy 41 chrome/browser/browsing_data/browsing_data_helper.h ExtensionSpecialStoragePolicy* policy); policy 52 chrome/browser/browsing_data/browsing_data_helper_unittest.cc ExtensionSpecialStoragePolicy* policy) { policy 53 chrome/browser/browsing_data/browsing_data_helper_unittest.cc return BrowsingDataHelper::DoesOriginMatchMask(origin, mask, policy); policy 2679 chrome/browser/chrome_content_browser_client.cc sandbox::TargetPolicy* policy, policy 2685 chrome/browser/chrome_content_browser_client.cc sandbox::ResultCode result = policy->AddRule( policy 2696 chrome/browser/chrome_content_browser_client.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES, policy 278 chrome/browser/chrome_content_browser_client.h virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, policy 134 chrome/browser/chromeos/app_mode/app_session_lifetime.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 117 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 121 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, policy 129 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 138 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 147 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::EnterpriseInstallAttributes::LockResult result) { policy 151 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc callback.Run(result == policy::EnterpriseInstallAttributes::LOCK_SUCCESS); policy 178 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 180 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::EnterpriseInstallAttributes* attributes = policy 183 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc case policy::DEVICE_MODE_NOT_SET: { policy 200 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc case policy::DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH: policy 220 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 234 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 243 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc std::vector<policy::DeviceLocalAccount> device_local_accounts = policy 244 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::GetDeviceLocalAccounts(CrosSettings::Get()); policy 247 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc for (std::vector<policy::DeviceLocalAccount>::const_iterator policy 250 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc if (it->type == policy::DeviceLocalAccount::TYPE_KIOSK_APP && policy 257 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc device_local_accounts.push_back(policy::DeviceLocalAccount( policy 258 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::DeviceLocalAccount::TYPE_KIOSK_APP, policy 262 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::SetDeviceLocalAccounts(CrosSettings::Get(), device_local_accounts); policy 270 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc std::vector<policy::DeviceLocalAccount> device_local_accounts = policy 271 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::GetDeviceLocalAccounts(CrosSettings::Get()); policy 276 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc for (std::vector<policy::DeviceLocalAccount>::iterator policy 279 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc if (it->type == policy::DeviceLocalAccount::TYPE_KIOSK_APP && policy 286 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::SetDeviceLocalAccounts(CrosSettings::Get(), device_local_accounts); policy 402 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc const std::vector<policy::DeviceLocalAccount> device_local_accounts = policy 403 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc policy::GetDeviceLocalAccounts(CrosSettings::Get()); policy 404 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc for (std::vector<policy::DeviceLocalAccount>::const_iterator policy 407 chrome/browser/chromeos/app_mode/kiosk_app_manager.cc if (it->type != policy::DeviceLocalAccount::TYPE_KIOSK_APP) policy 186 chrome/browser/chromeos/app_mode/kiosk_app_manager.h policy::EnterpriseInstallAttributes::LockResult result); policy 60 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc policy::EnterpriseInstallAttributes::LockResult* out_locked, policy 62 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc policy::EnterpriseInstallAttributes::LockResult in_locked) { policy 230 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc policy::EnterpriseInstallAttributes::LockResult LockDeviceForEnterprise() { policy 231 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc scoped_ptr<policy::EnterpriseInstallAttributes::LockResult> lock_result( policy 232 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc new policy::EnterpriseInstallAttributes::LockResult( policy 233 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc policy::EnterpriseInstallAttributes::LOCK_NOT_READY)); policy 236 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 240 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc policy::DEVICE_MODE_ENTERPRISE, policy 277 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc policy::DeviceLocalAccount::TYPE_KIOSK_APP); policy 489 chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc policy::EnterpriseInstallAttributes::LOCK_SUCCESS); policy 94 chrome/browser/chromeos/attestation/attestation_policy_observer.cc policy::CloudPolicyClient* policy_client) policy 111 chrome/browser/chromeos/attestation/attestation_policy_observer.cc policy::CloudPolicyClient* policy_client, policy 16 chrome/browser/chromeos/attestation/attestation_policy_observer.h namespace policy { policy 38 chrome/browser/chromeos/attestation/attestation_policy_observer.h explicit AttestationPolicyObserver(policy::CloudPolicyClient* policy_client); policy 42 chrome/browser/chromeos/attestation/attestation_policy_observer.h AttestationPolicyObserver(policy::CloudPolicyClient* policy_client, policy 92 chrome/browser/chromeos/attestation/attestation_policy_observer.h policy::CloudPolicyClient* policy_client_; policy 58 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc const policy::CloudPolicyClient::StatusCallback& callback) { policy 177 chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc StrictMock<policy::MockCloudPolicyClient> policy_client_; policy 210 chrome/browser/chromeos/chrome_browser_main_chromeos.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 21 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc DeviceLocalAccountExternalPolicyLoader(policy::CloudPolicyStore* store, policy 65 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc policy::CloudPolicyStore* store) { policy 72 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc policy::CloudPolicyStore* store) { policy 91 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.cc const policy::PolicyMap& policy_map = store_->policy_map(); policy 28 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h public policy::CloudPolicyStore::Observer, policy 33 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h DeviceLocalAccountExternalPolicyLoader(policy::CloudPolicyStore* store, policy 54 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h virtual void OnStoreLoaded(policy::CloudPolicyStore* store) OVERRIDE; policy 55 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h virtual void OnStoreError(policy::CloudPolicyStore* store) OVERRIDE; policy 69 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader.h policy::CloudPolicyStore* store_; policy 109 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc policy::MockCloudPolicyStore store_; policy 173 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc store_.policy_map_.Set(policy::key::kExtensionInstallForcelist, policy 174 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 175 chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc policy::POLICY_SCOPE_USER, policy 74 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc policy::DeviceLocalAccount::Type account_type) policy 95 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc if (account_type_ == policy::DeviceLocalAccount::TYPE_PUBLIC_SESSION) { policy 112 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc } else if (account_type_ == policy::DeviceLocalAccount::TYPE_KIOSK_APP) { policy 22 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.h policy::DeviceLocalAccount::Type account_type); policy 31 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.h const policy::DeviceLocalAccount::Type account_type_; policy 76 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc provider(policy::DeviceLocalAccount::TYPE_PUBLIC_SESSION); policy 116 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc provider(policy::DeviceLocalAccount::TYPE_KIOSK_APP); policy 146 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 148 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc policy::AppPackUpdater* updater = connector->GetAppPackUpdater(); policy 104 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc policy::AppPackUpdater::ScreenSaverUpdateCallback callback) const { policy 121 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 161 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 163 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc policy::DeviceMode device_mode = connector->GetDeviceMode(); policy 164 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc if (device_mode == policy::DEVICE_MODE_RETAIL_KIOSK) { policy 167 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc } else if (device_mode == policy::DEVICE_MODE_PENDING){ policy 185 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 187 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc policy::DeviceMode device_mode = connector->GetDeviceMode(); policy 190 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc case policy::DEVICE_MODE_PENDING: policy 197 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc case policy::DEVICE_MODE_RETAIL_KIOSK: policy 45 chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h policy::AppPackUpdater::ScreenSaverUpdateCallback callback) const; policy 284 chrome/browser/chromeos/login/app_launch_controller.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 305 chrome/browser/chromeos/login/app_launch_controller.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 210 chrome/browser/chromeos/login/chrome_restart_request.cc policy::switches::kDeviceManagementUrl, policy 25 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc auto_enrollment_state_(policy::AUTO_ENROLLMENT_STATE_IDLE) {} policy 61 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc policy::AutoEnrollmentState state) { policy 67 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc policy::AutoEnrollmentState new_auto_enrollment_state) { policy 75 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc new_auto_enrollment_state == policy::AUTO_ENROLLMENT_STATE_PENDING); policy 89 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_IDLE: policy 92 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_PENDING: policy 93 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_CONNECTION_ERROR: policy 95 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_SERVER_ERROR: policy 97 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_TRIGGER_ENROLLMENT: policy 98 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_NO_ENROLLMENT: policy 137 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc policy::AutoEnrollmentState new_auto_enrollment_state) { policy 139 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_IDLE: policy 143 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_PENDING: policy 144 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_SERVER_ERROR: policy 145 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_TRIGGER_ENROLLMENT: policy 146 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_NO_ENROLLMENT: policy 148 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc case policy::AUTO_ENROLLMENT_STATE_CONNECTION_ERROR: policy 41 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.h void OnAutoEnrollmentCheckProgressed(policy::AutoEnrollmentState state); policy 46 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.h policy::AutoEnrollmentState new_auto_enrollment_state); policy 56 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.h policy::AutoEnrollmentState auto_enrollment_state); policy 72 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.h policy::AutoEnrollmentState auto_enrollment_state_; policy 41 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc if (int_value > policy::AutoEnrollmentClient::kMaximumPower) { policy 43 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc << policy::AutoEnrollmentClient::kMaximumPower << ". Using " policy 44 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc << policy::AutoEnrollmentClient::kMaximumPower; policy 45 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc return policy::AutoEnrollmentClient::kMaximumPower; policy 83 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc : state_(policy::AUTO_ENROLLMENT_STATE_IDLE), policy 106 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc UpdateState(policy::AUTO_ENROLLMENT_STATE_NO_ENROLLMENT); policy 115 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc UpdateState(policy::AUTO_ENROLLMENT_STATE_PENDING); policy 142 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc return state_ == policy::AUTO_ENROLLMENT_STATE_TRIGGER_ENROLLMENT && policy 151 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc UpdateState(policy::AUTO_ENROLLMENT_STATE_NO_ENROLLMENT); policy 155 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc policy::BrowserPolicyConnector* connector = policy 157 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc policy::DeviceManagementService* service = policy 176 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc policy::DeviceCloudPolicyManagerChromeOS::GetCurrentDeviceStateKey(); policy 178 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc device_id = policy::DeviceCloudPolicyManagerChromeOS::GetMachineID(); policy 181 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc client_.reset(new policy::AutoEnrollmentClient( policy 197 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.cc policy::AutoEnrollmentState new_state) { policy 21 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h typedef base::CallbackList<void(policy::AutoEnrollmentState)> policy 63 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h policy::AutoEnrollmentState state() const { return state_; } policy 71 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h void UpdateState(policy::AutoEnrollmentState state); policy 73 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h policy::AutoEnrollmentState state_; policy 78 chrome/browser/chromeos/login/enrollment/auto_enrollment_controller.h scoped_ptr<policy::AutoEnrollmentClient> client_; policy 33 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMA_HISTOGRAM_ENUMERATION(policy::kMetricEnrollment, policy 35 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc policy::kMetricEnrollmentSize); policy 73 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMA(policy::kMetricEnrollmentAutoStarted); policy 94 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMA(is_auto_enrollment() ? policy::kMetricEnrollmentAutoRetried policy 95 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc : policy::kMetricEnrollmentStarted); policy 115 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentLoginFailed); policy 121 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentNotSupported); policy 126 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentNetworkFailed); policy 134 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentOtherFailed); policy 157 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc policy::AutoEnrollmentClient::CancelAutoEnrollment(); policy 158 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMA(is_auto_enrollment() ? policy::kMetricEnrollmentAutoCancelled policy 159 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc : policy::kMetricEnrollmentCancelled); policy 169 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 171 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc if (connector->GetDeviceMode() == policy::DEVICE_MODE_RETAIL_KIOSK) { policy 193 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 199 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentWrongUserError); policy 205 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc policy::DeviceCloudPolicyManagerChromeOS::AllowedDeviceModes device_modes; policy 206 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc device_modes[policy::DEVICE_MODE_ENTERPRISE] = true; policy 207 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc device_modes[policy::DEVICE_MODE_RETAIL_KIOSK] = policy 217 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc policy::EnrollmentStatus status) { policy 218 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc bool success = status.status() == policy::EnrollmentStatus::STATUS_SUCCESS; policy 223 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_SUCCESS: policy 225 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMA(is_auto_enrollment() ? policy::kMetricEnrollmentAutoOK policy 226 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc : policy::kMetricEnrollmentOK); policy 228 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_REGISTRATION_FAILED: policy 229 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_POLICY_FETCH_FAILED: policy 231 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SUCCESS: policy 232 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_REQUEST_INVALID: policy 233 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SERVICE_DEVICE_NOT_FOUND: policy 234 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SERVICE_MANAGEMENT_TOKEN_INVALID: policy 235 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SERVICE_ACTIVATION_PENDING: policy 236 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SERVICE_DEVICE_ID_CONFLICT: policy 237 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SERVICE_POLICY_NOT_FOUND: policy 238 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentOtherFailed); policy 240 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_REQUEST_FAILED: policy 241 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_TEMPORARY_UNAVAILABLE: policy 242 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_HTTP_STATUS_ERROR: policy 243 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_RESPONSE_DECODING_ERROR: policy 244 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentNetworkFailed); policy 246 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SERVICE_MANAGEMENT_NOT_SUPPORTED: policy 247 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentNotSupported); policy 249 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SERVICE_INVALID_SERIAL_NUMBER: policy 250 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentInvalidSerialNumber); policy 252 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SERVICE_MISSING_LICENSES: policy 253 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricMissingLicensesError); policy 255 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SERVICE_DEPROVISIONED: policy 256 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentDeprovisioned); policy 258 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::DM_STATUS_SERVICE_DOMAIN_MISMATCH: policy 259 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentDomainMismatch); policy 263 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_REGISTRATION_BAD_MODE: policy 264 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentInvalidEnrollmentMode); policy 266 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_LOCK_TIMEOUT: policy 267 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricLockboxTimeoutError); policy 269 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_LOCK_WRONG_USER: policy 270 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentWrongUserError); policy 272 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_VALIDATION_FAILED: policy 273 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_STORE_ERROR: policy 274 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_LOCK_ERROR: policy 275 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentOtherFailed); policy 277 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_ROBOT_AUTH_FETCH_FAILED: policy 278 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentRobotAuthCodeFetchFailed); policy 280 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_ROBOT_REFRESH_FETCH_FAILED: policy 281 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentRobotRefreshTokenFetchFailed); policy 283 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc case policy::EnrollmentStatus::STATUS_ROBOT_REFRESH_STORE_FAILED: policy 284 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentRobotRefreshTokenStoreFailed); policy 289 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc UMAFailure(policy::kMetricEnrollmentOtherFailed); policy 294 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc sample = policy::kMetricEnrollmentAutoFailed; policy 63 chrome/browser/chromeos/login/enrollment/enrollment_screen.h void ReportEnrollmentStatus(policy::EnrollmentStatus status); policy 92 chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) = 0; policy 42 chrome/browser/chromeos/login/enrollment/mock_enrollment_screen.h MOCK_METHOD1(ShowEnrollmentStatus, void(policy::EnrollmentStatus status)); policy 950 chrome/browser/chromeos/login/existing_user_controller.cc const std::vector<policy::DeviceLocalAccount> device_local_accounts = policy 951 chrome/browser/chromeos/login/existing_user_controller.cc policy::GetDeviceLocalAccounts(cros_settings_); policy 954 chrome/browser/chromeos/login/existing_user_controller.cc for (std::vector<policy::DeviceLocalAccount>::const_iterator policy 45 chrome/browser/chromeos/login/existing_user_controller_auto_login_unittest.cc : auto_login_user_id_(policy::GenerateDeviceLocalAccountUserId( policy 47 chrome/browser/chromeos/login/existing_user_controller_auto_login_unittest.cc policy::DeviceLocalAccount::TYPE_PUBLIC_SESSION)), policy 82 chrome/browser/chromeos/login/existing_user_controller_auto_login_unittest.cc policy::DeviceLocalAccount::TYPE_PUBLIC_SESSION); policy 83 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc class ExistingUserControllerTest : public policy::DevicePolicyCrosBrowserTest, policy 361 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc : public_session_user_id_(policy::GenerateDeviceLocalAccountUserId( policy 363 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc policy::DeviceLocalAccount::TYPE_PUBLIC_SESSION)) { policy 379 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc policy::CloudPolicyStore* store = policy 388 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc policy::MockCloudPolicyStoreObserver observer; policy 413 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc policy::UserPolicyBuilder device_local_account_policy; policy 417 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc policy::dm_protocol::kChromePublicAccountPolicyType); policy 1153 chrome/browser/chromeos/login/kiosk_browsertest.cc policy::DevicePolicyCrosTestHelper device_policy_test_helper_; policy 664 chrome/browser/chromeos/login/login_display_host_impl.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 934 chrome/browser/chromeos/login/login_display_host_impl.cc policy::AutoEnrollmentState state) { policy 1175 chrome/browser/chromeos/login/login_display_host_impl.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 160 chrome/browser/chromeos/login/login_display_host_impl.h void OnAutoEnrollmentProgress(policy::AutoEnrollmentState state); policy 175 chrome/browser/chromeos/login/login_performer.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 180 chrome/browser/chromeos/login/login_performer.cc wildcard_login_checker_.reset(new policy::WildcardLoginChecker()); policy 287 chrome/browser/chromeos/login/login_performer.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 289 chrome/browser/chromeos/login/login_performer.cc policy::DeviceLocalAccountPolicyService* policy_service = policy 368 chrome/browser/chromeos/login/login_performer.cc policy::WildcardLoginChecker::Result result) { policy 369 chrome/browser/chromeos/login/login_performer.cc if (result == policy::WildcardLoginChecker::RESULT_ALLOWED) { policy 24 chrome/browser/chromeos/login/login_performer.h namespace policy { policy 132 chrome/browser/chromeos/login/login_performer.h policy::WildcardLoginChecker::Result result); policy 160 chrome/browser/chromeos/login/login_performer.h scoped_ptr<policy::WildcardLoginChecker> wildcard_login_checker_; policy 21 chrome/browser/chromeos/login/login_screen_policy_browsertest.cc class LoginScreenPolicyTest : public policy::DevicePolicyCrosBrowserTest { policy 135 chrome/browser/chromeos/login/login_utils_browsertest.cc policy::EnterpriseInstallAttributes::LockResult* out, policy 136 chrome/browser/chromeos/login/login_utils_browsertest.cc policy::EnterpriseInstallAttributes::LockResult result) { policy 208 chrome/browser/chromeos/login/login_utils_browsertest.cc policy::switches::kDeviceManagementUrl, kDMServer); policy 377 chrome/browser/chromeos/login/login_utils_browsertest.cc policy::EnterpriseInstallAttributes::LockResult result; policy 379 chrome/browser/chromeos/login/login_utils_browsertest.cc username, policy::DEVICE_MODE_ENTERPRISE, kDeviceId, policy 382 chrome/browser/chromeos/login/login_utils_browsertest.cc EXPECT_EQ(policy::EnterpriseInstallAttributes::LOCK_SUCCESS, result); policy 447 chrome/browser/chromeos/login/login_utils_browsertest.cc policy::DeviceManagementService::kURLFetcherID); policy 510 chrome/browser/chromeos/login/login_utils_browsertest.cc policy::BrowserPolicyConnectorChromeOS* connector_; policy 555 chrome/browser/chromeos/login/login_utils_browsertest.cc EXPECT_EQ(policy::USER_AFFILIATION_NONE, policy 579 chrome/browser/chromeos/login/login_utils_browsertest.cc EXPECT_EQ(policy::USER_AFFILIATION_NONE, policy 629 chrome/browser/chromeos/login/login_utils_browsertest.cc EXPECT_EQ(policy::USER_AFFILIATION_MANAGED, policy 678 chrome/browser/chromeos/login/login_utils_browsertest.cc next_expected_fetcher_id = policy::DeviceManagementService::kURLFetcherID; policy 90 chrome/browser/chromeos/login/multi_profile_user_controller.cc if (policy::PolicyCertServiceFactory::UsedPolicyCertificates(user_email)) policy 94 chrome/browser/chromeos/login/multi_profile_user_controller.cc if (policy::PolicyCertServiceFactory::UsedPolicyCertificates( policy 107 chrome/browser/chromeos/login/multi_profile_user_controller.cc policy::PolicyCertService* service = policy 108 chrome/browser/chromeos/login/multi_profile_user_controller.cc primary_user_profile ? policy::PolicyCertServiceFactory::GetForProfile( policy 149 chrome/browser/chromeos/login/multi_profile_user_controller.cc policy::PolicyCertServiceFactory::ClearUsedPolicyCertificates(user_email); policy 89 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc policy::PolicyCertVerifier* g_policy_cert_verifier_for_factory = NULL; policy 92 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc return policy::PolicyCertService::CreateForTesting( policy 190 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc scoped_ptr<policy::PolicyCertVerifier> cert_verifier_; policy 316 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc policy::PolicyCertServiceFactory::SetUsedPolicyCertificates(kUsers[0]); policy 335 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc policy::PolicyCertServiceFactory::SetUsedPolicyCertificates(kUsers[0]); policy 344 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc policy::PolicyCertServiceFactory::SetUsedPolicyCertificates(kUsers[0]); policy 347 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc cert_verifier_.reset(new policy::PolicyCertVerifier(base::Closure())); policy 350 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc policy::PolicyCertServiceFactory::GetInstance()->SetTestingFactoryAndUse( policy 355 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc policy::PolicyCertServiceFactory::SetUsedPolicyCertificates(kUsers[1]); policy 373 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc cert_verifier_.reset(new policy::PolicyCertVerifier(base::Closure())); policy 376 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc policy::PolicyCertServiceFactory::GetInstance()->SetTestingFactoryAndUse( policy 378 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc policy::PolicyCertService* service = policy 379 chrome/browser/chromeos/login/multi_profile_user_controller_unittest.cc policy::PolicyCertServiceFactory::GetForProfile(profile(0)); policy 575 chrome/browser/chromeos/login/saml/saml_browsertest.cc policy::MockConfigurationPolicyProvider provider_; policy 592 chrome/browser/chromeos/login/saml/saml_browsertest.cc policy::BrowserPolicyConnector::SetPolicyProviderForTesting(&provider_); policy 606 chrome/browser/chromeos/login/saml/saml_browsertest.cc policy::PolicyMap policy; policy 607 chrome/browser/chromeos/login/saml/saml_browsertest.cc policy.Set(policy::key::kSAMLOfflineSigninTimeLimit, policy 608 chrome/browser/chromeos/login/saml/saml_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy 609 chrome/browser/chromeos/login/saml/saml_browsertest.cc policy::POLICY_SCOPE_USER, policy 612 chrome/browser/chromeos/login/saml/saml_browsertest.cc provider_.UpdateChromePolicy(policy); policy 50 chrome/browser/chromeos/login/screens/terms_of_service_screen.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 268 chrome/browser/chromeos/login/screens/user_image_screen.cc policy::PolicyService* policy_service = policy 269 chrome/browser/chromeos/login/screens/user_image_screen.cc policy::ProfilePolicyConnectorFactory::GetForProfile(profile)-> policy 272 chrome/browser/chromeos/login/screens/user_image_screen.cc policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME, policy 274 chrome/browser/chromeos/login/screens/user_image_screen.cc .Get(policy::key::kUserAvatarImage)) { policy 283 chrome/browser/chromeos/login/screens/user_image_screen.cc policy_registrar_.reset(new policy::PolicyChangeRegistrar( policy 285 chrome/browser/chromeos/login/screens/user_image_screen.cc policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME, std::string()))); policy 287 chrome/browser/chromeos/login/screens/user_image_screen.cc policy::key::kUserAvatarImage, policy 24 chrome/browser/chromeos/login/screens/user_image_screen.h namespace policy { policy 112 chrome/browser/chromeos/login/screens/user_image_screen.h scoped_ptr<policy::PolicyChangeRegistrar> policy_registrar_; policy 84 chrome/browser/chromeos/login/user_image_manager.h virtual void OnExternalDataSet(const std::string& policy) = 0; policy 87 chrome/browser/chromeos/login/user_image_manager.h virtual void OnExternalDataCleared(const std::string& policy) = 0; policy 94 chrome/browser/chromeos/login/user_image_manager.h virtual void OnExternalDataFetched(const std::string& policy, policy 79 chrome/browser/chromeos/login/user_image_manager_browsertest.cc policy::CloudPolicyStore* GetStoreForUser(const User* user) { policy 85 chrome/browser/chromeos/login/user_image_manager_browsertest.cc policy::UserCloudPolicyManagerChromeOS* policy_manager = policy 86 chrome/browser/chromeos/login/user_image_manager_browsertest.cc policy::UserCloudPolicyManagerFactoryChromeOS::GetForProfile(profile); policy 572 chrome/browser/chromeos/login/user_image_manager_browsertest.cc public policy::CloudPolicyStore::Observer { policy 617 chrome/browser/chromeos/login/user_image_manager_browsertest.cc virtual void OnStoreLoaded(policy::CloudPolicyStore* store) OVERRIDE { policy 622 chrome/browser/chromeos/login/user_image_manager_browsertest.cc virtual void OnStoreError(policy::CloudPolicyStore* store) OVERRIDE { policy 633 chrome/browser/chromeos/login/user_image_manager_browsertest.cc std::string policy; policy 634 chrome/browser/chromeos/login/user_image_manager_browsertest.cc base::JSONWriter::Write(policy::test::ConstructExternalDataReference( policy 637 chrome/browser/chromeos/login/user_image_manager_browsertest.cc &policy); policy 638 chrome/browser/chromeos/login/user_image_manager_browsertest.cc return policy; policy 641 chrome/browser/chromeos/login/user_image_manager_browsertest.cc policy::UserPolicyBuilder user_policy_; policy 666 chrome/browser/chromeos/login/user_image_manager_browsertest.cc policy::CloudPolicyStore* store = GetStoreForUser(user); policy 752 chrome/browser/chromeos/login/user_image_manager_browsertest.cc policy::CloudPolicyStore* store = GetStoreForUser(user); policy 812 chrome/browser/chromeos/login/user_image_manager_browsertest.cc policy::CloudPolicyStore* store = GetStoreForUser(user); policy 683 chrome/browser/chromeos/login/user_image_manager_impl.cc void UserImageManagerImpl::OnExternalDataSet(const std::string& policy) { policy 684 chrome/browser/chromeos/login/user_image_manager_impl.cc DCHECK_EQ(policy::key::kUserAvatarImage, policy); policy 698 chrome/browser/chromeos/login/user_image_manager_impl.cc void UserImageManagerImpl::OnExternalDataCleared(const std::string& policy) { policy 699 chrome/browser/chromeos/login/user_image_manager_impl.cc DCHECK_EQ(policy::key::kUserAvatarImage, policy); policy 704 chrome/browser/chromeos/login/user_image_manager_impl.cc void UserImageManagerImpl::OnExternalDataFetched(const std::string& policy, policy 706 chrome/browser/chromeos/login/user_image_manager_impl.cc DCHECK_EQ(policy::key::kUserAvatarImage, policy); policy 60 chrome/browser/chromeos/login/user_image_manager_impl.h virtual void OnExternalDataSet(const std::string& policy) OVERRIDE; policy 61 chrome/browser/chromeos/login/user_image_manager_impl.h virtual void OnExternalDataCleared(const std::string& policy) OVERRIDE; policy 62 chrome/browser/chromeos/login/user_image_manager_impl.h virtual void OnExternalDataFetched(const std::string& policy, policy 240 chrome/browser/chromeos/login/user_manager_impl.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 242 chrome/browser/chromeos/login/user_manager_impl.cc avatar_policy_observer_.reset(new policy::CloudExternalDataPolicyObserver( policy 246 chrome/browser/chromeos/login/user_manager_impl.cc policy::key::kUserAvatarImage, policy 250 chrome/browser/chromeos/login/user_manager_impl.cc wallpaper_policy_observer_.reset(new policy::CloudExternalDataPolicyObserver( policy 254 chrome/browser/chromeos/login/user_manager_impl.cc policy::key::kWallpaperImage, policy 436 chrome/browser/chromeos/login/user_manager_impl.cc policy::DeviceLocalAccount::Type device_local_account_type; policy 441 chrome/browser/chromeos/login/user_manager_impl.cc } else if (policy::IsDeviceLocalAccountUser(user_id, policy 444 chrome/browser/chromeos/login/user_manager_impl.cc policy::DeviceLocalAccount::TYPE_KIOSK_APP) { policy 569 chrome/browser/chromeos/login/user_manager_impl.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 924 chrome/browser/chromeos/login/user_manager_impl.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 980 chrome/browser/chromeos/login/user_manager_impl.cc void UserManagerImpl::OnExternalDataSet(const std::string& policy, policy 982 chrome/browser/chromeos/login/user_manager_impl.cc if (policy == policy::key::kUserAvatarImage) policy 983 chrome/browser/chromeos/login/user_manager_impl.cc GetUserImageManager(user_id)->OnExternalDataSet(policy); policy 984 chrome/browser/chromeos/login/user_manager_impl.cc else if (policy == policy::key::kWallpaperImage) policy 985 chrome/browser/chromeos/login/user_manager_impl.cc WallpaperManager::Get()->OnPolicySet(policy, user_id); policy 990 chrome/browser/chromeos/login/user_manager_impl.cc void UserManagerImpl::OnExternalDataCleared(const std::string& policy, policy 992 chrome/browser/chromeos/login/user_manager_impl.cc if (policy == policy::key::kUserAvatarImage) policy 993 chrome/browser/chromeos/login/user_manager_impl.cc GetUserImageManager(user_id)->OnExternalDataCleared(policy); policy 994 chrome/browser/chromeos/login/user_manager_impl.cc else if (policy == policy::key::kWallpaperImage) policy 995 chrome/browser/chromeos/login/user_manager_impl.cc WallpaperManager::Get()->OnPolicyCleared(policy, user_id); policy 1000 chrome/browser/chromeos/login/user_manager_impl.cc void UserManagerImpl::OnExternalDataFetched(const std::string& policy, policy 1003 chrome/browser/chromeos/login/user_manager_impl.cc if (policy == policy::key::kUserAvatarImage) policy 1004 chrome/browser/chromeos/login/user_manager_impl.cc GetUserImageManager(user_id)->OnExternalDataFetched(policy, data.Pass()); policy 1005 chrome/browser/chromeos/login/user_manager_impl.cc else if (policy == policy::key::kWallpaperImage) policy 1006 chrome/browser/chromeos/login/user_manager_impl.cc WallpaperManager::Get()->OnPolicyFetched(policy, user_id, data.Pass()); policy 1295 chrome/browser/chromeos/login/user_manager_impl.cc policy::GetDeviceLocalAccounts(cros_settings_)); policy 1324 chrome/browser/chromeos/login/user_manager_impl.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 1469 chrome/browser/chromeos/login/user_manager_impl.cc policy::DeviceLocalAccount::Type device_local_account_type; policy 1470 chrome/browser/chromeos/login/user_manager_impl.cc DCHECK(policy::IsDeviceLocalAccountUser(app_id, policy 1472 chrome/browser/chromeos/login/user_manager_impl.cc DCHECK_EQ(policy::DeviceLocalAccount::TYPE_KIOSK_APP, policy 1483 chrome/browser/chromeos/login/user_manager_impl.cc const std::vector<policy::DeviceLocalAccount> device_local_accounts = policy 1484 chrome/browser/chromeos/login/user_manager_impl.cc policy::GetDeviceLocalAccounts(cros_settings_); policy 1485 chrome/browser/chromeos/login/user_manager_impl.cc const policy::DeviceLocalAccount* account = NULL; policy 1486 chrome/browser/chromeos/login/user_manager_impl.cc for (std::vector<policy::DeviceLocalAccount>::const_iterator policy 1688 chrome/browser/chromeos/login/user_manager_impl.cc const std::vector<policy::DeviceLocalAccount>& device_local_accounts) { policy 1701 chrome/browser/chromeos/login/user_manager_impl.cc for (std::vector<policy::DeviceLocalAccount>::const_iterator it = policy 1706 chrome/browser/chromeos/login/user_manager_impl.cc if (it->type == policy::DeviceLocalAccount::TYPE_PUBLIC_SESSION) policy 1773 chrome/browser/chromeos/login/user_manager_impl.cc policy::DeviceLocalAccountPolicyBroker* broker = policy 1840 chrome/browser/chromeos/login/user_manager_impl.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 36 chrome/browser/chromeos/login/user_manager_impl.h namespace policy { policy 53 chrome/browser/chromeos/login/user_manager_impl.h public policy::CloudExternalDataPolicyObserver::Delegate, policy 54 chrome/browser/chromeos/login/user_manager_impl.h public policy::DeviceLocalAccountPolicyService::Observer, policy 151 chrome/browser/chromeos/login/user_manager_impl.h virtual void OnExternalDataSet(const std::string& policy, policy 153 chrome/browser/chromeos/login/user_manager_impl.h virtual void OnExternalDataCleared(const std::string& policy, policy 155 chrome/browser/chromeos/login/user_manager_impl.h virtual void OnExternalDataFetched(const std::string& policy, policy 288 chrome/browser/chromeos/login/user_manager_impl.h const std::vector<policy::DeviceLocalAccount>& device_local_accounts); policy 372 chrome/browser/chromeos/login/user_manager_impl.h policy::DeviceLocalAccountPolicyService* device_local_account_policy_service_; policy 483 chrome/browser/chromeos/login/user_manager_impl.h scoped_ptr<policy::CloudExternalDataPolicyObserver> avatar_policy_observer_; policy 486 chrome/browser/chromeos/login/user_manager_impl.h scoped_ptr<policy::CloudExternalDataPolicyObserver> policy 50 chrome/browser/chromeos/login/version_info_updater.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 52 chrome/browser/chromeos/login/version_info_updater.cc policy::DeviceCloudPolicyManagerChromeOS* policy_manager = policy 70 chrome/browser/chromeos/login/version_info_updater.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 72 chrome/browser/chromeos/login/version_info_updater.cc policy::DeviceCloudPolicyManagerChromeOS* policy_manager = policy 113 chrome/browser/chromeos/login/version_info_updater.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 134 chrome/browser/chromeos/login/version_info_updater.cc void VersionInfoUpdater::OnStoreLoaded(policy::CloudPolicyStore* store) { policy 138 chrome/browser/chromeos/login/version_info_updater.cc void VersionInfoUpdater::OnStoreError(policy::CloudPolicyStore* store) { policy 23 chrome/browser/chromeos/login/version_info_updater.h class VersionInfoUpdater : public policy::CloudPolicyStore::Observer { policy 50 chrome/browser/chromeos/login/version_info_updater.h virtual void OnStoreLoaded(policy::CloudPolicyStore* store) OVERRIDE; policy 51 chrome/browser/chromeos/login/version_info_updater.h virtual void OnStoreError(policy::CloudPolicyStore* store) OVERRIDE; policy 600 chrome/browser/chromeos/login/wallpaper_manager.cc void WallpaperManager::OnPolicySet(const std::string& policy, policy 608 chrome/browser/chromeos/login/wallpaper_manager.cc void WallpaperManager::OnPolicyCleared(const std::string& policy, policy 617 chrome/browser/chromeos/login/wallpaper_manager.cc void WallpaperManager::OnPolicyFetched(const std::string& policy, policy 297 chrome/browser/chromeos/login/wallpaper_manager.h void OnPolicySet(const std::string& policy, const std::string& user_id); policy 300 chrome/browser/chromeos/login/wallpaper_manager.h void OnPolicyCleared(const std::string& policy, const std::string& user_id); policy 304 chrome/browser/chromeos/login/wallpaper_manager.h void OnPolicyFetched(const std::string& policy, policy 64 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc policy::CloudPolicyStore* GetStoreForUser(const User* user) { policy 70 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc policy::UserCloudPolicyManagerChromeOS* policy_manager = policy 71 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc policy::UserCloudPolicyManagerFactoryChromeOS::GetForProfile(profile); policy 145 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc scoped_ptr<policy::UserPolicyBuilder> GetUserPolicyBuilder( policy 147 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc scoped_ptr<policy::UserPolicyBuilder> policy 148 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc user_policy_builder(new policy::UserPolicyBuilder()); policy 228 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc std::string policy; policy 229 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc base::JSONWriter::Write(policy::test::ConstructExternalDataReference( policy 232 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc &policy); policy 233 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc return policy; policy 241 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc policy::UserPolicyBuilder* builder = policy 253 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc policy::CloudPolicyStore* store = GetStoreForUser(user); policy 256 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc ASSERT_EQ(policy::CloudPolicyStore::STATUS_OK, store->status()); policy 257 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc ASSERT_EQ(policy::CloudPolicyValidatorBase::VALIDATION_OK, policy 270 chrome/browser/chromeos/login/wallpaper_manager_policy_browsertest.cc scoped_ptr<policy::UserPolicyBuilder> user_policy_builders_[2]; policy 189 chrome/browser/chromeos/login/wizard_controller.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 899 chrome/browser/chromeos/login/wizard_controller.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 906 chrome/browser/chromeos/login/wizard_controller.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 913 chrome/browser/chromeos/login/wizard_controller.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 989 chrome/browser/chromeos/login/wizard_controller.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 146 chrome/browser/chromeos/login/wizard_controller_browsertest.cc policy::AutoEnrollmentState expected_state, policy 148 chrome/browser/chromeos/login/wizard_controller_browsertest.cc policy::AutoEnrollmentState actual_state) { policy 153 chrome/browser/chromeos/login/wizard_controller_browsertest.cc void WaitForAutoEnrollmentState(policy::AutoEnrollmentState state) { policy 593 chrome/browser/chromeos/login/wizard_controller_browsertest.cc WaitForAutoEnrollmentState(policy::AUTO_ENROLLMENT_STATE_CONNECTION_ERROR); policy 600 chrome/browser/chromeos/login/wizard_controller_browsertest.cc device_state.SetString(policy::kDeviceStateRestoreMode, policy 601 chrome/browser/chromeos/login/wizard_controller_browsertest.cc policy::kDeviceStateRestoreModeReEnrollmentEnforced); policy 452 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* policy = onc::GetPolicyForFavoriteNetwork( policy 454 chrome/browser/chromeos/net/onc_utils.cc return policy != NULL; policy 27 chrome/browser/chromeos/policy/app_pack_updater.h namespace policy { policy 30 chrome/browser/chromeos/policy/auto_enrollment_client.h namespace policy { policy 196 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc policy::IsDeviceLocalAccountUser(user_name, NULL))) { policy 24 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h namespace policy { policy 74 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc bool OnDownloadSuccess(const std::string& policy, policy 90 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc void Fetch(const std::string& policy, policy 105 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc size_t GetMaxExternalDataSize(const std::string& policy) const; policy 114 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc void StartDownload(const std::string& policy); policy 195 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string policy = it->first; policy 196 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc Metadata::const_iterator metadata = metadata_.find(policy); policy 201 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc updater_->CancelExternalDataFetch(policy); policy 212 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc if (updater_ && metadata->second != old_metadata[policy]) { policy 215 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc updater_->CancelExternalDataFetch(policy); policy 216 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc StartDownload(policy); policy 223 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string& policy, policy 226 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc DCHECK(metadata_.find(policy) != metadata_.end()); policy 227 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc DCHECK_EQ(hash, metadata_[policy].hash); policy 229 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc external_data_store_->Store(policy, hash, data); policy 231 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const FetchCallbackList& pending_callbacks = pending_downloads_[policy]; policy 236 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc pending_downloads_.erase(policy); policy 241 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string& policy, policy 243 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc Metadata::const_iterator metadata = metadata_.find(policy); policy 251 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc if (pending_downloads_.find(policy) != pending_downloads_.end()) { policy 255 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc pending_downloads_[policy].push_back(callback); policy 261 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc policy, metadata->second.hash, GetMaxExternalDataSize(policy), policy 271 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc pending_downloads_[policy].push_back(callback); policy 272 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc StartDownload(policy); policy 279 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string& policy = it->first; policy 281 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc if (pending_downloads_.find(policy) != pending_downloads_.end() || policy 283 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc policy, it->second.hash, GetMaxExternalDataSize(policy), policy 292 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc pending_downloads_[policy]; policy 293 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc StartDownload(policy); policy 298 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string& policy) const { policy 306 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const PolicyDetails* details = get_policy_details_.Run(policy); policy 321 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string& policy) { policy 322 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc DCHECK(pending_downloads_.find(policy) != pending_downloads_.end()); policy 326 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const MetadataEntry& metadata = metadata_[policy]; policy 328 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc policy, policy 331 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc GetMaxExternalDataSize(policy)), policy 334 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc policy, policy 430 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc const std::string& policy, policy 434 chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc &Backend::Fetch, base::Unretained(backend_.get()), policy, callback)); policy 20 chrome/browser/chromeos/policy/cloud_external_data_manager_base.h namespace policy { policy 56 chrome/browser/chromeos/policy/cloud_external_data_manager_base.h const std::string& policy, policy 42 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc const std::string& policy, policy 47 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc policy_map.Set(policy, policy 51 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc policy)); policy 17 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h namespace policy { policy 41 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h const std::string& policy, policy 114 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc void SetExternalDataReference(const std::string& policy, policy 209 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc const std::string& policy, policy 212 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc policy, policy 217 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc external_data_manager_->weak_factory_.GetWeakPtr(), policy)); policy 104 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc const std::string& policy, policy 109 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc const std::string& policy, policy 114 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc const std::string& policy, policy 126 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc const std::string& policy, policy 131 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc policy_(policy), policy 255 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc policy::GetDeviceLocalAccounts(cros_settings_); policy 26 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h namespace policy { policy 44 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h virtual void OnExternalDataSet(const std::string& policy, policy 48 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h virtual void OnExternalDataCleared(const std::string& policy, policy 56 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h virtual void OnExternalDataFetched(const std::string& policy, policy 68 chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h const std::string& policy, policy 76 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc std::string* policy) { policy 84 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc policy); policy 103 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc virtual void OnExternalDataSet(const std::string& policy, policy 105 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc virtual void OnExternalDataCleared(const std::string& policy, policy 107 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc virtual void OnExternalDataFetched(const std::string& policy, policy 216 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc const std::string& policy, policy 218 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc EXPECT_EQ(key::kUserAvatarImage, policy); policy 223 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc const std::string& policy, policy 225 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc EXPECT_EQ(key::kUserAvatarImage, policy); policy 230 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc const std::string& policy, policy 233 chrome/browser/chromeos/policy/cloud_external_data_policy_observer_unittest.cc EXPECT_EQ(key::kUserAvatarImage, policy); policy 20 chrome/browser/chromeos/policy/cloud_external_data_store.cc std::string GetSubkey(const std::string& policy, const std::string& hash) { policy 21 chrome/browser/chromeos/policy/cloud_external_data_store.cc DCHECK(!policy.empty()); policy 23 chrome/browser/chromeos/policy/cloud_external_data_store.cc return base::IntToString(policy.size()) + ":" + policy 25 chrome/browser/chromeos/policy/cloud_external_data_store.cc policy + hash; policy 54 chrome/browser/chromeos/policy/cloud_external_data_store.cc bool CloudExternalDataStore::Store(const std::string& policy, policy 58 chrome/browser/chromeos/policy/cloud_external_data_store.cc return cache_->Store(cache_key_, GetSubkey(policy, hash), data); policy 61 chrome/browser/chromeos/policy/cloud_external_data_store.cc bool CloudExternalDataStore::Load(const std::string& policy, policy 66 chrome/browser/chromeos/policy/cloud_external_data_store.cc const std::string subkey = GetSubkey(policy, hash); policy 18 chrome/browser/chromeos/policy/cloud_external_data_store.h namespace policy { policy 44 chrome/browser/chromeos/policy/cloud_external_data_store.h bool Store(const std::string& policy, policy 52 chrome/browser/chromeos/policy/cloud_external_data_store.h bool Load(const std::string& policy, policy 44 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc policy::PolicyErrorMap* errors, policy 45 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const std::string& policy, policy 50 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc errors->AddError(policy, subkey, IDS_POLICY_NOT_SPECIFIED_ERROR); policy 55 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc errors->AddError(policy, subkey, IDS_POLICY_TYPE_ERROR, "string"); policy 59 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc errors->AddError(policy, subkey, IDS_POLICY_NOT_SPECIFIED_ERROR); policy 133 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const std::string policy = policy_name(); policy 134 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc const base::Value* value = policies.GetValue(policy); policy 146 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc if (!GetSubkeyString(*dict, errors, policy, kSubkeyURL, &url_string) || policy 147 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc !GetSubkeyString(*dict, errors, policy, kSubkeyHash, &hash_string)) { policy 153 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc errors->AddError(policy, kSubkeyURL, IDS_POLICY_VALUE_FORMAT_ERROR); policy 160 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc errors->AddError(policy, kSubkeyHash, IDS_POLICY_VALUE_FORMAT_ERROR); policy 20 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h namespace policy { policy 35 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h namespace policy { policy 200 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc EXPECT_EQ(store_->policy()->service_account_identity(), policy 240 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc device_policy_.policy()); policy 361 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc device_policy_.policy()); policy 602 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc device_policy_.policy().set_policy_data_signature("bad"); policy 605 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc device_policy_.policy()); policy 34 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc const em::PolicyFetchResponse& policy) { policy 48 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc scoped_ptr<DeviceCloudPolicyValidator> validator(CreateValidator(policy)); policy 67 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc const em::PolicyFetchResponse& policy) { policy 79 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc scoped_ptr<DeviceCloudPolicyValidator> validator(CreateValidator(policy)); policy 98 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc const em::PolicyFetchResponse& policy) { policy 102 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc new em::PolicyFetchResponse(policy)), policy 120 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc validator->policy().Pass(), policy 25 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h namespace policy { policy 43 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h const enterprise_management::PolicyFetchResponse& policy) OVERRIDE; policy 52 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h const enterprise_management::PolicyFetchResponse& policy); policy 62 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h const enterprise_management::PolicyFetchResponse& policy); policy 73 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc EXPECT_TRUE(store_->policy()); policy 147 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Store(device_policy_.policy()); policy 154 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc device_policy_.policy().clear_policy_data_signature(); policy 155 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Store(device_policy_.policy()); policy 164 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc device_policy_.policy().set_policy_data_signature("invalid"); policy 165 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Store(device_policy_.policy()); policy 176 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->Store(device_policy_.policy()); policy 187 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->InstallInitialPolicy(device_policy_.policy()); policy 194 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc device_policy_.policy().clear_policy_data_signature(); policy 195 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->InstallInitialPolicy(device_policy_.policy()); policy 204 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc device_policy_.policy().clear_new_public_key(); policy 205 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->InstallInitialPolicy(device_policy_.policy()); policy 215 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc store_->InstallInitialPolicy(device_policy_.policy()); policy 14 chrome/browser/chromeos/policy/device_cloud_policy_validator.h namespace policy { policy 15 chrome/browser/chromeos/policy/device_local_account.h namespace policy { policy 332 chrome/browser/chromeos/policy/device_local_account_browsertest.cc command_line->AppendSwitchASCII(policy::switches::kDeviceManagementUrl, policy 546 chrome/browser/chromeos/policy/device_local_account_browsertest.cc em::ChromeDeviceSettingsProto policy; policy 547 chrome/browser/chromeos/policy/device_local_account_browsertest.cc policy.mutable_show_user_names()->set_show_user_names(true); policy 549 chrome/browser/chromeos/policy/device_local_account_browsertest.cc policy.mutable_device_local_accounts()->add_account(); policy 555 chrome/browser/chromeos/policy/device_local_account_browsertest.cc policy.SerializeAsString()); policy 891 chrome/browser/chromeos/policy/device_local_account_browsertest.cc std::string policy; policy 892 chrome/browser/chromeos/policy/device_local_account_browsertest.cc base::JSONWriter::Write(metadata.get(), &policy); policy 894 chrome/browser/chromeos/policy/device_local_account_browsertest.cc policy); policy 896 chrome/browser/chromeos/policy/device_local_account_browsertest.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 998 chrome/browser/chromeos/policy/device_local_account_browsertest.cc std::string policy; policy 1003 chrome/browser/chromeos/policy/device_local_account_browsertest.cc &policy); policy 1005 chrome/browser/chromeos/policy/device_local_account_browsertest.cc policy); policy 1007 chrome/browser/chromeos/policy/device_local_account_browsertest.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 20 chrome/browser/chromeos/policy/device_local_account_external_data_manager.h namespace policy { policy 23 chrome/browser/chromeos/policy/device_local_account_external_data_service.h namespace policy { policy 19 chrome/browser/chromeos/policy/device_local_account_policy_provider.h namespace policy { policy 179 chrome/browser/chromeos/policy/device_local_account_policy_service.cc store_->policy_map().GetValue(policy::key::kUserDisplayName); policy 37 chrome/browser/chromeos/policy/device_local_account_policy_service.h namespace policy { policy 281 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc ASSERT_TRUE(broker->core()->store()->policy()); policy 283 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc broker->core()->store()->policy()->SerializeAsString()); policy 304 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc broker->core()->store()->Store(device_local_account_policy_.policy()); policy 330 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc broker->core()->store()->Store(device_local_account_policy_.policy()); policy 335 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc ASSERT_TRUE(broker->core()->store()->policy()); policy 337 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc broker->core()->store()->policy()->SerializeAsString()); policy 373 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc ASSERT_TRUE(broker->core()->store()->policy()); policy 375 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc broker->core()->store()->policy()->SerializeAsString()); policy 397 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc device_local_account_policy_.policy()); policy 425 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc ASSERT_TRUE(broker->core()->store()->policy()); policy 427 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc broker->core()->store()->policy()->SerializeAsString()); policy 448 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc device_local_account_policy_.policy()); policy 948 chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc device_local_account_policy_.policy()); policy 45 chrome/browser/chromeos/policy/device_local_account_policy_store.cc const em::PolicyFetchResponse& policy) { policy 49 chrome/browser/chromeos/policy/device_local_account_policy_store.cc make_scoped_ptr(new em::PolicyFetchResponse(policy)), policy 60 chrome/browser/chromeos/policy/device_local_account_policy_store.cc scoped_ptr<em::PolicyFetchResponse> policy(new em::PolicyFetchResponse()); policy 61 chrome/browser/chromeos/policy/device_local_account_policy_store.cc if (policy->ParseFromString(policy_blob)) { policy 64 chrome/browser/chromeos/policy/device_local_account_policy_store.cc policy.Pass(), policy 98 chrome/browser/chromeos/policy/device_local_account_policy_store.cc if (!validator->policy()->SerializeToString(&policy_blob)) { policy 122 chrome/browser/chromeos/policy/device_local_account_policy_store.cc scoped_ptr<em::PolicyFetchResponse> policy, policy 128 chrome/browser/chromeos/policy/device_local_account_policy_store.cc base::Passed(&policy), policy 158 chrome/browser/chromeos/policy/device_local_account_policy_store.cc policy(), policy 169 chrome/browser/chromeos/policy/device_local_account_policy_store.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 32 chrome/browser/chromeos/policy/device_local_account_policy_store.h namespace policy { policy 52 chrome/browser/chromeos/policy/device_local_account_policy_store.h const enterprise_management::PolicyFetchResponse& policy) OVERRIDE; policy 73 chrome/browser/chromeos/policy/device_local_account_policy_store.h scoped_ptr<enterprise_management::PolicyFetchResponse> policy, policy 79 chrome/browser/chromeos/policy/device_local_account_policy_store.h scoped_ptr<enterprise_management::PolicyFetchResponse> policy, policy 34 chrome/browser/chromeos/policy/device_network_configuration_updater.h namespace policy { policy 11 chrome/browser/chromeos/policy/device_policy_builder.h namespace policy { policy 19 chrome/browser/chromeos/policy/device_policy_cros_browser_test.h namespace policy { policy 111 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeLoginPolicies(const em::ChromeDeviceSettingsProto& policy, policy 113 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_guest_mode_enabled()) { policy 114 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::GuestModeEnabledProto& container(policy.guest_mode_enabled()); policy 125 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_show_user_names()) { policy 126 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::ShowUserNamesOnSigninProto& container(policy.show_user_names()); policy 137 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_allow_new_users()) { policy 138 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::AllowNewUsersProto& container(policy.allow_new_users()); policy 149 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_user_whitelist()) { policy 150 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::UserWhitelistProto& container(policy.user_whitelist()); policy 165 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_ephemeral_users_enabled()) { policy 167 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.ephemeral_users_enabled()); policy 178 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_device_local_accounts()) { policy 180 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.device_local_accounts()); policy 249 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_supervised_users_settings()) { policy 251 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.supervised_users_settings(); policy 264 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeKioskPolicies(const em::ChromeDeviceSettingsProto& policy, policy 271 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_forced_logout_timeouts()) { policy 273 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.forced_logout_timeouts()); policy 292 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_login_screen_saver()) { policy 294 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.login_screen_saver()); policy 313 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_app_pack()) { policy 314 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::AppPackProto& container(policy.app_pack()); policy 332 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_pinned_apps()) { policy 333 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::PinnedAppsProto& container(policy.pinned_apps()); policy 348 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeNetworkPolicies(const em::ChromeDeviceSettingsProto& policy, policy 351 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_device_proxy_settings()) { policy 353 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.device_proxy_settings()); policy 380 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_data_roaming_enabled()) { policy 381 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::DataRoamingEnabledProto& container(policy.data_roaming_enabled()); policy 392 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_open_network_configuration() && policy 393 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.open_network_configuration().has_open_network_configuration()) { policy 395 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.open_network_configuration().open_network_configuration()); policy 404 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeReportingPolicies(const em::ChromeDeviceSettingsProto& policy, policy 406 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_device_reporting()) { policy 407 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::DeviceReportingProto& container(policy.device_reporting()); policy 458 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeAutoUpdatePolicies(const em::ChromeDeviceSettingsProto& policy, policy 460 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_release_channel()) { policy 461 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::ReleaseChannelProto& container(policy.release_channel()); policy 485 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_auto_update_settings()) { policy 486 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::AutoUpdateSettingsProto& container(policy.auto_update_settings()); policy 562 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeAccessibilityPolicies(const em::ChromeDeviceSettingsProto& policy, policy 564 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_accessibility_settings()) { policy 566 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc container(policy.accessibility_settings()); policy 619 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeGenericPolicies(const em::ChromeDeviceSettingsProto& policy, policy 621 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_device_policy_refresh_rate()) { policy 623 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.device_policy_refresh_rate()); policy 634 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_metrics_enabled()) { policy 635 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::MetricsEnabledProto& container(policy.metrics_enabled()); policy 646 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_start_up_urls()) { policy 647 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::StartUpUrlsProto& container(policy.start_up_urls()); policy 662 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_system_timezone()) { policy 663 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.system_timezone().has_timezone()) { policy 668 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.system_timezone().timezone()), policy 673 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_use_24hour_clock()) { policy 674 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.use_24hour_clock().has_use_24hour_clock()) { policy 679 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.use_24hour_clock().use_24hour_clock()), policy 684 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_allow_redeem_offers()) { policy 686 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.allow_redeem_offers()); policy 697 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_uptime_limit()) { policy 698 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::UptimeLimitProto& container(policy.uptime_limit()); policy 708 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_start_up_flags()) { policy 709 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc const em::StartUpFlagsProto& container(policy.start_up_flags()); policy 724 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_variations_parameter()) { policy 725 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.variations_parameter().has_parameter()) { policy 730 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.variations_parameter().parameter()), policy 735 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_attestation_settings()) { policy 736 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.attestation_settings().has_attestation_enabled()) { policy 741 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.attestation_settings().attestation_enabled()), policy 744 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.attestation_settings().has_content_protection_enabled()) { policy 750 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.attestation_settings().content_protection_enabled()), policy 755 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_login_screen_power_management()) { policy 757 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.login_screen_power_management()); policy 772 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc if (policy.has_auto_clean_up_settings()) { policy 774 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc policy.auto_clean_up_settings()); policy 788 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc void DecodeDevicePolicy(const em::ChromeDeviceSettingsProto& policy, policy 792 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc VLOG(2) << "DecodeDevicePolicy " << policy.SerializeAsString(); policy 795 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc DecodeLoginPolicies(policy, policies); policy 796 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc DecodeKioskPolicies(policy, policies, install_attributes); policy 797 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc DecodeNetworkPolicies(policy, policies, install_attributes); policy 798 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc DecodeReportingPolicies(policy, policies); policy 799 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc DecodeAutoUpdatePolicies(policy, policies); policy 800 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc DecodeAccessibilityPolicies(policy, policies); policy 801 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc DecodeGenericPolicies(policy, policies); policy 12 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.h namespace policy { policy 20 chrome/browser/chromeos/policy/device_policy_decoder_chromeos.h const enterprise_management::ChromeDeviceSettingsProto& policy, policy 467 chrome/browser/chromeos/policy/device_status_collector.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 45 chrome/browser/chromeos/policy/device_status_collector.h namespace policy { policy 75 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc class TestingDeviceStatusCollector : public policy::DeviceStatusCollector { policy 80 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc policy::DeviceStatusCollector::LocationUpdateRequester* policy 82 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc : policy::DeviceStatusCollector( policy 119 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc int poll_interval = policy::DeviceStatusCollector::kIdlePollIntervalSeconds; policy 198 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc policy::DeviceStatusCollector::LocationUpdateRequester callback = policy 253 chrome/browser/chromeos/policy/device_status_collector_browsertest.cc return policy::DeviceStatusCollector::kIdlePollIntervalSeconds * 1000; policy 23 chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc : public policy::DevicePolicyCrosBrowserTest { policy 98 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc const em::PolicyFetchResponse* policy = client_->GetPolicyFor( policy 100 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc if (!policy) { policy 109 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc new em::PolicyFetchResponse(*policy)), policy 206 chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc policy_ = validator->policy().Pass(); policy 30 chrome/browser/chromeos/policy/enrollment_handler_chromeos.h namespace policy { policy 12 chrome/browser/chromeos/policy/enrollment_status_chromeos.h namespace policy { policy 20 chrome/browser/chromeos/policy/enterprise_install_attributes.h namespace policy { policy 14 chrome/browser/chromeos/policy/login_profile_policy_provider.h namespace policy { policy 26 chrome/browser/chromeos/policy/network_configuration_updater.h namespace policy { policy 196 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc void UpdateProviderPolicy(const PolicyMap& policy) { policy 197 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc provider_.UpdateChromePolicy(policy); policy 305 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc PolicyMap policy; policy 306 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy.Set(key::kOpenNetworkConfiguration, policy 311 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc UpdateProviderPolicy(policy); policy 438 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc PolicyMap policy; policy 439 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy.Set(key::kOpenNetworkConfiguration, policy 444 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc UpdateProviderPolicy(policy); policy 461 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc PolicyMap policy; policy 462 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy.Set(key::kOpenNetworkConfiguration, POLICY_LEVEL_MANDATORY, policy 464 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc UpdateProviderPolicy(policy); policy 535 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc PolicyMap policy; policy 536 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 538 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc UpdateProviderPolicy(policy); policy 557 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc PolicyMap policy; policy 558 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 560 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc UpdateProviderPolicy(policy); policy 597 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc PolicyMap policy; policy 598 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 600 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc UpdateProviderPolicy(policy); policy 640 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc PolicyMap policy; policy 641 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy.Set(GetParam(), POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 643 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc UpdateProviderPolicy(policy); policy 654 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc policy.Erase(GetParam()); policy 655 chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc UpdateProviderPolicy(policy); policy 28 chrome/browser/chromeos/policy/policy_cert_service.h namespace policy { policy 20 chrome/browser/chromeos/policy/policy_cert_service_factory.h namespace policy { policy 26 chrome/browser/chromeos/policy/policy_cert_verifier.h namespace policy { policy 26 chrome/browser/chromeos/policy/policy_oauth2_token_fetcher.h namespace policy { policy 137 chrome/browser/chromeos/policy/power_policy_browsertest.cc std::string GetDebugString(const pm::PowerManagementPolicy& policy); policy 252 chrome/browser/chromeos/policy/power_policy_browsertest.cc const pm::PowerManagementPolicy& policy) { policy 253 chrome/browser/chromeos/policy/power_policy_browsertest.cc return chromeos::PowerPolicyController::GetPolicyDebugString(policy); policy 319 chrome/browser/chromeos/policy/power_policy_browsertest.cc power_manager_client_->policy(); policy 339 chrome/browser/chromeos/policy/power_policy_browsertest.cc GetDebugString(power_manager_client_->policy())); policy 345 chrome/browser/chromeos/policy/power_policy_browsertest.cc power_manager_client_->policy(); policy 352 chrome/browser/chromeos/policy/power_policy_browsertest.cc GetDebugString(power_manager_client_->policy())); policy 358 chrome/browser/chromeos/policy/power_policy_browsertest.cc power_manager_client_->policy(); policy 408 chrome/browser/chromeos/policy/power_policy_browsertest.cc GetDebugString(power_manager_client_->policy())); policy 414 chrome/browser/chromeos/policy/power_policy_browsertest.cc power_manager_client_->policy(); policy 473 chrome/browser/chromeos/policy/power_policy_browsertest.cc GetDebugString(power_manager_client_->policy())); policy 480 chrome/browser/chromeos/policy/power_policy_browsertest.cc power_manager_client_->policy(); policy 497 chrome/browser/chromeos/policy/power_policy_browsertest.cc pm::PowerManagementPolicy policy = baseline_policy; policy 498 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy.mutable_ac_delays()->set_screen_dim_ms(0); policy 499 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy.mutable_ac_delays()->set_screen_off_ms(0); policy 500 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy.mutable_battery_delays()->set_screen_dim_ms(0); policy 501 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy.mutable_battery_delays()->set_screen_off_ms(0); policy 502 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy.set_ac_idle_action( policy 503 chrome/browser/chromeos/policy/power_policy_browsertest.cc power_manager_client_->policy().ac_idle_action()); policy 504 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy.set_battery_idle_action( policy 505 chrome/browser/chromeos/policy/power_policy_browsertest.cc power_manager_client_->policy().battery_idle_action()); policy 506 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy.set_reason(power_manager_client_->policy().reason()); policy 507 chrome/browser/chromeos/policy/power_policy_browsertest.cc EXPECT_EQ(GetDebugString(policy), policy 508 chrome/browser/chromeos/policy/power_policy_browsertest.cc GetDebugString(power_manager_client_->policy())); policy 513 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy = baseline_policy; policy 514 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy.set_ac_idle_action(power_manager_client_->policy().ac_idle_action()); policy 515 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy.set_battery_idle_action( policy 516 chrome/browser/chromeos/policy/power_policy_browsertest.cc power_manager_client_->policy().battery_idle_action()); policy 517 chrome/browser/chromeos/policy/power_policy_browsertest.cc policy.set_reason(power_manager_client_->policy().reason()); policy 518 chrome/browser/chromeos/policy/power_policy_browsertest.cc EXPECT_EQ(GetDebugString(policy), policy 519 chrome/browser/chromeos/policy/power_policy_browsertest.cc GetDebugString(power_manager_client_->policy())); policy 21 chrome/browser/chromeos/policy/recommendation_restorer.h namespace policy { policy 15 chrome/browser/chromeos/policy/recommendation_restorer_factory.h namespace policy { policy 8 chrome/browser/chromeos/policy/server_backed_device_state.h namespace policy { policy 14 chrome/browser/chromeos/policy/stub_enterprise_install_attributes.h namespace policy { policy 18 chrome/browser/chromeos/policy/user_cloud_external_data_manager.h namespace policy { policy 34 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h namespace policy { policy 142 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 25 chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.h namespace policy { policy 84 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const em::CachedCloudPolicyResponse& policy) OVERRIDE; policy 144 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const em::CachedCloudPolicyResponse& policy) { policy 147 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc if (policy.has_cloud_policy()) policy 148 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy_.reset(new em::PolicyFetchResponse(policy.cloud_policy())); policy 200 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc const em::PolicyFetchResponse& policy) { policy 204 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc new em::PolicyFetchResponse(policy)); policy 239 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy(new em::PolicyFetchResponse()); policy 240 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc if (!policy->ParseFromString(policy_blob)) { policy 260 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy.Pass(), CloudPolicyValidatorBase::TIMESTAMP_NOT_BEFORE); policy 273 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy) { policy 276 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc CreateValidator(policy.Pass(), policy 313 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc if (!validator->policy()->SerializeToString(&policy_blob)) { policy 322 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc validator->policy()->new_public_key(), policy 361 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy(new em::PolicyFetchResponse()); policy 362 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc if (!policy->ParseFromString(policy_blob)) { policy 372 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc base::Passed(&policy))); policy 376 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy) { policy 379 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc policy.Pass(), CloudPolicyValidatorBase::TIMESTAMP_NOT_BEFORE); policy 427 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc scoped_ptr<em::PolicyFetchResponse> policy) { policy 429 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc if (policy.get()) { policy 433 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.cc CreateValidator(policy.Pass(), policy 30 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h namespace policy { policy 55 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h const enterprise_management::PolicyFetchResponse& policy) OVERRIDE; policy 64 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h scoped_ptr<enterprise_management::PolicyFetchResponse> policy); policy 78 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h scoped_ptr<enterprise_management::PolicyFetchResponse> policy); policy 150 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); policy 157 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_EQ(previous_value != NULL, store_->policy() != NULL); policy 188 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); policy 190 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); policy 196 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 270 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); policy 279 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 295 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); policy 316 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); policy 323 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.policy().mutable_policy_data_signature()->append("garbage"); policy 332 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->Store(policy_.policy()); policy 343 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); policy 345 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); policy 356 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 366 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 390 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc policy_.policy().mutable_policy_data_signature()->append("garbage"); policy 406 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc cached_policy.mutable_cloud_policy()->CopyFrom(policy_.policy()); policy 421 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); policy 423 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); policy 433 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc cached_policy.mutable_cloud_policy()->CopyFrom(policy_.policy()); policy 446 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); policy 448 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); policy 470 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); policy 472 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); policy 483 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc cached_policy.mutable_cloud_policy()->CopyFrom(policy_.policy()); policy 496 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); policy 498 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); policy 527 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 537 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc ASSERT_TRUE(store_->policy()); policy 539 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc store_->policy()->SerializeAsString()); policy 550 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 555 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 566 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 571 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 585 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 591 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 605 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 611 chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc EXPECT_FALSE(store_->policy()); policy 16 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder.h namespace policy { policy 16 chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_factory.h namespace policy { policy 41 chrome/browser/chromeos/policy/user_network_configuration_updater.h namespace policy { policy 17 chrome/browser/chromeos/policy/user_network_configuration_updater_factory.h namespace policy { policy 40 chrome/browser/chromeos/policy/user_policy_disk_cache.cc const em::CachedCloudPolicyResponse& policy) { policy 44 chrome/browser/chromeos/policy/user_policy_disk_cache.cc base::Bind(&UserPolicyDiskCache::StoreOnFileThread, this, policy)); policy 80 chrome/browser/chromeos/policy/user_policy_disk_cache.cc const em::CachedCloudPolicyResponse& policy) { policy 84 chrome/browser/chromeos/policy/user_policy_disk_cache.cc &UserPolicyDiskCache::ReportResultOnUIThread, this, result, policy)); policy 89 chrome/browser/chromeos/policy/user_policy_disk_cache.cc const em::CachedCloudPolicyResponse& policy) { policy 97 chrome/browser/chromeos/policy/user_policy_disk_cache.cc UMA_HISTOGRAM_ENUMERATION(policy::kMetricPolicy, policy 99 chrome/browser/chromeos/policy/user_policy_disk_cache.cc policy::kMetricPolicySize); policy 102 chrome/browser/chromeos/policy/user_policy_disk_cache.cc UMA_HISTOGRAM_ENUMERATION(policy::kMetricPolicy, policy 104 chrome/browser/chromeos/policy/user_policy_disk_cache.cc policy::kMetricPolicySize); policy 109 chrome/browser/chromeos/policy/user_policy_disk_cache.cc delegate_->OnDiskCacheLoaded(result, policy); policy 113 chrome/browser/chromeos/policy/user_policy_disk_cache.cc const em::CachedCloudPolicyResponse& policy) { policy 116 chrome/browser/chromeos/policy/user_policy_disk_cache.cc if (!policy.SerializeToString(&data)) { policy 118 chrome/browser/chromeos/policy/user_policy_disk_cache.cc UMA_HISTOGRAM_ENUMERATION(policy::kMetricPolicy, policy 120 chrome/browser/chromeos/policy/user_policy_disk_cache.cc policy::kMetricPolicySize); policy 127 chrome/browser/chromeos/policy/user_policy_disk_cache.cc UMA_HISTOGRAM_ENUMERATION(policy::kMetricPolicy, policy 129 chrome/browser/chromeos/policy/user_policy_disk_cache.cc policy::kMetricPolicySize); policy 136 chrome/browser/chromeos/policy/user_policy_disk_cache.cc UMA_HISTOGRAM_ENUMERATION(policy::kMetricPolicy, policy 138 chrome/browser/chromeos/policy/user_policy_disk_cache.cc policy::kMetricPolicySize); policy 141 chrome/browser/chromeos/policy/user_policy_disk_cache.cc UMA_HISTOGRAM_ENUMERATION(policy::kMetricPolicy, policy 143 chrome/browser/chromeos/policy/user_policy_disk_cache.cc policy::kMetricPolicySize); policy 21 chrome/browser/chromeos/policy/user_policy_disk_cache.h namespace policy { policy 47 chrome/browser/chromeos/policy/user_policy_disk_cache.h const enterprise_management::CachedCloudPolicyResponse& policy) = 0; policy 61 chrome/browser/chromeos/policy/user_policy_disk_cache.h void Store(const enterprise_management::CachedCloudPolicyResponse& policy); policy 72 chrome/browser/chromeos/policy/user_policy_disk_cache.h const enterprise_management::CachedCloudPolicyResponse& policy); policy 77 chrome/browser/chromeos/policy/user_policy_disk_cache.h const enterprise_management::CachedCloudPolicyResponse& policy); policy 81 chrome/browser/chromeos/policy/user_policy_disk_cache.h const enterprise_management::CachedCloudPolicyResponse& policy); policy 53 chrome/browser/chromeos/policy/user_policy_token_loader.cc UMA_HISTOGRAM_ENUMERATION(policy::kMetricToken, policy 55 chrome/browser/chromeos/policy/user_policy_token_loader.cc policy::kMetricTokenSize); policy 57 chrome/browser/chromeos/policy/user_policy_token_loader.cc UMA_HISTOGRAM_ENUMERATION(policy::kMetricToken, policy 59 chrome/browser/chromeos/policy/user_policy_token_loader.cc policy::kMetricTokenSize); policy 19 chrome/browser/chromeos/policy/user_policy_token_loader.h namespace policy { policy 19 chrome/browser/chromeos/policy/wildcard_login_checker.h namespace policy { policy 143 chrome/browser/chromeos/power/power_prefs_unittest.cc fake_power_manager_client_->policy()); policy 145 chrome/browser/chromeos/proxy_config_service_impl.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 149 chrome/browser/chromeos/proxy_config_service_impl.cc policy::USER_AFFILIATION_MANAGED) { policy 79 chrome/browser/chromeos/settings/cros_settings_unittest.cc void PrepareEmptyPolicy(em::PolicyData* policy) { policy 83 chrome/browser/chromeos/settings/cros_settings_unittest.cc policy->set_policy_type(policy::dm_protocol::kChromeDevicePolicyType); policy 84 chrome/browser/chromeos/settings/cros_settings_unittest.cc policy->set_username("me@owner"); policy 85 chrome/browser/chromeos/settings/cros_settings_unittest.cc policy->set_policy_value(pol.SerializeAsString()); policy 87 chrome/browser/chromeos/settings/cros_settings_unittest.cc response.set_policy_data(policy->SerializeAsString()); policy 185 chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc policy::DevicePolicyBuilder device_policy_; policy 27 chrome/browser/chromeos/settings/device_settings_cache.cc bool Store(const em::PolicyData& policy, PrefService* local_state) { policy 29 chrome/browser/chromeos/settings/device_settings_cache.cc std::string policy_string = policy.SerializeAsString(); policy 38 chrome/browser/chromeos/settings/device_settings_cache.cc bool Retrieve(em::PolicyData *policy, PrefService* local_state) { policy 48 chrome/browser/chromeos/settings/device_settings_cache.cc return policy->ParseFromString(policy_string); policy 26 chrome/browser/chromeos/settings/device_settings_cache.h bool Store(const enterprise_management::PolicyData &policy, policy 30 chrome/browser/chromeos/settings/device_settings_cache.h bool Retrieve(enterprise_management::PolicyData *policy, policy 433 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, policy 439 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_allow_new_users() && policy 440 chrome/browser/chromeos/settings/device_settings_provider.cc policy.allow_new_users().has_allow_new_users()) { policy 441 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.allow_new_users().allow_new_users()) { policy 447 chrome/browser/chromeos/settings/device_settings_provider.cc !policy.has_user_whitelist()); policy 453 chrome/browser/chromeos/settings/device_settings_provider.cc policy.user_whitelist().user_whitelist_size() == 0); policy 458 chrome/browser/chromeos/settings/device_settings_provider.cc !policy.has_guest_mode_enabled() || policy 459 chrome/browser/chromeos/settings/device_settings_provider.cc !policy.guest_mode_enabled().has_guest_mode_enabled() || policy 460 chrome/browser/chromeos/settings/device_settings_provider.cc policy.guest_mode_enabled().guest_mode_enabled()); policy 464 chrome/browser/chromeos/settings/device_settings_provider.cc !policy.has_show_user_names() || policy 465 chrome/browser/chromeos/settings/device_settings_provider.cc !policy.show_user_names().has_show_user_names() || policy 466 chrome/browser/chromeos/settings/device_settings_provider.cc policy.show_user_names().show_user_names()); policy 470 chrome/browser/chromeos/settings/device_settings_provider.cc policy.has_ephemeral_users_enabled() && policy 471 chrome/browser/chromeos/settings/device_settings_provider.cc policy.ephemeral_users_enabled().has_ephemeral_users_enabled() && policy 472 chrome/browser/chromeos/settings/device_settings_provider.cc policy.ephemeral_users_enabled().ephemeral_users_enabled()); policy 476 chrome/browser/chromeos/settings/device_settings_provider.cc policy.has_supervised_users_settings() && policy 477 chrome/browser/chromeos/settings/device_settings_provider.cc policy.supervised_users_settings().supervised_users_enabled()); policy 480 chrome/browser/chromeos/settings/device_settings_provider.cc const em::UserWhitelistProto& whitelist_proto = policy.user_whitelist(); policy 491 chrome/browser/chromeos/settings/device_settings_provider.cc policy.device_local_accounts(); policy 516 chrome/browser/chromeos/settings/device_settings_provider.cc policy::DeviceLocalAccount::TYPE_PUBLIC_SESSION); policy 523 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_device_local_accounts()) { policy 524 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.device_local_accounts().has_auto_login_id()) { policy 527 chrome/browser/chromeos/settings/device_settings_provider.cc policy.device_local_accounts().auto_login_id()); policy 529 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.device_local_accounts().has_auto_login_delay()) { policy 532 chrome/browser/chromeos/settings/device_settings_provider.cc policy.device_local_accounts().auto_login_delay()); policy 538 chrome/browser/chromeos/settings/device_settings_provider.cc policy.device_local_accounts().enable_auto_login_bailout()); policy 541 chrome/browser/chromeos/settings/device_settings_provider.cc policy.device_local_accounts().prompt_for_network_when_offline()); policy 543 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_start_up_flags()) { policy 545 chrome/browser/chromeos/settings/device_settings_provider.cc const em::StartUpFlagsProto& flags_proto = policy.start_up_flags(); policy 556 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, policy 558 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_forced_logout_timeouts()) { policy 559 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.forced_logout_timeouts().has_idle_logout_timeout()) { policy 562 chrome/browser/chromeos/settings/device_settings_provider.cc policy.forced_logout_timeouts().idle_logout_timeout()); policy 565 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.forced_logout_timeouts().has_idle_logout_warning_duration()) { policy 568 chrome/browser/chromeos/settings/device_settings_provider.cc policy.forced_logout_timeouts().idle_logout_warning_duration()); policy 572 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_login_screen_saver()) { policy 573 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.login_screen_saver().has_screen_saver_timeout()) { policy 576 chrome/browser/chromeos/settings/device_settings_provider.cc policy.login_screen_saver().screen_saver_timeout()); policy 579 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.login_screen_saver().has_screen_saver_extension_id()) { policy 582 chrome/browser/chromeos/settings/device_settings_provider.cc policy.login_screen_saver().screen_saver_extension_id()); policy 586 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_app_pack()) { policy 589 chrome/browser/chromeos/settings/device_settings_provider.cc const proto_type& app_pack = policy.app_pack().app_pack(); policy 606 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_start_up_urls()) { policy 608 chrome/browser/chromeos/settings/device_settings_provider.cc const em::StartUpUrlsProto& urls_proto = policy.start_up_urls(); policy 619 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, policy 624 chrome/browser/chromeos/settings/device_settings_provider.cc policy.has_data_roaming_enabled() && policy 625 chrome/browser/chromeos/settings/device_settings_provider.cc policy.data_roaming_enabled().has_data_roaming_enabled() && policy 626 chrome/browser/chromeos/settings/device_settings_provider.cc policy.data_roaming_enabled().data_roaming_enabled()); policy 630 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, policy 632 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_auto_update_settings()) { policy 634 chrome/browser/chromeos/settings/device_settings_provider.cc policy.auto_update_settings(); policy 651 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, policy 653 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_device_reporting()) { policy 655 chrome/browser/chromeos/settings/device_settings_provider.cc policy.device_reporting(); policy 685 chrome/browser/chromeos/settings/device_settings_provider.cc const em::ChromeDeviceSettingsProto& policy, policy 687 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_metrics_enabled()) { policy 689 chrome/browser/chromeos/settings/device_settings_provider.cc policy.metrics_enabled().metrics_enabled()); policy 694 chrome/browser/chromeos/settings/device_settings_provider.cc if (!policy.has_release_channel() || policy 695 chrome/browser/chromeos/settings/device_settings_provider.cc !policy.release_channel().has_release_channel()) { policy 700 chrome/browser/chromeos/settings/device_settings_provider.cc policy.release_channel().release_channel()); policy 705 chrome/browser/chromeos/settings/device_settings_provider.cc policy.has_release_channel() && policy 706 chrome/browser/chromeos/settings/device_settings_provider.cc policy.release_channel().has_release_channel_delegated() && policy 707 chrome/browser/chromeos/settings/device_settings_provider.cc policy.release_channel().release_channel_delegated()); policy 709 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_system_timezone()) { policy 710 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.system_timezone().has_timezone()) { policy 713 chrome/browser/chromeos/settings/device_settings_provider.cc policy.system_timezone().timezone()); policy 717 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_use_24hour_clock()) { policy 718 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.use_24hour_clock().has_use_24hour_clock()) { policy 720 chrome/browser/chromeos/settings/device_settings_provider.cc kSystemUse24HourClock, policy.use_24hour_clock().use_24hour_clock()); policy 724 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_allow_redeem_offers()) { policy 727 chrome/browser/chromeos/settings/device_settings_provider.cc policy.allow_redeem_offers().allow_redeem_offers()); policy 734 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_variations_parameter()) { policy 737 chrome/browser/chromeos/settings/device_settings_provider.cc policy.variations_parameter().parameter()); policy 742 chrome/browser/chromeos/settings/device_settings_provider.cc policy.attestation_settings().attestation_enabled()); policy 744 chrome/browser/chromeos/settings/device_settings_provider.cc if (policy.has_attestation_settings() && policy 745 chrome/browser/chromeos/settings/device_settings_provider.cc policy.attestation_settings().has_content_protection_enabled()) { policy 748 chrome/browser/chromeos/settings/device_settings_provider.cc policy.attestation_settings().content_protection_enabled()); policy 834 chrome/browser/chromeos/settings/device_settings_provider.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 836 chrome/browser/chromeos/settings/device_settings_provider.cc if (connector->GetDeviceMode() != policy::DEVICE_MODE_CONSUMER) policy 70 chrome/browser/chromeos/settings/device_settings_provider.h const enterprise_management::ChromeDeviceSettingsProto& policy, policy 73 chrome/browser/chromeos/settings/device_settings_provider.h const enterprise_management::ChromeDeviceSettingsProto& policy, policy 76 chrome/browser/chromeos/settings/device_settings_provider.h const enterprise_management::ChromeDeviceSettingsProto& policy, policy 79 chrome/browser/chromeos/settings/device_settings_provider.h const enterprise_management::ChromeDeviceSettingsProto& policy, policy 82 chrome/browser/chromeos/settings/device_settings_provider.h const enterprise_management::ChromeDeviceSettingsProto& policy, policy 85 chrome/browser/chromeos/settings/device_settings_provider.h const enterprise_management::ChromeDeviceSettingsProto& policy, policy 193 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc device_policy_.policy().set_policy_data_signature("bad signature"); policy 269 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc policy::PolicyBuilder::kFakeUsername); policy 279 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc policy::PolicyBuilder::kFakeUsername); policy 281 chrome/browser/chromeos/settings/device_settings_provider_unittest.cc policy::DeviceLocalAccount::TYPE_PUBLIC_SESSION); policy 139 chrome/browser/chromeos/settings/device_settings_service.cc void DeviceSettingsService::Store(scoped_ptr<em::PolicyFetchResponse> policy, policy 146 chrome/browser/chromeos/settings/device_settings_service.cc policy.Pass())); policy 173 chrome/browser/chromeos/settings/device_settings_service.h void Store(scoped_ptr<enterprise_management::PolicyFetchResponse> policy, policy 103 chrome/browser/chromeos/settings/device_settings_service_unittest.cc device_policy_.policy().set_policy_data_signature("bad"); policy 178 chrome/browser/chromeos/settings/device_settings_test_helper.h policy::DevicePolicyBuilder device_policy_; policy 142 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_ptr<em::PolicyFetchResponse> policy(new em::PolicyFetchResponse()); policy 148 chrome/browser/chromeos/settings/session_manager_operation.cc if (!policy->ParseFromString(policy_blob) || policy 149 chrome/browser/chromeos/settings/session_manager_operation.cc !policy->IsInitialized()) { policy 161 chrome/browser/chromeos/settings/session_manager_operation.cc policy::DeviceCloudPolicyValidator* validator = policy 162 chrome/browser/chromeos/settings/session_manager_operation.cc policy::DeviceCloudPolicyValidator::Create(policy.Pass(), policy 181 chrome/browser/chromeos/settings/session_manager_operation.cc policy::CloudPolicyValidatorBase::TIMESTAMP_NOT_REQUIRED, policy 182 chrome/browser/chromeos/settings/session_manager_operation.cc policy::CloudPolicyValidatorBase::DM_TOKEN_NOT_REQUIRED); policy 183 chrome/browser/chromeos/settings/session_manager_operation.cc validator->ValidatePolicyType(policy::dm_protocol::kChromeDevicePolicyType); policy 197 chrome/browser/chromeos/settings/session_manager_operation.cc policy::DeviceCloudPolicyValidator* validator) { policy 209 chrome/browser/chromeos/settings/session_manager_operation.cc policy::DeviceCloudPolicyValidator::VALIDATION_BAD_TIMESTAMP) { policy 228 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_ptr<em::PolicyFetchResponse> policy) policy 230 chrome/browser/chromeos/settings/session_manager_operation.cc policy_(policy.Pass()), policy 289 chrome/browser/chromeos/settings/session_manager_operation.cc em::PolicyData policy; policy 290 chrome/browser/chromeos/settings/session_manager_operation.cc policy.set_policy_type(policy::dm_protocol::kChromeDevicePolicyType); policy 291 chrome/browser/chromeos/settings/session_manager_operation.cc policy.set_timestamp((base::Time::NowFromSystemTime() - policy 293 chrome/browser/chromeos/settings/session_manager_operation.cc policy.set_username(username); policy 294 chrome/browser/chromeos/settings/session_manager_operation.cc if (!device_settings->SerializeToString(policy.mutable_policy_value()) || policy 295 chrome/browser/chromeos/settings/session_manager_operation.cc !policy.SerializeToString(policy_response.mutable_policy_data())) { policy 104 chrome/browser/chromeos/settings/session_manager_operation.h void ReportValidatorStatus(policy::DeviceCloudPolicyValidator* validator); policy 146 chrome/browser/chromeos/settings/session_manager_operation.h scoped_ptr<enterprise_management::PolicyFetchResponse> policy); policy 49 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy::DeviceCloudPolicyValidator* validator) { policy 80 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy::DevicePolicyBuilder policy_; policy 180 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy_.SetSigningKey(*policy::PolicyBuilder::CreateTestOtherSigningKey()); policy 254 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy::DeviceCloudPolicyValidator* validator = policy 255 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy::DeviceCloudPolicyValidator::Create( policy 261 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy::CloudPolicyValidatorBase::TIMESTAMP_REQUIRED); policy 262 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc validator->ValidatePolicyType(policy::dm_protocol::kChromeDevicePolicyType); policy 273 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy::GetPolicyVerificationKey(), policy 274 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc policy::PolicyBuilder::kFakeDomain, policy 284 chrome/browser/chromeos/settings/session_manager_operation_unittest.cc EXPECT_EQ(policy::dm_protocol::kChromeDevicePolicyType, policy 240 chrome/browser/chromeos/system/input_device_settings.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 245 chrome/browser/chromeos/system/input_device_settings.cc policy::DeviceCloudPolicyManagerChromeOS* policy_manager = policy 73 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc policy::BrowserPolicyConnector::SetPolicyProviderForTesting(&provider_); policy 103 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc policy::PolicyMap policy_map; policy 104 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc policy_map.Set(policy::key::kShowAccessibilityOptionsInSystemTrayMenu, policy 105 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy 106 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc policy::POLICY_SCOPE_USER, policy 258 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc policy::MockConfigurationPolicyProvider provider_; policy 203 chrome/browser/content_settings/cookie_settings.cc net::StaticCookiePolicy policy( policy 207 chrome/browser/content_settings/cookie_settings.cc rv = policy.CanSetCookie(url, first_party_url); policy 209 chrome/browser/content_settings/cookie_settings.cc rv = policy.CanGetCookies(url, first_party_url); policy 266 chrome/browser/custom_handlers/protocol_handler_registry.cc ChildProcessSecurityPolicy* policy = policy 268 chrome/browser/custom_handlers/protocol_handler_registry.cc if (!policy->IsWebSafeScheme(protocol)) { policy 269 chrome/browser/custom_handlers/protocol_handler_registry.cc policy->RegisterWebSafeScheme(protocol); policy 151 chrome/browser/devtools/devtools_file_helper.cc content::ChildProcessSecurityPolicy* policy = policy 155 chrome/browser/devtools/devtools_file_helper.cc policy->GrantReadFileSystem(renderer_id, file_system_id); policy 156 chrome/browser/devtools/devtools_file_helper.cc policy->GrantWriteFileSystem(renderer_id, file_system_id); policy 157 chrome/browser/devtools/devtools_file_helper.cc policy->GrantCreateFileForFileSystem(renderer_id, file_system_id); policy 158 chrome/browser/devtools/devtools_file_helper.cc policy->GrantDeleteFromFileSystem(renderer_id, file_system_id); policy 163 chrome/browser/devtools/devtools_file_helper.cc if (!policy->CanReadFile(renderer_id, path)) policy 164 chrome/browser/devtools/devtools_file_helper.cc policy->GrantReadFile(renderer_id, path); policy 36 chrome/browser/download/download_dir_policy_handler.cc : TypeCheckingPolicyHandler(policy::key::kDownloadDirectory, policy 42 chrome/browser/download/download_dir_policy_handler.cc const policy::PolicyMap& policies, policy 43 chrome/browser/download/download_dir_policy_handler.cc policy::PolicyErrorMap* errors) { policy 52 chrome/browser/download/download_dir_policy_handler.cc policies.Get(policy_name())->scope != policy::POLICY_SCOPE_USER) { policy 62 chrome/browser/download/download_dir_policy_handler.cc const policy::PolicyMap& policies, policy 63 chrome/browser/download/download_dir_policy_handler.cc const policy::PolicyHandlerParameters& parameters, policy 91 chrome/browser/download/download_dir_policy_handler.cc expanded_value = policy::path_parser::ExpandPathVariables(string_value); policy 104 chrome/browser/download/download_dir_policy_handler.cc if (policies.Get(policy_name())->level == policy::POLICY_LEVEL_MANDATORY) { policy 14 chrome/browser/download/download_dir_policy_handler.h namespace policy { policy 19 chrome/browser/download/download_dir_policy_handler.h class DownloadDirPolicyHandler : public policy::TypeCheckingPolicyHandler { policy 25 chrome/browser/download/download_dir_policy_handler.h virtual bool CheckPolicySettings(const policy::PolicyMap& policies, policy 26 chrome/browser/download/download_dir_policy_handler.h policy::PolicyErrorMap* errors) OVERRIDE; policy 29 chrome/browser/download/download_dir_policy_handler.h const policy::PolicyMap& policies, policy 30 chrome/browser/download/download_dir_policy_handler.h const policy::PolicyHandlerParameters& parameters, policy 46 chrome/browser/download/download_dir_policy_handler_unittest.cc : public policy::ConfigurationPolicyPrefStoreTest { policy 49 chrome/browser/download/download_dir_policy_handler_unittest.cc recommended_store_ = new policy::ConfigurationPolicyPrefStore( policy 52 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::POLICY_LEVEL_RECOMMENDED); policy 54 chrome/browser/download/download_dir_policy_handler_unittest.cc make_scoped_ptr<policy::ConfigurationPolicyHandler>( policy 59 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::PolicyHandlerParameters* parameters) OVERRIDE { policy 64 chrome/browser/download/download_dir_policy_handler_unittest.cc scoped_refptr<policy::ConfigurationPolicyPrefStore> recommended_store_; policy 69 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::PolicyMap policy; policy 71 chrome/browser/download/download_dir_policy_handler_unittest.cc policy.Set(policy::key::kDownloadDirectory, policy 72 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 73 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 76 chrome/browser/download/download_dir_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 93 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::PolicyMap policy; policy 94 chrome/browser/download/download_dir_policy_handler_unittest.cc policy.Set(policy::key::kDownloadDirectory, policy 95 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 96 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 99 chrome/browser/download/download_dir_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 114 chrome/browser/download/download_dir_policy_handler_unittest.cc policy.Set(policy::key::kDownloadDirectory, policy 115 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::POLICY_LEVEL_RECOMMENDED, policy 116 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 120 chrome/browser/download/download_dir_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 131 chrome/browser/download/download_dir_policy_handler_unittest.cc policy.Set(policy::key::kDownloadDirectory, policy 132 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::POLICY_LEVEL_RECOMMENDED, policy 133 chrome/browser/download/download_dir_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 136 chrome/browser/download/download_dir_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 79 chrome/browser/extensions/activity_log/counting_policy_unittest.cc ActivityLogDatabasePolicy* policy, policy 84 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, extension_id, Action::ACTION_ANY, "", "", "", day, checker); policy 90 chrome/browser/extensions/activity_log/counting_policy_unittest.cc ActivityLogDatabasePolicy* policy, policy 101 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ReadFilteredData( policy 128 chrome/browser/extensions/activity_log/counting_policy_unittest.cc static void CheckStringTableSizes(CountingPolicy* policy, policy 131 chrome/browser/extensions/activity_log/counting_policy_unittest.cc sql::Connection* db = policy->GetDatabaseConnection(); policy 145 chrome/browser/extensions/activity_log/counting_policy_unittest.cc static void CheckQueueSize(CountingPolicy* policy) { policy 148 chrome/browser/extensions/activity_log/counting_policy_unittest.cc ASSERT_LE(policy->queued_actions_.size(), 200U); policy 303 chrome/browser/extensions/activity_log/counting_policy_unittest.cc ActivityLogDatabasePolicy* policy, policy 312 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 324 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 327 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 337 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 340 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 343 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->RemoveActions(action_ids); policy 347 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CheckReadData(policy, "", -1, checker); policy 350 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->DeleteDatabase(); policy 430 chrome/browser/extensions/activity_log/counting_policy_unittest.cc ActivityLogDatabasePolicy* policy = new CountingPolicy(profile_.get()); policy 431 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 446 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 447 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 451 chrome/browser/extensions/activity_log/counting_policy_unittest.cc ActivityLogDatabasePolicy* policy = new CountingPolicy(profile_.get()); policy 452 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 471 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 472 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CheckReadData(policy, policy 476 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 480 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CountingPolicy* policy = new CountingPolicy(profile_.get()); policy 481 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 484 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); policy 494 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 503 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 510 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 518 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 524 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 530 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 533 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 537 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 542 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CountingPolicy* policy = new CountingPolicy(profile_.get()); policy 543 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 544 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); policy 551 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 561 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 569 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 577 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 585 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 588 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 593 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 597 chrome/browser/extensions/activity_log/counting_policy_unittest.cc ActivityLogDatabasePolicy* policy = new CountingPolicy(profile_.get()); policy 598 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 615 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action_api); policy 623 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action_dom); policy 626 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 637 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 648 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 659 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 670 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 681 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 691 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 697 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CountingPolicy* policy = new CountingPolicy(profile_.get()); policy 698 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 701 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); policy 708 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 718 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 725 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 732 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 734 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CheckReadData(policy, policy 738 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CheckReadData(policy, policy 745 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(2)); policy 746 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->last_database_cleaning_time_ = base::Time(); policy 751 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 753 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CheckReadData(policy, policy 757 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CheckReadData(policy, policy 762 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 767 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CountingPolicy* policy = new CountingPolicy(profile_.get()); policy 768 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 771 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); policy 775 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 785 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 791 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 795 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Flush(); policy 796 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ScheduleAndForget(policy, policy 805 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(2)); policy 806 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->last_database_cleaning_time_ = base::Time(); policy 807 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 808 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Flush(); policy 809 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ScheduleAndForget(policy, policy 815 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 822 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CountingPolicy* policy = new CountingPolicy(profile_.get()); policy 823 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 824 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); policy 831 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 849 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 852 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 855 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 858 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 864 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 878 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 881 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 884 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 887 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 892 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 898 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CountingPolicy* policy = new CountingPolicy(profile_.get()); policy 899 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 907 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 910 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ScheduleAndForget(policy, &CountingPolicyTest::CheckQueueSize); policy 913 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 917 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CountingPolicy* policy = new CountingPolicy(profile_.get()); policy 918 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 926 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 929 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Flush(); policy 933 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 942 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 946 chrome/browser/extensions/activity_log/counting_policy_unittest.cc ActivityLogDatabasePolicy* policy = new CountingPolicy(profile_.get()); policy 947 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 954 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 964 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 974 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 978 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->RemoveURLs(no_url_restrictions); policy 981 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 985 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 989 chrome/browser/extensions/activity_log/counting_policy_unittest.cc ActivityLogDatabasePolicy* policy = new CountingPolicy(profile_.get()); policy 990 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 997 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 1007 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1017 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1027 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1037 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1048 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1055 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->RemoveURLs(urls); policy 1058 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 1062 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 1066 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CountingPolicy* policy = new CountingPolicy(profile_.get()); policy 1067 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 1074 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 1084 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1085 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1086 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1095 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action2); policy 1097 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Flush(); policy 1098 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->RemoveExtensionData("deleteextensiondata"); policy 1101 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 1112 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 1121 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 1125 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CountingPolicy* policy = new CountingPolicy(profile_.get()); policy 1126 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 1129 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->set_retention_time(base::TimeDelta::FromDays(14)); policy 1139 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 1148 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1155 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1163 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1169 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1175 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1178 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 1183 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->DeleteDatabase(); policy 1186 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 1203 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1206 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 1211 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->DeleteDatabase(); policy 1214 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 1224 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 1230 chrome/browser/extensions/activity_log/counting_policy_unittest.cc CountingPolicy* policy = new CountingPolicy(profile_.get()); policy 1231 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 1235 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 1242 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1247 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1252 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->RemoveURLs(no_url_restrictions); policy 1258 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->ProcessAction(action); policy 1261 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, policy 1265 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 1269 chrome/browser/extensions/activity_log/counting_policy_unittest.cc ActivityLogDatabasePolicy* policy = new CountingPolicy(profile_.get()); policy 1270 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Init(); policy 1275 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::NoActionsDeleted)); policy 1283 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::NoActionsDeleted)); policy 1290 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::NoActionsDeleted)); policy 1298 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::AllActionsDeleted)); policy 1303 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::Action1Deleted)); policy 1308 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy, action_ids, base::Bind(&CountingPolicyTest::Action2Deleted)); policy 1311 chrome/browser/extensions/activity_log/counting_policy_unittest.cc policy->Close(); policy 70 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy, policy 75 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, extension_id, Action::ACTION_ANY, "", "", "", day, checker); policy 81 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy, policy 92 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ReadFilteredData( policy 228 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy, policy 237 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 249 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 252 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 262 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 265 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 268 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->RemoveActions(action_ids); policy 272 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc CheckReadData(policy, "", -1, checker); policy 275 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->DeleteDatabase(); policy 387 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 388 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 403 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 404 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 408 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 409 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 426 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action_api); policy 434 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action_dom); policy 437 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 442 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 446 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 447 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 464 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action_api); policy 472 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action_dom); policy 475 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 486 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 497 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 508 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 519 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 530 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 540 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 544 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 545 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 564 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 565 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc CheckReadData(policy, policy 569 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 573 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 574 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 584 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 595 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 603 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 610 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 613 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 617 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 622 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 623 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 630 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 640 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 648 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 656 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 664 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 667 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 671 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 675 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 676 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 683 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 693 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 703 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 707 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->RemoveURLs(no_url_restrictions); policy 710 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 714 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 718 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 719 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 726 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 736 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 746 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 756 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 766 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 776 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 783 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->RemoveURLs(urls); policy 786 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 790 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 794 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc FullStreamUIPolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 795 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 802 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->SetClockForTesting(scoped_ptr<base::Clock>(mock_clock)); policy 812 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 813 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 814 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 823 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action2); policy 825 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Flush(); policy 826 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->RemoveExtensionData("deleteextensiondata"); policy 829 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 840 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 849 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 853 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc FullStreamUIPolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 854 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 862 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action); policy 865 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Flush(); policy 874 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 883 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 887 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 888 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 905 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action_api); policy 913 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->ProcessAction(action_dom); policy 916 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 922 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->DeleteDatabase(); policy 925 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, policy 935 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 939 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc ActivityLogDatabasePolicy* policy = new FullStreamUIPolicy(profile_.get()); policy 940 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Init(); policy 944 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc CheckRemoveActions(policy, policy 953 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc CheckRemoveActions(policy, policy 961 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc CheckRemoveActions(policy, policy 972 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc CheckRemoveActions(policy, policy 980 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, action_ids, base::Bind(&FullStreamUIPolicyTest::Action1Deleted)); policy 986 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy, action_ids, base::Bind(&FullStreamUIPolicyTest::Action2Deleted)); policy 989 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc policy->Close(); policy 25 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ActivityLogPolicy* policy = new UmaPolicy(profile_.get()); policy 26 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->Close(); policy 30 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy* policy = new UmaPolicy(profile_.get()); policy 34 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(UmaPolicy::NONE, policy->MatchActionToStatus(action)); policy 39 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT), policy->MatchActionToStatus(action)); policy 44 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT) & policy->MatchActionToStatus(action)); policy 46 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT), policy->MatchActionToStatus(action)); policy 52 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_TRUE((1 << UmaPolicy::READ_DOM) & policy->MatchActionToStatus(action)); policy 53 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ((1 << UmaPolicy::READ_DOM), policy->MatchActionToStatus(action)); policy 58 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::MODIFIED_DOM) & policy->MatchActionToStatus(action)); policy 60 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::MODIFIED_DOM), policy->MatchActionToStatus(action)); policy 67 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::DOCUMENT_WRITE) & policy->MatchActionToStatus(action)); policy 69 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::DOM_METHOD) & policy->MatchActionToStatus(action)); policy 78 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(UmaPolicy::NONE, policy->MatchActionToStatus(action)); policy 82 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CREATED_SCRIPT) & policy->MatchActionToStatus(action)); policy 84 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::DOM_METHOD) & policy->MatchActionToStatus(action)); policy 86 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->Close(); policy 90 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy* policy = new UmaPolicy(profile_.get()); policy 98 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->SetupOpenedPage(site1); policy 99 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->SetupOpenedPage(site2); policy 100 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->SetupOpenedPage(site2); policy 101 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->SetupOpenedPage(site3); policy 102 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->SetupOpenedPage(site3); policy 103 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->SetupOpenedPage(site3); policy 106 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(3u, policy->url_status().size()); policy 107 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(1, policy->url_status()[site1][UmaPolicy::kNumberOfTabs]); policy 108 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(2, policy->url_status()[site2][UmaPolicy::kNumberOfTabs]); policy 109 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(3, policy->url_status()[site3][UmaPolicy::kNumberOfTabs]); policy 112 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->CleanupClosedPage(site0); policy 113 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->CleanupClosedPage(site2); policy 114 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->CleanupClosedPage(site2); policy 115 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->CleanupClosedPage(site3); policy 118 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(2u, policy->url_status().size()); policy 119 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(1, policy->url_status()[site1][UmaPolicy::kNumberOfTabs]); policy 120 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(2, policy->url_status()[site3][UmaPolicy::kNumberOfTabs]); policy 122 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->Close(); policy 130 chrome/browser/extensions/activity_log/uma_policy_unittest.cc UmaPolicy* policy = new UmaPolicy(profile_.get()); policy 133 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->SetupOpenedPage(site_a); policy 134 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->SetupOpenedPage(site_b); policy 140 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->ProcessAction(action1); policy 145 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->ProcessAction(action2); policy 152 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->ProcessAction(action3); policy 160 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->ProcessAction(action4); policy 167 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->ProcessAction(action5); policy 172 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->ProcessAction(action6); policy 175 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(2u, policy->url_status().size()); policy 177 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(3u, policy->url_status()[site_a].size()); policy 179 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT) & policy->url_status()[site_a][ext_a]); policy 181 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT) & policy->url_status()[site_a][ext_b]); policy 182 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_TRUE((1 << UmaPolicy::READ_DOM) & policy->url_status()[site_a][ext_b]); policy 184 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::READ_DOM) & policy->url_status()[site_a][ext_a]); policy 186 chrome/browser/extensions/activity_log/uma_policy_unittest.cc ASSERT_EQ(3u, policy->url_status()[site_b].size()); policy 188 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::MODIFIED_DOM) & policy->url_status()[site_b][ext_a]); policy 190 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::MODIFIED_DOM) & policy->url_status()[site_b][ext_b]); policy 192 chrome/browser/extensions/activity_log/uma_policy_unittest.cc (1 << UmaPolicy::CONTENT_SCRIPT) & policy->url_status()[site_b][ext_b]); policy 194 chrome/browser/extensions/activity_log/uma_policy_unittest.cc policy->Close(); policy 780 chrome/browser/extensions/api/developer_private/developer_private_api.cc ManagementPolicy* policy = system->management_policy(); policy 789 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (!policy->UserMayModifySettings(extension, NULL) || policy 790 chrome/browser/extensions/api/developer_private/developer_private_api.cc (!enable && policy->MustRemainEnabled(extension, NULL)) || policy 791 chrome/browser/extensions/api/developer_private/developer_private_api.cc (enable && policy->MustRemainDisabled(extension, NULL, NULL))) { policy 92 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc policy::EnterpriseInstallAttributes* install_attributes) : policy 282 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc policy::EnterpriseInstallAttributes* install_attributes) : policy 399 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc policy::EnterpriseInstallAttributes* install_attributes) : policy 31 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h namespace policy { policy 64 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h policy::EnterpriseInstallAttributes* install_attributes); policy 145 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h policy::EnterpriseInstallAttributes* install_attributes_; policy 158 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h policy::EnterpriseInstallAttributes* install_attributes); policy 193 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h policy::EnterpriseInstallAttributes* install_attributes); policy 162 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc stub_install_attributes_.SetMode(policy::DEVICE_MODE_ENTERPRISE); policy 200 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc policy::StubEnterpriseInstallAttributes stub_install_attributes_; policy 327 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc content::ChildProcessSecurityPolicy* policy = policy 329 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc policy->GrantReadFileSystem(renderer_id, result.filesystem_id); policy 332 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc policy->GrantCreateReadWriteFileSystem(renderer_id, result.filesystem_id); policy 334 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc policy->GrantWriteFileSystem(renderer_id, result.filesystem_id); policy 335 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc policy->GrantDeleteFromFileSystem(renderer_id, result.filesystem_id); policy 377 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc content::ChildProcessSecurityPolicy* policy = policy 379 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc if (!policy->CanReadFileSystem(render_view_host->GetProcess()->GetID(), policy 417 chrome/browser/extensions/api/file_system/file_system_api.cc content::ChildProcessSecurityPolicy* policy = policy 420 chrome/browser/extensions/api/file_system/file_system_api.cc bool is_writable = policy->CanReadWriteFileSystem(renderer_id, policy 274 chrome/browser/extensions/api/identity/identity_api.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 393 chrome/browser/extensions/api/identity/identity_api.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 474 chrome/browser/extensions/api/management/management_api.cc const ManagementPolicy* policy = policy 476 chrome/browser/extensions/api/management/management_api.cc if (!policy->UserMayModifySettings(extension, NULL) || policy 477 chrome/browser/extensions/api/management/management_api.cc (!params->enabled && policy->MustRemainEnabled(extension, NULL)) || policy 478 chrome/browser/extensions/api/management/management_api.cc (params->enabled && policy->MustRemainDisabled(extension, NULL, NULL))) { policy 177 chrome/browser/extensions/api/management/management_apitest.cc extensions::ManagementPolicy* policy = extensions::ExtensionSystem::Get( policy 179 chrome/browser/extensions/api/management/management_apitest.cc policy->UnregisterAllProviders(); policy 182 chrome/browser/extensions/api/management/management_apitest.cc policy->RegisterProvider(&provider); policy 177 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc content::ChildProcessSecurityPolicy* policy = policy 179 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc policy->GrantReadFile(child_id, filesystems[i].path); policy 181 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc policy->GrantDeleteFrom(child_id, filesystems[i].path); policy 183 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc policy->GrantCopyInto(child_id, filesystems[i].path); policy 23 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc : policy::TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), policy 30 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc const policy::PolicyMap& policies, policy 31 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc policy::PolicyErrorMap* errors) { policy 36 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc const policy::PolicyMap& policies, policy 39 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc policy::PolicyErrorMap errors; policy 49 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc const policy::PolicyMap& policies, policy 50 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc policy::PolicyErrorMap* errors, policy 12 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h namespace policy { policy 22 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h : public policy::TypeCheckingPolicyHandler { policy 30 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h virtual bool CheckPolicySettings(const policy::PolicyMap& policies, policy 31 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h policy::PolicyErrorMap* errors) OVERRIDE; policy 32 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h virtual void ApplyPolicySettings(const policy::PolicyMap& policies, policy 39 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h bool CheckAndGetList(const policy::PolicyMap& policies, policy 40 chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h policy::PolicyErrorMap* errors, policy 21 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::PolicyMap policy_map; policy 23 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::key::kNativeMessagingBlacklist, kTestPref, true); policy 25 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy_map.Set(policy::key::kNativeMessagingBlacklist, policy 26 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 27 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 31 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::PolicyErrorMap errors; policy 37 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy_map.Set(policy::key::kNativeMessagingBlacklist, policy 38 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 39 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 43 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::PolicyErrorMap errors; policy 49 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy_map.Set(policy::key::kNativeMessagingBlacklist, policy 50 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 51 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 55 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::PolicyErrorMap errors; policy 61 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy_map.Set(policy::key::kNativeMessagingBlacklist, policy 62 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 63 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 67 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::PolicyErrorMap errors; policy 71 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc errors.GetErrors(policy::key::kNativeMessagingBlacklist).empty()); policy 76 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc base::ListValue policy; policy 78 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::PolicyMap policy_map; policy 82 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::key::kNativeMessagingBlacklist, kTestPref, true); policy 84 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy.Append(new base::StringValue("com.example.test")); policy 87 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy_map.Set(policy::key::kNativeMessagingBlacklist, policy 88 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 89 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 90 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy.DeepCopy(), policy 96 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy.Append(new base::StringValue("*")); policy 99 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy_map.Set(policy::key::kNativeMessagingBlacklist, policy 100 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 101 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 102 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy.DeepCopy(), policy 108 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy.Append(new base::StringValue("invalid Name")); policy 109 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy_map.Set(policy::key::kNativeMessagingBlacklist, policy 110 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 111 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 112 chrome/browser/extensions/api/messaging/native_messaging_policy_handler_unittest.cc policy.DeepCopy(), policy 108 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc policy::BrowserPolicyConnector::SetPolicyProviderForTesting(&provider_); policy 293 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc policy::MockConfigurationPolicyProvider provider_; policy 403 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc policy::PolicyMap policy; policy 404 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc policy.Set(policy::key::kOpenNetworkConfiguration, policy 405 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc policy::POLICY_LEVEL_MANDATORY, policy 406 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc policy::POLICY_SCOPE_USER, policy 409 chrome/browser/extensions/api/networking_private/networking_private_apitest.cc provider_.UpdateChromePolicy(policy); policy 612 chrome/browser/extensions/api/runtime/runtime_api.cc content::ChildProcessSecurityPolicy* policy = policy 614 chrome/browser/extensions/api/runtime/runtime_api.cc policy->GrantReadFileSystem(renderer_id, filesystem_id); policy 93 chrome/browser/extensions/api/storage/managed_value_store_cache.cc void Register(const policy::ComponentMap* components); policy 97 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy::SchemaRegistry* schema_registry_; policy 106 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy::SchemaRegistryServiceFactory::GetForContext(profile)), policy 145 chrome/browser/extensions/api/storage/managed_value_store_cache.cc schema_registry_->UnregisterComponent(policy::PolicyNamespace( policy 146 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy::POLICY_DOMAIN_EXTENSIONS, removed->id())); policy 197 chrome/browser/extensions/api/storage/managed_value_store_cache.cc scoped_ptr<policy::ComponentMap> components(new policy::ComponentMap); policy 205 chrome/browser/extensions/api/storage/managed_value_store_cache.cc (*components)[(*it)->id()] = policy::Schema(); policy 211 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy::Schema schema = policy 223 chrome/browser/extensions/api/storage/managed_value_store_cache.cc const policy::ComponentMap* components) { policy 225 chrome/browser/extensions/api/storage/managed_value_store_cache.cc schema_registry_->RegisterComponents(policy::POLICY_DOMAIN_EXTENSIONS, policy 234 chrome/browser/extensions/api/storage/managed_value_store_cache.cc schema_registry_->SetReady(policy::POLICY_DOMAIN_EXTENSIONS); policy 242 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy_service_(policy::ProfilePolicyConnectorFactory::GetForProfile( policy 250 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy_service_->AddObserver(policy::POLICY_DOMAIN_EXTENSIONS, this); policy 255 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy::POLICY_DOMAIN_EXTENSIONS)) { policy 256 chrome/browser/extensions/api/storage/managed_value_store_cache.cc OnPolicyServiceInitialized(policy::POLICY_DOMAIN_EXTENSIONS); policy 268 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy_service_->RemoveObserver(policy::POLICY_DOMAIN_EXTENSIONS, this); policy 292 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy::PolicyDomain domain) { policy 295 chrome/browser/extensions/api/storage/managed_value_store_cache.cc if (domain != policy::POLICY_DOMAIN_EXTENSIONS) policy 300 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy::SchemaRegistry* registry = policy 301 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy::SchemaRegistryServiceFactory::GetForContext(profile_); policy 302 chrome/browser/extensions/api/storage/managed_value_store_cache.cc const policy::ComponentMap* map = registry->schema_map()->GetComponents( policy 303 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy::POLICY_DOMAIN_EXTENSIONS); policy 307 chrome/browser/extensions/api/storage/managed_value_store_cache.cc const policy::PolicyMap empty_map; policy 308 chrome/browser/extensions/api/storage/managed_value_store_cache.cc for (policy::ComponentMap::const_iterator it = map->begin(); policy 310 chrome/browser/extensions/api/storage/managed_value_store_cache.cc const policy::PolicyNamespace ns(policy::POLICY_DOMAIN_EXTENSIONS, policy 318 chrome/browser/extensions/api/storage/managed_value_store_cache.cc void ManagedValueStoreCache::OnPolicyUpdated(const policy::PolicyNamespace& ns, policy 319 chrome/browser/extensions/api/storage/managed_value_store_cache.cc const policy::PolicyMap& previous, policy 320 chrome/browser/extensions/api/storage/managed_value_store_cache.cc const policy::PolicyMap& current) { policy 324 chrome/browser/extensions/api/storage/managed_value_store_cache.cc policy::POLICY_DOMAIN_EXTENSIONS)) { policy 341 chrome/browser/extensions/api/storage/managed_value_store_cache.cc scoped_ptr<policy::PolicyMap> current_policy) { policy 27 chrome/browser/extensions/api/storage/managed_value_store_cache.h namespace policy { policy 41 chrome/browser/extensions/api/storage/managed_value_store_cache.h public policy::PolicyService::Observer { policy 66 chrome/browser/extensions/api/storage/managed_value_store_cache.h virtual void OnPolicyServiceInitialized(policy::PolicyDomain domain) OVERRIDE; policy 67 chrome/browser/extensions/api/storage/managed_value_store_cache.h virtual void OnPolicyUpdated(const policy::PolicyNamespace& ns, policy 68 chrome/browser/extensions/api/storage/managed_value_store_cache.h const policy::PolicyMap& previous, policy 69 chrome/browser/extensions/api/storage/managed_value_store_cache.h const policy::PolicyMap& current) OVERRIDE; policy 74 chrome/browser/extensions/api/storage/managed_value_store_cache.h scoped_ptr<policy::PolicyMap> current_policy); policy 87 chrome/browser/extensions/api/storage/managed_value_store_cache.h policy::PolicyService* policy_service_; policy 41 chrome/browser/extensions/api/storage/policy_value_store.cc void PolicyValueStore::SetCurrentPolicy(const policy::PolicyMap& policy) { policy 46 chrome/browser/extensions/api/storage/policy_value_store.cc for (policy::PolicyMap::const_iterator it = policy.begin(); policy 47 chrome/browser/extensions/api/storage/policy_value_store.cc it != policy.end(); ++it) { policy 48 chrome/browser/extensions/api/storage/policy_value_store.cc if (it->second.level == policy::POLICY_LEVEL_MANDATORY) { policy 17 chrome/browser/extensions/api/storage/policy_value_store.h namespace policy { policy 37 chrome/browser/extensions/api/storage/policy_value_store.h void SetCurrentPolicy(const policy::PolicyMap& policy); policy 121 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc policy::PolicyMap policies; policy 123 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc policies.Set("must", policy::POLICY_LEVEL_MANDATORY, policy 124 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc policy::POLICY_SCOPE_USER, expected.DeepCopy(), NULL); policy 125 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc policies.Set("may", policy::POLICY_LEVEL_RECOMMENDED, policy 126 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc policy::POLICY_SCOPE_USER, policy 167 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc policy::PolicyMap policies; policy 168 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc policies.Set("aaa", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, policy 184 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc policies.Set("bbb", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, policy 202 chrome/browser/extensions/api/storage/policy_value_store_unittest.cc policies.Set("bbb", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, policy 63 chrome/browser/extensions/api/storage/settings_apitest.cc class MockSchemaRegistryObserver : public policy::SchemaRegistry::Observer { policy 83 chrome/browser/extensions/api/storage/settings_apitest.cc policy::BrowserPolicyConnector::SetPolicyProviderForTesting( policy 134 chrome/browser/extensions/api/storage/settings_apitest.cc scoped_ptr<policy::PolicyBundle> bundle(new policy::PolicyBundle()); policy 135 chrome/browser/extensions/api/storage/settings_apitest.cc policy::PolicyMap& policy_map = bundle->Get(policy::PolicyNamespace( policy 136 chrome/browser/extensions/api/storage/settings_apitest.cc policy::POLICY_DOMAIN_EXTENSIONS, kManagedStorageExtensionId)); policy 138 chrome/browser/extensions/api/storage/settings_apitest.cc &policies, policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER); policy 211 chrome/browser/extensions/api/storage/settings_apitest.cc policy::MockConfigurationPolicyProvider policy_provider_; policy 434 chrome/browser/extensions/api/storage/settings_apitest.cc policy::SchemaRegistry* registry = policy 435 chrome/browser/extensions/api/storage/settings_apitest.cc policy::SchemaRegistryServiceFactory::GetForContext(profile); policy 437 chrome/browser/extensions/api/storage/settings_apitest.cc EXPECT_FALSE(registry->schema_map()->GetSchema(policy::PolicyNamespace( policy 438 chrome/browser/extensions/api/storage/settings_apitest.cc policy::POLICY_DOMAIN_EXTENSIONS, kManagedStorageExtensionId))); policy 452 chrome/browser/extensions/api/storage/settings_apitest.cc const policy::Schema* schema = policy 453 chrome/browser/extensions/api/storage/settings_apitest.cc registry->schema_map()->GetSchema(policy::PolicyNamespace( policy 454 chrome/browser/extensions/api/storage/settings_apitest.cc policy::POLICY_DOMAIN_EXTENSIONS, kManagedStorageExtensionId)); policy 472 chrome/browser/extensions/api/storage/settings_apitest.cc policy::Schema list = schema->GetKnownProperty("list-policy"); policy 478 chrome/browser/extensions/api/storage/settings_apitest.cc policy::Schema dict = schema->GetKnownProperty("dict-policy"); policy 493 chrome/browser/extensions/api/storage/settings_apitest.cc scoped_ptr<base::DictionaryValue> policy = extensions::DictionaryBuilder() policy 510 chrome/browser/extensions/api/storage/settings_apitest.cc SetPolicies(*policy); policy 524 chrome/browser/extensions/api/storage/settings_apitest.cc scoped_ptr<base::DictionaryValue> policy = extensions::DictionaryBuilder() policy 529 chrome/browser/extensions/api/storage/settings_apitest.cc SetPolicies(*policy); policy 540 chrome/browser/extensions/api/storage/settings_apitest.cc policy = extensions::DictionaryBuilder() policy 545 chrome/browser/extensions/api/storage/settings_apitest.cc SetPolicies(*policy); policy 346 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc ConflictResolutionPolicy policy = ExtensionEnumToConflictResolutionPolicy( policy 348 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc if (policy == sync_file_system::CONFLICT_RESOLUTION_POLICY_UNKNOWN) { policy 357 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc source_url().GetOrigin(), policy); policy 369 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc api::sync_file_system::ConflictResolutionPolicy policy = policy 373 chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc api::sync_file_system::ToString(policy))); policy 77 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc api::sync_file_system::ConflictResolutionPolicy policy) { policy 78 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc switch (policy) { policy 86 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc NOTREACHED() << "Invalid conflict resolution policy: " << policy; policy 92 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc sync_file_system::ConflictResolutionPolicy policy) { policy 93 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc switch (policy) { policy 104 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc NOTREACHED() << "Invalid conflict resolution policy: " << policy; policy 42 chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.h sync_file_system::ConflictResolutionPolicy policy); policy 835 chrome/browser/extensions/extension_service.cc ManagementPolicy* policy = system_->management_policy(); policy 836 chrome/browser/extensions/extension_service.cc if (extension && policy->MustRemainDisabled(extension, NULL, NULL)) { policy 42 chrome/browser/extensions/extension_system_factory.cc DependsOn(policy::ProfilePolicyConnectorFactory::GetInstance()); policy 109 chrome/browser/extensions/extension_system_impl.cc policy::DeviceLocalAccount::Type device_local_account_type; policy 110 chrome/browser/extensions/extension_system_impl.cc if (user && policy::IsDeviceLocalAccountUser(user->email(), policy 356 chrome/browser/extensions/external_provider_impl.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 361 chrome/browser/extensions/external_provider_impl.cc policy::DeviceLocalAccount::Type account_type; policy 362 chrome/browser/extensions/external_provider_impl.cc if (user && policy::IsDeviceLocalAccountUser(user->email(), &account_type)) { policy 363 chrome/browser/extensions/external_provider_impl.cc if (account_type == policy::DeviceLocalAccount::TYPE_PUBLIC_SESSION) policy 365 chrome/browser/extensions/external_provider_impl.cc policy::DeviceLocalAccountPolicyBroker* broker = policy 420 chrome/browser/extensions/external_provider_impl.cc connector->GetDeviceMode() == policy::DEVICE_MODE_RETAIL_KIOSK; policy 470 chrome/browser/extensions/external_provider_impl.cc policy::AppPackUpdater* app_pack_updater = connector->GetAppPackUpdater(); policy 153 chrome/browser/extensions/installed_loader.cc const ManagementPolicy* policy = extensions::ExtensionSystem::Get( policy 158 chrome/browser/extensions/installed_loader.cc if (!policy->UserMayLoad(extension.get(), NULL)) { policy 164 chrome/browser/extensions/installed_loader.cc policy->MustRemainDisabled(extension, &disable_reason, NULL)) { policy 25 chrome/browser/extensions/policy_handlers.cc : policy::TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), policy 32 chrome/browser/extensions/policy_handlers.cc const policy::PolicyMap& policies, policy 33 chrome/browser/extensions/policy_handlers.cc policy::PolicyErrorMap* errors) { policy 38 chrome/browser/extensions/policy_handlers.cc const policy::PolicyMap& policies, policy 41 chrome/browser/extensions/policy_handlers.cc policy::PolicyErrorMap errors; policy 51 chrome/browser/extensions/policy_handlers.cc const policy::PolicyMap& policies, policy 52 chrome/browser/extensions/policy_handlers.cc policy::PolicyErrorMap* errors, policy 101 chrome/browser/extensions/policy_handlers.cc : policy::TypeCheckingPolicyHandler(policy::key::kExtensionInstallForcelist, policy 108 chrome/browser/extensions/policy_handlers.cc const policy::PolicyMap& policies, policy 109 chrome/browser/extensions/policy_handlers.cc policy::PolicyErrorMap* errors) { policy 116 chrome/browser/extensions/policy_handlers.cc const policy::PolicyMap& policies, policy 130 chrome/browser/extensions/policy_handlers.cc policy::PolicyErrorMap* errors) { policy 193 chrome/browser/extensions/policy_handlers.cc : policy::TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), policy 199 chrome/browser/extensions/policy_handlers.cc const policy::PolicyMap& policies, policy 200 chrome/browser/extensions/policy_handlers.cc policy::PolicyErrorMap* errors) { policy 239 chrome/browser/extensions/policy_handlers.cc const policy::PolicyMap& policies, policy 12 chrome/browser/extensions/policy_handlers.h namespace policy { policy 21 chrome/browser/extensions/policy_handlers.h : public policy::TypeCheckingPolicyHandler { policy 29 chrome/browser/extensions/policy_handlers.h virtual bool CheckPolicySettings(const policy::PolicyMap& policies, policy 30 chrome/browser/extensions/policy_handlers.h policy::PolicyErrorMap* errors) OVERRIDE; policy 31 chrome/browser/extensions/policy_handlers.h virtual void ApplyPolicySettings(const policy::PolicyMap& policies, policy 38 chrome/browser/extensions/policy_handlers.h bool CheckAndGetList(const policy::PolicyMap& policies, policy 39 chrome/browser/extensions/policy_handlers.h policy::PolicyErrorMap* errors, policy 50 chrome/browser/extensions/policy_handlers.h : public policy::TypeCheckingPolicyHandler { policy 56 chrome/browser/extensions/policy_handlers.h virtual bool CheckPolicySettings(const policy::PolicyMap& policies, policy 57 chrome/browser/extensions/policy_handlers.h policy::PolicyErrorMap* errors) OVERRIDE; policy 58 chrome/browser/extensions/policy_handlers.h virtual void ApplyPolicySettings(const policy::PolicyMap& policies, policy 65 chrome/browser/extensions/policy_handlers.h policy::PolicyErrorMap* errors); policy 73 chrome/browser/extensions/policy_handlers.h : public policy::TypeCheckingPolicyHandler { policy 80 chrome/browser/extensions/policy_handlers.h virtual bool CheckPolicySettings(const policy::PolicyMap& policies, policy 81 chrome/browser/extensions/policy_handlers.h policy::PolicyErrorMap* errors) OVERRIDE; policy 82 chrome/browser/extensions/policy_handlers.h virtual void ApplyPolicySettings(const policy::PolicyMap& policies, policy 21 chrome/browser/extensions/policy_handlers_unittest.cc policy::PolicyMap policy_map; policy 22 chrome/browser/extensions/policy_handlers_unittest.cc policy::PolicyErrorMap errors; policy 24 chrome/browser/extensions/policy_handlers_unittest.cc policy::key::kExtensionInstallBlacklist, kTestPref, true); policy 26 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallBlacklist, policy 27 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 28 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 37 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallBlacklist, policy 38 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 39 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 47 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallBlacklist, policy 48 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 49 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 57 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallBlacklist, policy 58 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 59 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 66 chrome/browser/extensions/policy_handlers_unittest.cc errors.GetErrors(policy::key::kExtensionInstallBlacklist).empty()); policy 70 chrome/browser/extensions/policy_handlers_unittest.cc base::ListValue policy; policy 72 chrome/browser/extensions/policy_handlers_unittest.cc policy::PolicyMap policy_map; policy 76 chrome/browser/extensions/policy_handlers_unittest.cc policy::key::kExtensionInstallBlacklist, kTestPref, false); policy 78 chrome/browser/extensions/policy_handlers_unittest.cc policy.Append( policy 83 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallBlacklist, policy 84 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 85 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 86 chrome/browser/extensions/policy_handlers_unittest.cc policy.DeepCopy(), policy 92 chrome/browser/extensions/policy_handlers_unittest.cc policy.Append(base::Value::CreateStringValue("invalid")); policy 93 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallBlacklist, policy 94 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 95 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 96 chrome/browser/extensions/policy_handlers_unittest.cc policy.DeepCopy(), policy 105 chrome/browser/extensions/policy_handlers_unittest.cc policy::PolicyMap policy_map; policy 106 chrome/browser/extensions/policy_handlers_unittest.cc policy::PolicyErrorMap errors; policy 109 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallForcelist, policy 110 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 111 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 119 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallForcelist, policy 120 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 121 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 131 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallForcelist, policy 132 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 133 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 142 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallForcelist, policy 143 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 144 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 153 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallForcelist, policy 154 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 155 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 164 chrome/browser/extensions/policy_handlers_unittest.cc base::ListValue policy; policy 166 chrome/browser/extensions/policy_handlers_unittest.cc policy::PolicyMap policy_map; policy 175 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallForcelist, policy 176 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 177 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 178 chrome/browser/extensions/policy_handlers_unittest.cc policy.DeepCopy(), policy 184 chrome/browser/extensions/policy_handlers_unittest.cc policy.AppendString("abcdefghijklmnopabcdefghijklmnop;http://example.com"); policy 187 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallForcelist, policy 188 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 189 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 190 chrome/browser/extensions/policy_handlers_unittest.cc policy.DeepCopy(), policy 196 chrome/browser/extensions/policy_handlers_unittest.cc policy.AppendString("invalid"); policy 197 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallForcelist, policy 198 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 199 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 200 chrome/browser/extensions/policy_handlers_unittest.cc policy.DeepCopy(), policy 209 chrome/browser/extensions/policy_handlers_unittest.cc policy::PolicyMap policy_map; policy 210 chrome/browser/extensions/policy_handlers_unittest.cc policy::PolicyErrorMap errors; policy 212 chrome/browser/extensions/policy_handlers_unittest.cc policy::key::kExtensionInstallSources, kTestPref); policy 214 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallSources, policy 215 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 216 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 224 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallSources, policy 225 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 226 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 234 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallSources, policy 235 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 236 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 244 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallSources, policy 245 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 246 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 252 chrome/browser/extensions/policy_handlers_unittest.cc EXPECT_FALSE(errors.GetErrors(policy::key::kExtensionInstallSources).empty()); policy 257 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallSources, policy 258 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 259 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 265 chrome/browser/extensions/policy_handlers_unittest.cc EXPECT_FALSE(errors.GetErrors(policy::key::kExtensionInstallSources).empty()); policy 270 chrome/browser/extensions/policy_handlers_unittest.cc policy::PolicyMap policy_map; policy 274 chrome/browser/extensions/policy_handlers_unittest.cc policy::key::kExtensionInstallSources, kTestPref); policy 277 chrome/browser/extensions/policy_handlers_unittest.cc policy_map.Set(policy::key::kExtensionInstallSources, policy 278 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 279 chrome/browser/extensions/policy_handlers_unittest.cc policy::POLICY_SCOPE_USER, policy 101 chrome/browser/invalidation/invalidation_service_factory.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 413 chrome/browser/io_thread.cc policy::PolicyService* policy_service, policy 472 chrome/browser/io_thread.cc policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME, std::string())).Get( policy 473 chrome/browser/io_thread.cc policy::key::kDisableSpdy) != NULL; policy 70 chrome/browser/io_thread.h namespace policy { policy 186 chrome/browser/io_thread.h policy::PolicyService* policy_service, policy 27 chrome/browser/managed_mode/managed_mode_url_filter.cc using policy::URLBlacklist; policy 493 chrome/browser/media/media_stream_devices_controller.cc DevicePolicy policy = GetDevicePolicy(device_checks[i].policy_name, policy 496 chrome/browser/media/media_stream_devices_controller.cc if (policy == ALWAYS_DENY) policy 499 chrome/browser/media/media_stream_devices_controller.cc if (policy == POLICY_NOT_SET) { policy 48 chrome/browser/net/chrome_network_delegate.h namespace policy { policy 68 chrome/browser/net/chrome_network_delegate.h const policy::URLBlacklistManager* url_blacklist_manager) { policy 206 chrome/browser/net/chrome_network_delegate.h const policy::URLBlacklistManager* url_blacklist_manager_; policy 28 chrome/browser/net/disk_cache_dir_policy_handler.cc policy::path_parser::ExpandPathVariables(string_value); policy 12 chrome/browser/net/disk_cache_dir_policy_handler.h namespace policy { policy 13 chrome/browser/net/proxy_policy_handler.h namespace policy { policy 76 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 77 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyBypassList, policy 82 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyServer, policy 87 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set( policy 92 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 101 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 102 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set( policy 107 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyBypassList, policy 112 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyServer, policy 117 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 126 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 127 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set( policy 132 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 139 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 140 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyServerMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 144 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 150 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 151 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyMode, policy 156 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 162 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 163 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set( policy 168 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 176 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 177 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyMode, policy 182 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 190 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 191 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyPacUrl, policy 196 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyMode, policy 201 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 209 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 210 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyMode, policy 215 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 223 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 224 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyServer, policy 229 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyPacUrl, policy 234 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyMode, policy 239 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 247 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 248 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyServerMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 252 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 258 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 259 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyMode, policy 264 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 271 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 272 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyServerMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 276 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyMode, policy 281 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 290 chrome/browser/net/proxy_policy_handler_unittest.cc PolicyMap policy; policy 291 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyPacUrl, policy 296 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyBypassList, policy 301 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyServer, policy 307 chrome/browser/net/proxy_policy_handler_unittest.cc policy.Set(key::kProxyServerMode, POLICY_LEVEL_MANDATORY, policy 309 chrome/browser/net/proxy_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 18 chrome/browser/policy/chrome_browser_policy_connector.h namespace policy { policy 248 chrome/browser/policy/cloud/cloud_policy_browsertest.cc void SetServerPolicy(const std::string& policy) { policy 249 chrome/browser/policy/cloud/cloud_policy_browsertest.cc int result = base::WriteFile(policy_file_path(), policy.data(), policy 250 chrome/browser/policy/cloud/cloud_policy_browsertest.cc policy.size()); policy 251 chrome/browser/policy/cloud/cloud_policy_browsertest.cc ASSERT_EQ(static_cast<int>(policy.size()), result); policy 142 chrome/browser/policy/cloud/cloud_policy_invalidator.cc bool policy_changed = IsPolicyChanged(store->policy()); policy 157 chrome/browser/policy/cloud/cloud_policy_invalidator.cc UpdateRegistration(store->policy()); policy 225 chrome/browser/policy/cloud/cloud_policy_invalidator.cc const enterprise_management::PolicyData* policy) { policy 228 chrome/browser/policy/cloud/cloud_policy_invalidator.cc if (!policy || policy 229 chrome/browser/policy/cloud/cloud_policy_invalidator.cc !policy->has_invalidation_source() || policy 230 chrome/browser/policy/cloud/cloud_policy_invalidator.cc !policy->has_invalidation_name()) { policy 235 chrome/browser/policy/cloud/cloud_policy_invalidator.cc policy->invalidation_source(), policy 236 chrome/browser/policy/cloud/cloud_policy_invalidator.cc policy->invalidation_name()); policy 340 chrome/browser/policy/cloud/cloud_policy_invalidator.cc const enterprise_management::PolicyData* policy) { policy 344 chrome/browser/policy/cloud/cloud_policy_invalidator.cc if (policy && policy->has_policy_value()) policy 345 chrome/browser/policy/cloud/cloud_policy_invalidator.cc new_hash_value = base::Hash(policy->policy_value()); policy 31 chrome/browser/policy/cloud/cloud_policy_invalidator.h namespace policy { policy 99 chrome/browser/policy/cloud/cloud_policy_invalidator.h void UpdateRegistration(const enterprise_management::PolicyData* policy); policy 125 chrome/browser/policy/cloud/cloud_policy_invalidator.h bool IsPolicyChanged(const enterprise_management::PolicyData* policy); policy 11 chrome/browser/policy/cloud/policy_header_service_factory.h namespace policy { policy 26 chrome/browser/policy/cloud/test_request_interceptor.h namespace policy { policy 15 chrome/browser/policy/cloud/user_cloud_policy_invalidator.h namespace policy { policy 11 chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h namespace policy { policy 23 chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h namespace policy { policy 24 chrome/browser/policy/cloud/user_policy_signin_service.h namespace policy { policy 24 chrome/browser/policy/cloud/user_policy_signin_service_android.h namespace policy { policy 30 chrome/browser/policy/cloud/user_policy_signin_service_base.h namespace policy { policy 17 chrome/browser/policy/cloud/user_policy_signin_service_factory.h namespace policy { policy 24 chrome/browser/policy/cloud/user_policy_signin_service_ios.h namespace policy { policy 10 chrome/browser/policy/configuration_policy_handler_list_factory.h namespace policy { policy 12 chrome/browser/policy/file_selection_dialogs_policy_handler.h namespace policy { policy 12 chrome/browser/policy/javascript_policy_handler.h namespace policy { policy 26 chrome/browser/policy/javascript_policy_handler_unittest.cc PolicyMap policy; policy 27 chrome/browser/policy/javascript_policy_handler_unittest.cc policy.Set(key::kJavascriptEnabled, policy 32 chrome/browser/policy/javascript_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 34 chrome/browser/policy/javascript_policy_handler_unittest.cc policy.Set(key::kJavascriptEnabled, policy 39 chrome/browser/policy/javascript_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 48 chrome/browser/policy/javascript_policy_handler_unittest.cc PolicyMap policy; policy 49 chrome/browser/policy/javascript_policy_handler_unittest.cc policy.Set(key::kJavascriptEnabled, policy 54 chrome/browser/policy/javascript_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 60 chrome/browser/policy/javascript_policy_handler_unittest.cc policy.Set(key::kDefaultJavaScriptSetting, policy 65 chrome/browser/policy/javascript_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 16 chrome/browser/policy/managed_bookmarks_policy_handler.h namespace policy { policy 720 chrome/browser/policy/policy_browsertest.cc void UpdateProviderPolicy(const PolicyMap& policy) { policy 721 chrome/browser/policy/policy_browsertest.cc provider_.UpdateChromePolicy(policy); policy 10 chrome/browser/policy/policy_helpers.h namespace policy { policy 12 chrome/browser/policy/policy_path_parser.h namespace policy { policy 22 chrome/browser/policy/policy_path_parser_win.cc std::wstring key_name(base::ASCIIToWide(policy::key::kUserDataDir)); policy 23 chrome/browser/policy/policy_path_parser_win.cc base::win::RegKey key(hive, policy::kRegistryChromePolicyKey, KEY_READ); policy 25 chrome/browser/policy/policy_path_parser_win.cc *dir = base::FilePath(policy::path_parser::ExpandPathVariables(value)); policy 63 chrome/browser/policy/policy_prefs_browsertest.cc IndicatorTestCase(const base::DictionaryValue& policy, policy 66 chrome/browser/policy/policy_prefs_browsertest.cc : policy_(policy.DeepCopy()), value_(value), readonly_(readonly) {} policy 182 chrome/browser/policy/policy_prefs_browsertest.cc void SetTestPolicy(const base::DictionaryValue& policy) { policy 184 chrome/browser/policy/policy_prefs_browsertest.cc test_policy_.MergeDictionary(&policy); policy 282 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue* policy = NULL; policy 283 chrome/browser/policy/policy_prefs_browsertest.cc if (policy_test_dict->GetDictionary("test_policy", &policy)) policy 284 chrome/browser/policy/policy_prefs_browsertest.cc policy_test_case->SetTestPolicy(*policy); policy 319 chrome/browser/policy/policy_prefs_browsertest.cc const base::DictionaryValue* policy = NULL; policy 321 chrome/browser/policy/policy_prefs_browsertest.cc !indicator_test_dict->GetDictionary("policy", &policy)) { policy 331 chrome/browser/policy/policy_prefs_browsertest.cc new IndicatorTestCase(*policy, value, readonly)); policy 661 chrome/browser/policy/policy_prefs_browsertest.cc SetProviderPolicy((*indicator_test_case)->policy(), policy 686 chrome/browser/policy/policy_prefs_browsertest.cc SetProviderPolicy((*indicator_test_case)->policy(), policy 142 chrome/browser/policy/profile_policy_connector.cc if (store && store->is_managed() && store->policy()->has_username()) policy 143 chrome/browser/policy/profile_policy_connector.cc return gaia::ExtractDomainName(store->policy()->username()); policy 18 chrome/browser/policy/profile_policy_connector.h namespace policy { policy 27 chrome/browser/policy/profile_policy_connector_factory.h namespace policy { policy 13 chrome/browser/policy/schema_registry_service.h namespace policy { policy 20 chrome/browser/policy/schema_registry_service_factory.h namespace policy { policy 141 chrome/browser/policy/test/local_policy_test_server.cc const std::string& policy) { policy 148 chrome/browser/policy/test/local_policy_test_server.cc return base::WriteFile(policy_file, policy.c_str(), policy.size()) == policy 149 chrome/browser/policy/test/local_policy_test_server.cc static_cast<int>(policy.size()); policy 22 chrome/browser/policy/test/local_policy_test_server.h namespace policy { policy 63 chrome/browser/policy/test/local_policy_test_server.h const std::string& policy); policy 263 chrome/browser/prefs/browser_prefs.cc policy::BrowserPolicyConnector::RegisterPrefs(registry); policy 264 chrome/browser/prefs/browser_prefs.cc policy::PolicyStatisticsCollector::RegisterPrefs(registry); policy 315 chrome/browser/prefs/browser_prefs.cc policy::AutoEnrollmentClient::RegisterPrefs(registry); policy 316 chrome/browser/prefs/browser_prefs.cc policy::BrowserPolicyConnectorChromeOS::RegisterPrefs(registry); policy 317 chrome/browser/prefs/browser_prefs.cc policy::DeviceCloudPolicyManagerChromeOS::RegisterPrefs(registry); policy 318 chrome/browser/prefs/browser_prefs.cc policy::DeviceStatusCollector::RegisterPrefs(registry); policy 319 chrome/browser/prefs/browser_prefs.cc policy::PolicyCertServiceFactory::RegisterPrefs(registry); policy 385 chrome/browser/prefs/browser_prefs.cc policy::URLBlacklistManager::RegisterProfilePrefs(registry); policy 321 chrome/browser/prefs/chrome_pref_service_factory.cc policy::PolicyService* policy_service, policy 327 chrome/browser/prefs/chrome_pref_service_factory.cc using policy::ConfigurationPolicyPrefStore; policy 332 chrome/browser/prefs/chrome_pref_service_factory.cc policy::POLICY_LEVEL_MANDATORY))); policy 337 chrome/browser/prefs/chrome_pref_service_factory.cc policy::POLICY_LEVEL_RECOMMENDED))); policy 395 chrome/browser/prefs/chrome_pref_service_factory.cc policy::PolicyService* policy_service, policy 413 chrome/browser/prefs/chrome_pref_service_factory.cc policy::PolicyService* policy_service, policy 18 chrome/browser/prefs/chrome_pref_service_factory.h namespace policy { policy 65 chrome/browser/prefs/chrome_pref_service_factory.h policy::PolicyService* policy_service, policy 72 chrome/browser/prefs/chrome_pref_service_factory.h policy::PolicyService* policy_service, policy 31 chrome/browser/prefs/pref_service_syncable_factory.cc policy::PolicyService* service) { policy 33 chrome/browser/prefs/pref_service_syncable_factory.cc new policy::ConfigurationPolicyPrefStore( policy 36 chrome/browser/prefs/pref_service_syncable_factory.cc policy::POLICY_LEVEL_MANDATORY)); policy 40 chrome/browser/prefs/pref_service_syncable_factory.cc policy::PolicyService* service) { policy 42 chrome/browser/prefs/pref_service_syncable_factory.cc new policy::ConfigurationPolicyPrefStore( policy 45 chrome/browser/prefs/pref_service_syncable_factory.cc policy::POLICY_LEVEL_RECOMMENDED)); policy 16 chrome/browser/prefs/pref_service_syncable_factory.h namespace policy { policy 34 chrome/browser/prefs/pref_service_syncable_factory.h void SetManagedPolicies(policy::PolicyService* service); policy 35 chrome/browser/prefs/pref_service_syncable_factory.h void SetRecommendedPolicies(policy::PolicyService* service); policy 125 chrome/browser/prefs/proxy_policy_unittest.cc PolicyMap policy; policy 126 chrome/browser/prefs/proxy_policy_unittest.cc policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 128 chrome/browser/prefs/proxy_policy_unittest.cc policy.Set(key::kProxyBypassList, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 130 chrome/browser/prefs/proxy_policy_unittest.cc policy.Set(key::kProxyServer, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 132 chrome/browser/prefs/proxy_policy_unittest.cc provider_.UpdateChromePolicy(policy); policy 159 chrome/browser/prefs/proxy_policy_unittest.cc PolicyMap policy; policy 160 chrome/browser/prefs/proxy_policy_unittest.cc policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 162 chrome/browser/prefs/proxy_policy_unittest.cc provider_.UpdateChromePolicy(policy); policy 186 chrome/browser/prefs/proxy_policy_unittest.cc PolicyMap policy; policy 187 chrome/browser/prefs/proxy_policy_unittest.cc policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 189 chrome/browser/prefs/proxy_policy_unittest.cc provider_.UpdateChromePolicy(policy); policy 209 chrome/browser/prefs/proxy_policy_unittest.cc PolicyMap policy; policy 210 chrome/browser/prefs/proxy_policy_unittest.cc policy.Set(key::kProxyMode, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 212 chrome/browser/prefs/proxy_policy_unittest.cc provider_.UpdateChromePolicy(policy); policy 43 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc void UpdateChromePolicy(const policy::PolicyMap& policies) { policy 94 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc policy::BrowserPolicyConnector::SetPolicyProviderForTesting( policy 121 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc policy::MockConfigurationPolicyProvider policy_provider_; policy 185 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc policy::PolicyMap policies; policy 186 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc policies.Set(policy::key::kShowHomeButton, policy 187 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy 188 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc policy::POLICY_SCOPE_USER, policy 206 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc policy::PolicyMap policies; policy 207 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc policies.Set(policy::key::kShowHomeButton, policy 208 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy 209 chrome/browser/prefs/synced_pref_change_registrar_browsertest.cc policy::POLICY_SCOPE_USER, policy 214 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::ProfilePolicyConnectorFactory::GetInstance(); policy 217 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::PolicyCertServiceFactory::GetInstance(); policy 218 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::RecommendationRestorerFactory::GetInstance(); policy 219 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); policy 220 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); policy 221 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::UserNetworkConfigurationUpdaterFactory::GetInstance(); policy 223 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::UserCloudPolicyManagerFactory::GetInstance(); policy 225 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::UserPolicySigninServiceFactory::GetInstance(); policy 228 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::PolicyHeaderServiceFactory::GetInstance(); policy 229 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::SchemaRegistryServiceFactory::GetInstance(); policy 230 chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc policy::UserCloudPolicyInvalidatorFactory::GetInstance(); policy 16 chrome/browser/profiles/incognito_mode_policy_handler.h namespace policy { policy 34 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc PolicyMap policy; policy 36 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc policy.Set(key::kIncognitoEnabled, POLICY_LEVEL_MANDATORY, policy 43 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc policy.Set(key::kIncognitoModeAvailability, POLICY_LEVEL_MANDATORY, policy 48 chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 116 chrome/browser/profiles/off_the_record_profile_impl.cc policy::UserCloudPolicyManagerFactory::RegisterForOffTheRecordBrowserContext( policy 418 chrome/browser/profiles/profile_impl.cc policy::BrowserPolicyConnector* connector = policy 421 chrome/browser/profiles/profile_impl.cc policy::SchemaRegistryServiceFactory::CreateForContext( policy 425 chrome/browser/profiles/profile_impl.cc policy::UserCloudPolicyManagerFactoryChromeOS::CreateForProfile( policy 429 chrome/browser/profiles/profile_impl.cc policy::UserCloudPolicyManagerFactory::CreateForOriginalBrowserContext( policy 438 chrome/browser/profiles/profile_impl.cc policy::ProfilePolicyConnectorFactory::CreateForProfile( policy 44 chrome/browser/profiles/profile_impl.h namespace policy { policy 229 chrome/browser/profiles/profile_impl.h scoped_ptr<policy::SchemaRegistryService> schema_registry_service_; policy 230 chrome/browser/profiles/profile_impl.h scoped_ptr<policy::CloudPolicyManager> cloud_policy_manager_; policy 232 chrome/browser/profiles/profile_impl.h scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; policy 431 chrome/browser/profiles/profile_io_data.cc cert_verifier_ = policy::PolicyCertServiceFactory::CreateForProfile(profile); policy 439 chrome/browser/profiles/profile_io_data.cc policy::URLBlacklist::SegmentURLCallback callback = policy 440 chrome/browser/profiles/profile_io_data.cc static_cast<policy::URLBlacklist::SegmentURLCallback>( policy 446 chrome/browser/profiles/profile_io_data.cc new policy::URLBlacklistManager( policy 451 chrome/browser/profiles/profile_io_data.cc base::Bind(policy::OverrideBlacklistForURL))); policy 455 chrome/browser/profiles/profile_io_data.cc policy::PolicyHeaderService* policy_header_service = policy 456 chrome/browser/profiles/profile_io_data.cc policy::PolicyHeaderServiceFactory::GetForBrowserContext(profile); policy 58 chrome/browser/profiles/profile_io_data.h namespace policy { policy 199 chrome/browser/profiles/profile_io_data.h policy::PolicyHeaderIOHelper* policy_header_helper() const { policy 512 chrome/browser/profiles/profile_io_data.h mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_; policy 513 chrome/browser/profiles/profile_io_data.h mutable scoped_ptr<policy::PolicyHeaderIOHelper> policy_header_helper_; policy 527 chrome/browser/profiles/profile_io_data.h mutable scoped_ptr<policy::PolicyCertVerifier> cert_verifier_; policy 214 chrome/browser/referrer_policy_browsertest.cc tab->GetController().GetActiveEntry()->GetReferrer().policy); policy 169 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc content::ChildProcessSecurityPolicy* policy = policy 171 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc policy->GrantReadFileSystem(render_process_id_, fsid); policy 191 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc content::ChildProcessSecurityPolicy* policy = policy 193 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc policy->GrantCreateReadWriteFileSystem(render_process_id_, fsid); policy 12 chrome/browser/search_engines/default_search_policy_handler.h namespace policy { policy 43 chrome/browser/search_engines/default_search_policy_handler_unittest.cc void BuildDefaultSearchPolicy(PolicyMap* policy); policy 68 chrome/browser/search_engines/default_search_policy_handler_unittest.cc BuildDefaultSearchPolicy(PolicyMap* policy) { policy 72 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderEnabled, POLICY_LEVEL_MANDATORY, policy 74 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderSearchURL, POLICY_LEVEL_MANDATORY, policy 77 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderName, POLICY_LEVEL_MANDATORY, policy 79 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderKeyword, POLICY_LEVEL_MANDATORY, policy 82 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderSuggestURL, POLICY_LEVEL_MANDATORY, policy 85 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderIconURL, POLICY_LEVEL_MANDATORY, policy 88 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderEncodings, POLICY_LEVEL_MANDATORY, policy 90 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderAlternateURLs, POLICY_LEVEL_MANDATORY, policy 92 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderSearchTermsReplacementKey, policy 95 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderImageURL, policy 98 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderImageURLPostParams, policy 101 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy->Set(key::kDefaultSearchProviderNewTabURL, policy 109 chrome/browser/search_engines/default_search_policy_handler_unittest.cc PolicyMap policy; policy 110 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy.Set(key::kDefaultSearchProviderEnabled, POLICY_LEVEL_MANDATORY, policy 112 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy.Set(key::kDefaultSearchProviderSearchURL, POLICY_LEVEL_MANDATORY, policy 115 chrome/browser/search_engines/default_search_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 177 chrome/browser/search_engines/default_search_policy_handler_unittest.cc PolicyMap policy; policy 178 chrome/browser/search_engines/default_search_policy_handler_unittest.cc BuildDefaultSearchPolicy(&policy); policy 179 chrome/browser/search_engines/default_search_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 233 chrome/browser/search_engines/default_search_policy_handler_unittest.cc PolicyMap policy; policy 234 chrome/browser/search_engines/default_search_policy_handler_unittest.cc BuildDefaultSearchPolicy(&policy); policy 235 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy.Erase(key::kDefaultSearchProviderSearchURL); policy 236 chrome/browser/search_engines/default_search_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 258 chrome/browser/search_engines/default_search_policy_handler_unittest.cc PolicyMap policy; policy 259 chrome/browser/search_engines/default_search_policy_handler_unittest.cc BuildDefaultSearchPolicy(&policy); policy 261 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy.Set(key::kDefaultSearchProviderSearchURL, POLICY_LEVEL_MANDATORY, policy 264 chrome/browser/search_engines/default_search_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 286 chrome/browser/search_engines/default_search_policy_handler_unittest.cc PolicyMap policy; policy 287 chrome/browser/search_engines/default_search_policy_handler_unittest.cc policy.Set(key::kDefaultSearchProviderEnabled, POLICY_LEVEL_MANDATORY, policy 289 chrome/browser/search_engines/default_search_policy_handler_unittest.cc UpdateProviderPolicy(policy); policy 12 chrome/browser/sessions/restore_on_startup_policy_handler.h namespace policy { policy 28 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc void SetPolicyValue(const std::string& policy, base::Value* value) { policy 30 chrome/browser/sessions/restore_on_startup_policy_handler_unittest.cc policy, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, value, NULL); policy 110 chrome/browser/shell_integration.cc policy::path_parser::CheckUserDataDirPolicy(&user_data_dir); policy 102 chrome/browser/shell_integration_win.cc policy::path_parser::CheckUserDataDirPolicy(&user_data_dir); policy 16 chrome/browser/sync/sync_policy_handler.cc : policy::TypeCheckingPolicyHandler(policy::key::kSyncDisabled, policy 22 chrome/browser/sync/sync_policy_handler.cc void SyncPolicyHandler::ApplyPolicySettings(const policy::PolicyMap& policies, policy 18 chrome/browser/sync/sync_policy_handler.h class SyncPolicyHandler : public policy::TypeCheckingPolicyHandler { policy 24 chrome/browser/sync/sync_policy_handler.h virtual void ApplyPolicySettings(const policy::PolicyMap& policies, policy 19 chrome/browser/sync/sync_policy_handler_unittest.cc policy::PolicyMap policy; policy 22 chrome/browser/sync/sync_policy_handler_unittest.cc handler.ApplyPolicySettings(policy, &prefs); policy 27 chrome/browser/sync/sync_policy_handler_unittest.cc policy::PolicyMap policy; policy 28 chrome/browser/sync/sync_policy_handler_unittest.cc policy.Set(policy::key::kSyncDisabled, policy 29 chrome/browser/sync/sync_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 30 chrome/browser/sync/sync_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 35 chrome/browser/sync/sync_policy_handler_unittest.cc handler.ApplyPolicySettings(policy, &prefs); policy 42 chrome/browser/sync/sync_policy_handler_unittest.cc policy::PolicyMap policy; policy 43 chrome/browser/sync/sync_policy_handler_unittest.cc policy.Set(policy::key::kSyncDisabled, policy 44 chrome/browser/sync/sync_policy_handler_unittest.cc policy::POLICY_LEVEL_MANDATORY, policy 45 chrome/browser/sync/sync_policy_handler_unittest.cc policy::POLICY_SCOPE_USER, policy 50 chrome/browser/sync/sync_policy_handler_unittest.cc handler.ApplyPolicySettings(policy, &prefs); policy 13 chrome/browser/sync_file_system/conflict_resolution_resolver.cc ConflictResolutionPolicy policy) policy 14 chrome/browser/sync_file_system/conflict_resolution_resolver.cc : policy_(policy) {} policy 26 chrome/browser/sync_file_system/conflict_resolution_resolver.h explicit ConflictResolutionResolver(ConflictResolutionPolicy policy); policy 39 chrome/browser/sync_file_system/conflict_resolution_resolver.h ConflictResolutionPolicy policy() const { return policy_; } policy 40 chrome/browser/sync_file_system/conflict_resolution_resolver.h void set_policy(ConflictResolutionPolicy policy) { policy_ = policy; } policy 315 chrome/browser/sync_file_system/drive_backend/sync_engine.cc ConflictResolutionPolicy policy) { policy 316 chrome/browser/sync_file_system/drive_backend/sync_engine.cc default_conflict_resolution_policy_ = policy; policy 322 chrome/browser/sync_file_system/drive_backend/sync_engine.cc ConflictResolutionPolicy policy) { policy 324 chrome/browser/sync_file_system/drive_backend/sync_engine.cc default_conflict_resolution_policy_ = policy; policy 109 chrome/browser/sync_file_system/drive_backend/sync_engine.h ConflictResolutionPolicy policy) OVERRIDE; policy 112 chrome/browser/sync_file_system/drive_backend/sync_engine.h ConflictResolutionPolicy policy) OVERRIDE; policy 280 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc ConflictResolutionPolicy policy) { policy 281 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc conflict_resolution_resolver_.set_policy(policy); policy 287 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc ConflictResolutionPolicy policy) { policy 288 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc conflict_resolution_resolver_.set_policy(policy); policy 294 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc return conflict_resolution_resolver_.policy(); policy 299 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.cc return conflict_resolution_resolver_.policy(); policy 109 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h ConflictResolutionPolicy policy) OVERRIDE; policy 112 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h ConflictResolutionPolicy policy) OVERRIDE; policy 129 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc ConflictResolutionPolicy policy) { policy 130 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc conflict_resolution_policy_ = policy; policy 136 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc ConflictResolutionPolicy policy) { policy 137 chrome/browser/sync_file_system/mock_remote_file_sync_service.cc conflict_resolution_policy_ = policy; policy 100 chrome/browser/sync_file_system/mock_remote_file_sync_service.h ConflictResolutionPolicy policy); policy 103 chrome/browser/sync_file_system/mock_remote_file_sync_service.h ConflictResolutionPolicy policy); policy 212 chrome/browser/sync_file_system/remote_file_sync_service.h ConflictResolutionPolicy policy) = 0; policy 215 chrome/browser/sync_file_system/remote_file_sync_service.h ConflictResolutionPolicy policy) = 0; policy 394 chrome/browser/sync_file_system/sync_file_system_service.cc ConflictResolutionPolicy policy) { policy 396 chrome/browser/sync_file_system/sync_file_system_service.cc policy, CONFLICT_RESOLUTION_POLICY_MAX); policy 397 chrome/browser/sync_file_system/sync_file_system_service.cc return GetRemoteService(origin)->SetConflictResolutionPolicy(origin, policy); policy 76 chrome/browser/sync_file_system/sync_file_system_service.h ConflictResolutionPolicy policy); policy 73 chrome/browser/ui/app_list/app_list_controller_delegate.cc const extensions::ManagementPolicy* policy = policy 76 chrome/browser/ui/app_list/app_list_controller_delegate.cc policy->UserMayModifySettings(extension, NULL); policy 332 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc policy::BrowserPolicyConnectorChromeOS* policy_connector = policy 334 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc policy::DeviceCloudPolicyManagerChromeOS* policy_manager = policy 370 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 372 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc policy::DeviceCloudPolicyManagerChromeOS* policy_manager = policy 1353 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 1364 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc policy::CloudPolicyStore* store) { policy 1368 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc void SystemTrayDelegateChromeOS::OnStoreError(policy::CloudPolicyStore* store) { policy 47 chrome/browser/ui/ash/system_tray_delegate_chromeos.h public policy::CloudPolicyStore::Observer, policy 244 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual void OnStoreLoaded(policy::CloudPolicyStore* store) OVERRIDE; policy 245 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual void OnStoreError(policy::CloudPolicyStore* store) OVERRIDE; policy 655 chrome/browser/ui/libgtk2ui/gtk2_ui.cc ui::SelectFilePolicy* policy) const { policy 656 chrome/browser/ui/libgtk2ui/gtk2_ui.cc return SelectFileDialogImpl::Create(listener, policy); policy 75 chrome/browser/ui/libgtk2ui/gtk2_ui.h ui::SelectFilePolicy* policy) const OVERRIDE; policy 37 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc ui::SelectFilePolicy* policy) { policy 60 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc return SelectFileDialogImpl::NewSelectFileDialogImplGTK(listener, policy); policy 66 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc listener, policy, desktop); policy 70 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc ui::SelectFilePolicy* policy) policy 71 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc : SelectFileDialog(listener, policy), policy 25 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h ui::SelectFilePolicy* policy); policy 30 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h ui::SelectFilePolicy* policy); policy 34 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h ui::SelectFilePolicy* policy, policy 47 chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h ui::SelectFilePolicy* policy); policy 52 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc ui::SelectFilePolicy* policy); policy 166 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc Listener* listener, ui::SelectFilePolicy* policy) { policy 167 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc return new SelectFileDialogImplGTK(listener, policy); policy 171 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc ui::SelectFilePolicy* policy) policy 172 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc : SelectFileDialogImpl(listener, policy), policy 49 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc ui::SelectFilePolicy* policy, policy 169 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc ui::SelectFilePolicy* policy, policy 171 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc return new SelectFileDialogImplKDE(listener, policy, desktop); policy 176 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc ui::SelectFilePolicy* policy, policy 178 chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc : SelectFileDialogImpl(listener, policy), policy 30 chrome/browser/ui/search/search_ipc_router.cc Delegate* delegate, scoped_ptr<Policy> policy) policy 33 chrome/browser/ui/search/search_ipc_router.cc policy_(policy.Pass()), policy 325 chrome/browser/ui/search/search_ipc_router.cc void SearchIPCRouter::set_policy(scoped_ptr<Policy> policy) { policy 326 chrome/browser/ui/search/search_ipc_router.cc DCHECK(policy.get()); policy 327 chrome/browser/ui/search/search_ipc_router.cc policy_.reset(policy.release()); policy 114 chrome/browser/ui/search/search_ipc_router.h scoped_ptr<Policy> policy); policy 207 chrome/browser/ui/search/search_ipc_router.h void set_policy(scoped_ptr<Policy> policy); policy 210 chrome/browser/ui/search/search_ipc_router.h Policy* policy() const { return policy_.get(); } policy 34 chrome/browser/ui/search/search_ipc_router_policy_unittest.cc return search_tab_helper->ipc_router().policy(); policy 38 chrome/browser/ui/search/search_ipc_router_policy_unittest.cc SearchIPCRouterPolicyImpl* policy = policy 40 chrome/browser/ui/search/search_ipc_router_policy_unittest.cc policy->set_is_incognito(true); policy 153 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 154 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendSetDisplayInstantResults()).Times(1) policy 175 chrome/browser/ui/search/search_ipc_router_unittest.cc search_tab_helper->ipc_router().policy()); policy 198 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 200 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*(policy), ShouldProcessSetVoiceSearchSupport()).Times(1) policy 216 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 217 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessSetVoiceSearchSupport()).Times(1) policy 232 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 238 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessFocusOmnibox(is_active_tab)).Times(1) policy 251 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 257 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessFocusOmnibox(is_active_tab)).Times(1) policy 297 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 298 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessNavigateToURL(is_active_tab)).Times(1) policy 318 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 319 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessNavigateToURL(is_active_tab)).Times(1) policy 332 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 334 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessLogEvent()).Times(1) policy 348 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 350 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessLogEvent()).Times(1) policy 364 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 367 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessLogEvent()).Times(1) policy 383 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 386 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessLogEvent()).Times(1) policy 402 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 405 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessChromeIdentityCheck()).Times(1) policy 419 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 423 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessChromeIdentityCheck()).Times(1) policy 437 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 440 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessDeleteMostVisitedItem()).Times(1) policy 455 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 458 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessDeleteMostVisitedItem()).Times(1) policy 473 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 476 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessUndoMostVisitedDeletion()).Times(1) policy 491 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 494 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessUndoMostVisitedDeletion()).Times(1) policy 509 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 511 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessUndoAllMostVisitedDeletions()).Times(1) policy 525 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 527 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessUndoAllMostVisitedDeletions()).Times(1) policy 541 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 549 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessNavigateToURL(is_active_tab)).Times(0); policy 557 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessDeleteMostVisitedItem()).Times(0); policy 563 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessUndoMostVisitedDeletion()).Times(0); policy 569 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessUndoAllMostVisitedDeletions()).Times(0); policy 575 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessFocusOmnibox(is_active_tab)).Times(0); policy 581 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessLogEvent()).Times(0); policy 588 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessPasteIntoOmnibox(is_active_tab)).Times(0); policy 597 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 605 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessPasteIntoOmnibox(is_active_tab)).Times(1) policy 623 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 624 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldProcessPasteIntoOmnibox(is_active_tab)).Times(1) policy 636 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 637 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendSetPromoInformation()).Times(1) policy 647 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 648 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendSetPromoInformation()).Times(1) policy 719 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 720 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendSetDisplayInstantResults()).Times(1) policy 732 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 733 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendSetSuggestionToPrefetch()).Times(1) policy 746 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 747 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendSetSuggestionToPrefetch()).Times(1) policy 760 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 761 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendSetOmniboxStartMargin()).Times(1) policy 772 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 773 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendSetOmniboxStartMargin()).Times(1) policy 784 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 785 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendOmniboxFocusChanged()).Times(1) policy 797 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 798 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendOmniboxFocusChanged()).Times(1) policy 810 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 811 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendSetInputInProgress(true)).Times(1) policy 822 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 823 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendSetInputInProgress(true)).Times(1) policy 834 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 835 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendMostVisitedItems()).Times(1) policy 848 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 849 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendMostVisitedItems()).Times(1) policy 862 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 863 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendThemeBackgroundInfo()).Times(1) policy 874 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 875 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendThemeBackgroundInfo()).Times(1) policy 886 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 887 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSubmitQuery()).Times(1) policy 898 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 899 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSubmitQuery()).Times(1) policy 910 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 911 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendToggleVoiceSearch()).Times(1) policy 922 chrome/browser/ui/search/search_ipc_router_unittest.cc MockSearchIPCRouterPolicy* policy = GetSearchIPCRouterPolicy(); policy 923 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*policy, ShouldSendToggleVoiceSearch()).Times(1) policy 439 chrome/browser/ui/startup/startup_browser_creator.cc ChildProcessSecurityPolicy* policy = policy 441 chrome/browser/ui/startup/startup_browser_creator.cc if (policy->IsWebSafeScheme(url.scheme()) || policy 1019 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc policy::MockConfigurationPolicyProvider provider_; policy 1020 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc policy::PolicyMap policy_map_; policy 1033 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc policy_map_.Set(policy::key::kMetricsReportingEnabled, policy 1034 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, policy 1041 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc policy::BrowserPolicyConnector::SetPolicyProviderForTesting(&provider_); policy 1375 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc policy_map_.Set(policy::key::kRestoreOnStartup, policy 1376 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, policy 1383 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc policy_map_.Set(policy::key::kRestoreOnStartupURLs, policy 1384 chrome/browser/ui/startup/startup_browser_creator_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, policy 505 chrome/browser/ui/startup/startup_browser_creator_impl.cc ChildProcessSecurityPolicy* policy = policy 507 chrome/browser/ui/startup/startup_browser_creator_impl.cc if (policy->IsWebSafeScheme(url.scheme()) || policy 119 chrome/browser/ui/sync/one_click_signin_sync_starter.cc policy::UserPolicySigninService* policy_service = policy 120 chrome/browser/ui/sync/one_click_signin_sync_starter.cc policy::UserPolicySigninServiceFactory::GetForProfile(profile_); policy 200 chrome/browser/ui/sync/one_click_signin_sync_starter.cc policy::UserPolicySigninService* policy_service = policy 201 chrome/browser/ui/sync/one_click_signin_sync_starter.cc policy::UserPolicySigninServiceFactory::GetForProfile(profile_); policy 74 chrome/browser/ui/toolbar/toolbar_model_impl.cc policy::PolicyCertService* service = policy 75 chrome/browser/ui/toolbar/toolbar_model_impl.cc policy::PolicyCertServiceFactory::GetForProfile( policy 168 chrome/browser/ui/views/select_file_dialog_extension.cc ui::SelectFilePolicy* policy) { policy 169 chrome/browser/ui/views/select_file_dialog_extension.cc return new SelectFileDialogExtension(listener, policy); policy 174 chrome/browser/ui/views/select_file_dialog_extension.cc ui::SelectFilePolicy* policy) policy 175 chrome/browser/ui/views/select_file_dialog_extension.cc : SelectFileDialog(listener, policy), policy 43 chrome/browser/ui/views/select_file_dialog_extension.h ui::SelectFilePolicy* policy); policy 84 chrome/browser/ui/views/select_file_dialog_extension.h ui::SelectFilePolicy* policy); policy 17 chrome/browser/ui/views/select_file_dialog_extension_factory.cc ui::SelectFilePolicy* policy) { policy 18 chrome/browser/ui/views/select_file_dialog_extension_factory.cc return SelectFileDialogExtension::Create(listener, policy); policy 20 chrome/browser/ui/views/select_file_dialog_extension_factory.h ui::SelectFilePolicy* policy) OVERRIDE; policy 329 chrome/browser/ui/website_settings/website_settings.cc policy::PolicyCertService* service = policy 330 chrome/browser/ui/website_settings/website_settings.cc policy::PolicyCertServiceFactory::GetForProfile(profile); policy 238 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 318 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 148 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc new policy::PolicyOAuth2TokenFetcher( policy 234 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc policy::EnrollmentStatus status) { policy 236 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_SUCCESS: policy 239 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_REGISTRATION_FAILED: policy 242 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::DM_STATUS_SERVICE_MANAGEMENT_NOT_SUPPORTED: policy 245 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::DM_STATUS_SERVICE_MISSING_LICENSES: policy 248 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::DM_STATUS_SERVICE_DEPROVISIONED: policy 251 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::DM_STATUS_SERVICE_DOMAIN_MISMATCH: policy 258 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc policy::FormatDeviceManagementStatus(status.client_status())), policy 262 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_ROBOT_AUTH_FETCH_FAILED: policy 265 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_ROBOT_REFRESH_FETCH_FAILED: policy 268 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_ROBOT_REFRESH_STORE_FAILED: policy 271 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_REGISTRATION_BAD_MODE: policy 274 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_POLICY_FETCH_FAILED: policy 278 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc policy::FormatDeviceManagementStatus(status.client_status())), policy 281 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_VALIDATION_FAILED: policy 285 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc policy::FormatValidationStatus(status.validation_status())), policy 288 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_LOCK_ERROR: policy 291 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_LOCK_TIMEOUT: policy 294 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_LOCK_WRONG_USER: policy 297 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc case policy::EnrollmentStatus::STATUS_STORE_ERROR: policy 301 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc policy::FormatStoreStatus(status.store_status(), policy 19 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.h namespace policy { policy 53 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.h virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) OVERRIDE; policy 105 chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.h scoped_ptr<policy::PolicyOAuth2TokenFetcher> oauth_fetcher_; policy 376 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 1266 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 1283 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 1290 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 1331 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc policy::BrowserPolicyConnectorChromeOS* policy_connector = policy 1367 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 1743 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc policy::AutoEnrollmentState state) { policy 1747 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc case policy::AUTO_ENROLLMENT_STATE_IDLE: policy 1748 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc case policy::AUTO_ENROLLMENT_STATE_PENDING: policy 1749 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc case policy::AUTO_ENROLLMENT_STATE_CONNECTION_ERROR: policy 1752 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc case policy::AUTO_ENROLLMENT_STATE_TRIGGER_ENROLLMENT: policy 1759 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc case policy::AUTO_ENROLLMENT_STATE_SERVER_ERROR: policy 1760 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc case policy::AUTO_ENROLLMENT_STATE_NO_ENROLLMENT: policy 441 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h void ContinueKioskEnableFlow(policy::AutoEnrollmentState state); policy 173 chrome/browser/ui/webui/extensions/extension_settings_handler.cc ManagementPolicy* policy) policy 175 chrome/browser/ui/webui/extensions/extension_settings_handler.cc management_policy_(policy), policy 107 chrome/browser/ui/webui/extensions/extension_settings_handler.h ManagementPolicy* policy); policy 100 chrome/browser/ui/webui/help/help_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 122 chrome/browser/ui/webui/help/help_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 305 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 795 chrome/browser/ui/webui/options/browser_options_handler.cc policy_registrar_.reset(new policy::PolicyChangeRegistrar( policy 796 chrome/browser/ui/webui/options/browser_options_handler.cc policy::ProfilePolicyConnectorFactory::GetForProfile(profile)-> policy 798 chrome/browser/ui/webui/options/browser_options_handler.cc policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME, std::string()))); policy 800 chrome/browser/ui/webui/options/browser_options_handler.cc policy::key::kUserAvatarImage, policy 804 chrome/browser/ui/webui/options/browser_options_handler.cc policy::key::kWallpaperImage, policy 836 chrome/browser/ui/webui/options/browser_options_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 847 chrome/browser/ui/webui/options/browser_options_handler.cc policy::ProfilePolicyConnectorFactory::GetForProfile(profile)-> policy 849 chrome/browser/ui/webui/options/browser_options_handler.cc policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME, policy 851 chrome/browser/ui/webui/options/browser_options_handler.cc .Get(policy::key::kUserAvatarImage)); policy 1504 chrome/browser/ui/webui/options/browser_options_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 43 chrome/browser/ui/webui/options/browser_options_handler.h namespace policy { policy 338 chrome/browser/ui/webui/options/browser_options_handler.h scoped_ptr<policy::PolicyChangeRegistrar> policy_registrar_; policy 46 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc policy::UserNetworkConfigurationUpdater:: policy 54 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc policy::UserNetworkConfigurationUpdater:: policy 67 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc policy::BrowserPolicyConnector::SetPolicyProviderForTesting(&provider_); policy 127 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc policy::UserNetworkConfigurationUpdaterFactory::GetForProfile( policy 136 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc policy::PolicyMap policy; policy 137 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc policy.Set(policy::key::kOpenNetworkConfiguration, policy 138 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy 139 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc policy::POLICY_SCOPE_USER, policy 142 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc provider_.UpdateChromePolicy(policy); policy 178 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc policy::MockConfigurationPolicyProvider provider_; policy 180 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc policy::DevicePolicyCrosTestHelper device_policy_test_helper_; policy 495 chrome/browser/ui/webui/options/certificate_manager_handler.cc policy::UserNetworkConfigurationUpdater* service = policy 496 chrome/browser/ui/webui/options/certificate_manager_handler.cc policy::UserNetworkConfigurationUpdaterFactory::GetForProfile( policy 86 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 155 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 292 chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 193 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::BrowserPolicyConnector::SetPolicyProviderForTesting( policy 205 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::PolicyLevel level) { policy 206 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::PolicyMap map; policy 208 chrome/browser/ui/webui/options/preferences_browsertest.cc map.Set(names[i], level, policy::POLICY_SCOPE_USER, policy 215 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::PolicyMap empty_policy_map; policy 454 chrome/browser/ui/webui/options/preferences_browsertest.cc policy_names_.push_back(policy::key::kAlternateErrorPagesEnabled); policy 460 chrome/browser/ui/webui/options/preferences_browsertest.cc policy_names_.push_back(policy::key::kRestoreOnStartup); policy 467 chrome/browser/ui/webui/options/preferences_browsertest.cc policy_names_.push_back(policy::key::kRestoreOnStartupURLs); policy 495 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_LEVEL_RECOMMENDED); policy 502 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_LEVEL_MANDATORY); policy 537 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_LEVEL_RECOMMENDED); policy 573 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_LEVEL_RECOMMENDED); policy 589 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_LEVEL_RECOMMENDED); policy 605 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_LEVEL_RECOMMENDED); policy 625 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_LEVEL_RECOMMENDED); policy 633 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_LEVEL_MANDATORY); policy 779 chrome/browser/ui/webui/options/preferences_browsertest.cc void SetONCPolicy(const char* policy_name, policy::PolicyScope scope) { policy 795 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::PolicyMap map; policy 797 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy 888 chrome/browser/ui/webui/options/preferences_browsertest.cc SetONCPolicy(policy::key::kOpenNetworkConfiguration, policy 889 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_SCOPE_USER); policy 913 chrome/browser/ui/webui/options/preferences_browsertest.cc SetONCPolicy(policy::key::kDeviceOpenNetworkConfiguration, policy 914 chrome/browser/ui/webui/options/preferences_browsertest.cc policy::POLICY_SCOPE_MACHINE); policy 938 chrome/browser/ui/webui/options/preferences_browsertest.cc policy_names_.push_back(policy::key::kProxyMode); policy 942 chrome/browser/ui/webui/options/preferences_browsertest.cc policy_names_, default_values_, policy::POLICY_LEVEL_MANDATORY); policy 57 chrome/browser/ui/webui/options/preferences_browsertest.h policy::PolicyLevel level); policy 176 chrome/browser/ui/webui/options/preferences_browsertest.h policy::MockConfigurationPolicyProvider policy_provider_; policy 155 chrome/browser/ui/webui/policy_ui.cc void GetStatusFromCore(const policy::CloudPolicyCore* core, policy 157 chrome/browser/ui/webui/policy_ui.cc const policy::CloudPolicyStore* store = core->store(); policy 158 chrome/browser/ui/webui/policy_ui.cc const policy::CloudPolicyClient* client = core->client(); policy 159 chrome/browser/ui/webui/policy_ui.cc const policy::CloudPolicyRefreshScheduler* refresh_scheduler = policy 166 chrome/browser/ui/webui/policy_ui.cc policy::FormatStoreStatus(store->status(), store->validation_status()); policy 167 chrome/browser/ui/webui/policy_ui.cc if (store->status() == policy::CloudPolicyStore::STATUS_OK) { policy 168 chrome/browser/ui/webui/policy_ui.cc if (client && client->status() != policy::DM_STATUS_SUCCESS) policy 169 chrome/browser/ui/webui/policy_ui.cc status = policy::FormatDeviceManagementStatus(client->status()); policy 171 chrome/browser/ui/webui/policy_ui.cc status = FormatAssociationState(store->policy()); policy 174 chrome/browser/ui/webui/policy_ui.cc const em::PolicyData* policy = store->policy(); policy 175 chrome/browser/ui/webui/policy_ui.cc std::string client_id = policy ? policy->device_id() : std::string(); policy 176 chrome/browser/ui/webui/policy_ui.cc std::string username = policy ? policy->username() : std::string(); policy 180 chrome/browser/ui/webui/policy_ui.cc policy::CloudPolicyRefreshScheduler::kDefaultRefreshDelayMs); policy 184 chrome/browser/ui/webui/policy_ui.cc bool no_error = store->status() == policy::CloudPolicyStore::STATUS_OK && policy 185 chrome/browser/ui/webui/policy_ui.cc client && client->status() == policy::DM_STATUS_SUCCESS; policy 266 chrome/browser/ui/webui/policy_ui.cc public policy::CloudPolicyStore::Observer { policy 268 chrome/browser/ui/webui/policy_ui.cc explicit CloudPolicyCoreStatusProvider(policy::CloudPolicyCore* core); policy 272 chrome/browser/ui/webui/policy_ui.cc virtual void OnStoreLoaded(policy::CloudPolicyStore* store) OVERRIDE; policy 273 chrome/browser/ui/webui/policy_ui.cc virtual void OnStoreError(policy::CloudPolicyStore* store) OVERRIDE; policy 278 chrome/browser/ui/webui/policy_ui.cc policy::CloudPolicyCore* core_; policy 286 chrome/browser/ui/webui/policy_ui.cc explicit UserPolicyStatusProvider(policy::CloudPolicyCore* core); policy 301 chrome/browser/ui/webui/policy_ui.cc policy::BrowserPolicyConnectorChromeOS* connector); policy 321 chrome/browser/ui/webui/policy_ui.cc public policy::DeviceLocalAccountPolicyService::Observer { policy 325 chrome/browser/ui/webui/policy_ui.cc policy::DeviceLocalAccountPolicyService* service); policy 337 chrome/browser/ui/webui/policy_ui.cc policy::DeviceLocalAccountPolicyService* service_; policy 346 chrome/browser/ui/webui/policy_ui.cc public policy::PolicyService::Observer { policy 360 chrome/browser/ui/webui/policy_ui.cc virtual void OnPolicyUpdated(const policy::PolicyNamespace& ns, policy 361 chrome/browser/ui/webui/policy_ui.cc const policy::PolicyMap& previous, policy 362 chrome/browser/ui/webui/policy_ui.cc const policy::PolicyMap& current) OVERRIDE; policy 380 chrome/browser/ui/webui/policy_ui.cc void GetPolicyValues(const policy::PolicyMap& policy_map, policy 381 chrome/browser/ui/webui/policy_ui.cc policy::PolicyErrorMap* errors, policy 391 chrome/browser/ui/webui/policy_ui.cc policy::PolicyService* GetPolicyService() const; policy 429 chrome/browser/ui/webui/policy_ui.cc policy::CloudPolicyCore* core) : core_(core) { policy 441 chrome/browser/ui/webui/policy_ui.cc policy::CloudPolicyStore* store) { policy 446 chrome/browser/ui/webui/policy_ui.cc policy::CloudPolicyStore* store) { policy 451 chrome/browser/ui/webui/policy_ui.cc policy::CloudPolicyCore* core) : CloudPolicyCoreStatusProvider(core) { policy 466 chrome/browser/ui/webui/policy_ui.cc policy::BrowserPolicyConnectorChromeOS* connector) policy 482 chrome/browser/ui/webui/policy_ui.cc policy::DeviceLocalAccountPolicyService* service) policy 495 chrome/browser/ui/webui/policy_ui.cc const policy::DeviceLocalAccountPolicyBroker* broker = policy 502 chrome/browser/ui/webui/policy_ui.cc policy::FormatStoreStatus( policy 503 chrome/browser/ui/webui/policy_ui.cc policy::CloudPolicyStore::STATUS_BAD_STATE, policy 504 chrome/browser/ui/webui/policy_ui.cc policy::CloudPolicyValidatorBase::VALIDATION_OK)); policy 528 chrome/browser/ui/webui/policy_ui.cc GetPolicyService()->RemoveObserver(policy::POLICY_DOMAIN_CHROME, this); policy 529 chrome/browser/ui/webui/policy_ui.cc GetPolicyService()->RemoveObserver(policy::POLICY_DOMAIN_EXTENSIONS, this); policy 534 chrome/browser/ui/webui/policy_ui.cc policy::BrowserPolicyConnectorChromeOS* connector = policy 541 chrome/browser/ui/webui/policy_ui.cc policy::DeviceLocalAccountPolicyService* local_account_service = policy 549 chrome/browser/ui/webui/policy_ui.cc policy::UserCloudPolicyManagerChromeOS* user_cloud_policy_manager = policy 550 chrome/browser/ui/webui/policy_ui.cc policy::UserCloudPolicyManagerFactoryChromeOS::GetForProfile( policy 558 chrome/browser/ui/webui/policy_ui.cc policy::UserCloudPolicyManager* user_cloud_policy_manager = policy 559 chrome/browser/ui/webui/policy_ui.cc policy::UserCloudPolicyManagerFactory::GetForBrowserContext( policy 576 chrome/browser/ui/webui/policy_ui.cc GetPolicyService()->AddObserver(policy::POLICY_DOMAIN_CHROME, this); policy 577 chrome/browser/ui/webui/policy_ui.cc GetPolicyService()->AddObserver(policy::POLICY_DOMAIN_EXTENSIONS, this); policy 604 chrome/browser/ui/webui/policy_ui.cc void PolicyUIHandler::OnPolicyUpdated(const policy::PolicyNamespace& ns, policy 605 chrome/browser/ui/webui/policy_ui.cc const policy::PolicyMap& previous, policy 606 chrome/browser/ui/webui/policy_ui.cc const policy::PolicyMap& current) { policy 614 chrome/browser/ui/webui/policy_ui.cc policy::SchemaRegistry* registry = policy 615 chrome/browser/ui/webui/policy_ui.cc policy::SchemaRegistryServiceFactory::GetForContext( policy 617 chrome/browser/ui/webui/policy_ui.cc scoped_refptr<policy::SchemaMap> schema_map = registry->schema_map(); policy 621 chrome/browser/ui/webui/policy_ui.cc policy::PolicyNamespace chrome_ns(policy::POLICY_DOMAIN_CHROME, ""); policy 622 chrome/browser/ui/webui/policy_ui.cc const policy::Schema* chrome_schema = schema_map->GetSchema(chrome_ns); policy 623 chrome/browser/ui/webui/policy_ui.cc for (policy::Schema::Iterator it = chrome_schema->GetPropertiesIterator(); policy 647 chrome/browser/ui/webui/policy_ui.cc const policy::Schema* schema = policy 648 chrome/browser/ui/webui/policy_ui.cc schema_map->GetSchema(policy::PolicyNamespace( policy 649 chrome/browser/ui/webui/policy_ui.cc policy::POLICY_DOMAIN_EXTENSIONS, extension->id())); policy 654 chrome/browser/ui/webui/policy_ui.cc for (policy::Schema::Iterator prop = schema->GetPropertiesIterator(); policy 692 chrome/browser/ui/webui/policy_ui.cc policy::PolicyNamespace policy_namespace = policy::PolicyNamespace( policy 693 chrome/browser/ui/webui/policy_ui.cc policy::POLICY_DOMAIN_EXTENSIONS, extension->id()); policy 694 chrome/browser/ui/webui/policy_ui.cc policy::PolicyErrorMap empty_error_map; policy 704 chrome/browser/ui/webui/policy_ui.cc void PolicyUIHandler::GetPolicyValues(const policy::PolicyMap& map, policy 705 chrome/browser/ui/webui/policy_ui.cc policy::PolicyErrorMap* errors, policy 707 chrome/browser/ui/webui/policy_ui.cc for (policy::PolicyMap::const_iterator entry = map.begin(); policy 711 chrome/browser/ui/webui/policy_ui.cc if (entry->second.scope == policy::POLICY_SCOPE_USER) policy 715 chrome/browser/ui/webui/policy_ui.cc if (entry->second.level == policy::POLICY_LEVEL_RECOMMENDED) policy 728 chrome/browser/ui/webui/policy_ui.cc policy::PolicyService* policy_service = GetPolicyService(); policy 729 chrome/browser/ui/webui/policy_ui.cc policy::PolicyMap map; policy 734 chrome/browser/ui/webui/policy_ui.cc policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME, std::string()))); policy 737 chrome/browser/ui/webui/policy_ui.cc const policy::ConfigurationPolicyHandlerList* handler_list = policy 739 chrome/browser/ui/webui/policy_ui.cc policy::PolicyErrorMap errors; policy 785 chrome/browser/ui/webui/policy_ui.cc policy::PolicyService* PolicyUIHandler::GetPolicyService() const { policy 786 chrome/browser/ui/webui/policy_ui.cc return policy::ProfilePolicyConnectorFactory::GetForProfile( policy 38 chrome/browser/ui/webui/policy_ui_browsertest.cc const policy::PolicyMap::Entry* metadata, policy 45 chrome/browser/ui/webui/policy_ui_browsertest.cc metadata->scope == policy::POLICY_SCOPE_MACHINE ? policy 54 chrome/browser/ui/webui/policy_ui_browsertest.cc metadata->level == policy::POLICY_LEVEL_RECOMMENDED ? policy 91 chrome/browser/ui/webui/policy_ui_browsertest.cc void UpdateProviderPolicy(const policy::PolicyMap& policy); policy 96 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::MockConfigurationPolicyProvider provider_; policy 110 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::BrowserPolicyConnector::SetPolicyProviderForTesting(&provider_); policy 113 chrome/browser/ui/webui/policy_ui_browsertest.cc void PolicyUITest::UpdateProviderPolicy(const policy::PolicyMap& policy) { policy 114 chrome/browser/ui/webui/policy_ui_browsertest.cc provider_.UpdateChromePolicy(policy); policy 177 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::Schema chrome_schema = policy 178 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::Schema::Wrap(policy::GetChromeSchemaData()); policy 180 chrome/browser/ui/webui/policy_ui_browsertest.cc for (policy::Schema::Iterator it = chrome_schema.GetPropertiesIterator(); policy 196 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::PolicyMap values; policy 204 chrome/browser/ui/webui/policy_ui_browsertest.cc values.Set(policy::key::kRestoreOnStartupURLs, policy 205 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy 206 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::POLICY_SCOPE_USER, policy 209 chrome/browser/ui/webui/policy_ui_browsertest.cc expected_values[policy::key::kRestoreOnStartupURLs] = "aaa,bbb,ccc"; policy 210 chrome/browser/ui/webui/policy_ui_browsertest.cc values.Set(policy::key::kHomepageLocation, policy 211 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy 212 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::POLICY_SCOPE_MACHINE, policy 215 chrome/browser/ui/webui/policy_ui_browsertest.cc expected_values[policy::key::kHomepageLocation] = "http://google.com"; policy 216 chrome/browser/ui/webui/policy_ui_browsertest.cc values.Set(policy::key::kRestoreOnStartup, policy 217 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::POLICY_LEVEL_RECOMMENDED, policy 218 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::POLICY_SCOPE_USER, policy 221 chrome/browser/ui/webui/policy_ui_browsertest.cc expected_values[policy::key::kRestoreOnStartup] = "4"; policy 222 chrome/browser/ui/webui/policy_ui_browsertest.cc values.Set(policy::key::kShowHomeButton, policy 223 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::POLICY_LEVEL_RECOMMENDED, policy 224 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::POLICY_SCOPE_MACHINE, policy 227 chrome/browser/ui/webui/policy_ui_browsertest.cc expected_values[policy::key::kShowHomeButton] = "true"; policy 231 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::POLICY_LEVEL_MANDATORY, policy 232 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::POLICY_SCOPE_USER, policy 244 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::Schema chrome_schema = policy 245 chrome/browser/ui/webui/policy_ui_browsertest.cc policy::Schema::Wrap(policy::GetChromeSchemaData()); policy 247 chrome/browser/ui/webui/policy_ui_browsertest.cc for (policy::Schema::Iterator props = chrome_schema.GetPropertiesIterator(); policy 253 chrome/browser/ui/webui/policy_ui_browsertest.cc const policy::PolicyMap::Entry* metadata = values.Get(props.key()); policy 39 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc policy::Schema StorageSchemaManifestHandler::GetSchema( policy 48 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc return policy::Schema(); policy 54 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc return policy::Schema(); policy 59 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc return policy::Schema(); policy 61 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc return policy::Schema::Parse(content, error); policy 11 chrome/common/extensions/api/storage/storage_schema_manifest_handler.h namespace policy { policy 28 chrome/common/extensions/api/storage/storage_schema_manifest_handler.h static policy::Schema GetSchema(const Extension* extension, policy 595 chrome/installer/util/google_update_settings.cc UpdatePolicy policy = GetAppUpdatePolicy(app_guid, NULL); policy 596 chrome/installer/util/google_update_settings.cc return (policy == AUTOMATIC_UPDATES || policy == AUTO_UPDATES_ONLY); policy 199 chrome/installer/util/google_update_settings_unittest.cc GoogleUpdateSettings::UpdatePolicy policy) { policy 208 chrome/installer/util/google_update_settings_unittest.cc static_cast<DWORD>(policy)) == ERROR_SUCCESS; policy 231 chrome/installer/util/google_update_settings_unittest.cc bool SetGlobalUpdatePolicy(GoogleUpdateSettings::UpdatePolicy policy) { policy 237 chrome/installer/util/google_update_settings_unittest.cc static_cast<DWORD>(policy)) == ERROR_SUCCESS; policy 145 chrome/test/base/testing_browser_process.cc policy::BrowserPolicyConnector* policy 156 chrome/test/base/testing_browser_process.cc policy::PolicyService* TestingBrowserProcess::policy_service() { policy 164 chrome/test/base/testing_browser_process.cc policy_service_.reset(new policy::PolicyServiceStub()); policy 411 chrome/test/base/testing_browser_process.cc policy::BrowserPolicyConnector* connector) { policy 37 chrome/test/base/testing_browser_process.h namespace policy { policy 66 chrome/test/base/testing_browser_process.h virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; policy 67 chrome/test/base/testing_browser_process.h virtual policy::PolicyService* policy_service() OVERRIDE; policy 127 chrome/test/base/testing_browser_process.h void SetBrowserPolicyConnector(policy::BrowserPolicyConnector* connector); policy 144 chrome/test/base/testing_browser_process.h scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; policy 146 chrome/test/base/testing_browser_process.h scoped_ptr<policy::PolicyService> policy_service_; policy 242 chrome/test/base/testing_profile.cc scoped_ptr<policy::PolicyService> policy_service, policy 661 chrome/test/base/testing_profile.cc policy::SchemaRegistryServiceFactory::CreateForContext( policy 662 chrome/test/base/testing_profile.cc this, policy::Schema(), NULL); policy 664 chrome/test/base/testing_profile.cc policy::SchemaRegistryServiceFactory::GetForContext(this)); policy 669 chrome/test/base/testing_profile.cc std::vector<policy::ConfigurationPolicyProvider*> providers; policy 670 chrome/test/base/testing_profile.cc policy_service_.reset(new policy::PolicyServiceImpl(providers)); policy 672 chrome/test/base/testing_profile.cc policy_service_.reset(new policy::PolicyServiceStub()); policy 675 chrome/test/base/testing_profile.cc profile_policy_connector_.reset(new policy::ProfilePolicyConnector()); policy 677 chrome/test/base/testing_profile.cc policy::ProfilePolicyConnectorFactory::GetInstance()->SetServiceForTesting( policy 680 chrome/test/base/testing_profile.cc policy::ProfilePolicyConnectorFactory::GetForProfile(this)); policy 920 chrome/test/base/testing_profile.cc scoped_refptr<ExtensionSpecialStoragePolicy> policy) { policy 921 chrome/test/base/testing_profile.cc extension_policy_ = policy; policy 943 chrome/test/base/testing_profile.cc scoped_ptr<policy::PolicyService> policy_service) { policy 33 chrome/test/base/testing_profile.h namespace policy { policy 94 chrome/test/base/testing_profile.h scoped_refptr<ExtensionSpecialStoragePolicy> policy); policy 113 chrome/test/base/testing_profile.h void SetPolicyService(scoped_ptr<policy::PolicyService> policy_service); policy 130 chrome/test/base/testing_profile.h scoped_ptr<policy::PolicyService> policy_service_; policy 158 chrome/test/base/testing_profile.h scoped_ptr<policy::PolicyService> policy_service, policy 425 chrome/test/base/testing_profile.h scoped_ptr<policy::SchemaRegistryService> schema_registry_service_; policy 427 chrome/test/base/testing_profile.h scoped_ptr<policy::ProfilePolicyConnector> profile_policy_connector_; policy 434 chrome/test/base/testing_profile.h scoped_ptr<policy::PolicyService> policy_service_; policy 35 chromeos/dbus/fake_power_manager_client.cc const power_manager::PowerManagementPolicy& policy) { policy 36 chromeos/dbus/fake_power_manager_client.cc policy_ = policy; policy 27 chromeos/dbus/fake_power_manager_client.h power_manager::PowerManagementPolicy& policy() { return policy_; } policy 61 chromeos/dbus/fake_power_manager_client.h const power_manager::PowerManagementPolicy& policy) OVERRIDE; policy 184 chromeos/dbus/power_manager_client.cc const power_manager::PowerManagementPolicy& policy) OVERRIDE { policy 189 chromeos/dbus/power_manager_client.cc if (!writer.AppendProtoAsArrayOfBytes(policy)) { policy 748 chromeos/dbus/power_manager_client.cc const power_manager::PowerManagementPolicy& policy) OVERRIDE {} policy 135 chromeos/dbus/power_manager_client.h const power_manager::PowerManagementPolicy& policy) = 0; policy 94 chromeos/dbus/power_policy_controller.cc const power_manager::PowerManagementPolicy& policy) { policy 96 chromeos/dbus/power_policy_controller.cc if (policy.has_ac_delays()) policy 97 chromeos/dbus/power_policy_controller.cc APPEND_DELAYS(str, policy.ac_delays(), "ac"); policy 98 chromeos/dbus/power_policy_controller.cc if (policy.has_battery_delays()) policy 99 chromeos/dbus/power_policy_controller.cc APPEND_DELAYS(str, policy.battery_delays(), "battery"); policy 100 chromeos/dbus/power_policy_controller.cc if (policy.has_ac_idle_action()) policy 101 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("ac_idle=%d ", policy.ac_idle_action()); policy 102 chromeos/dbus/power_policy_controller.cc if (policy.has_battery_idle_action()) policy 103 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("battery_idle=%d ", policy.battery_idle_action()); policy 104 chromeos/dbus/power_policy_controller.cc if (policy.has_lid_closed_action()) policy 105 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("lid_closed=%d ", policy.lid_closed_action()); policy 106 chromeos/dbus/power_policy_controller.cc if (policy.has_use_audio_activity()) policy 107 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("use_audio=%d ", policy.use_audio_activity()); policy 108 chromeos/dbus/power_policy_controller.cc if (policy.has_use_video_activity()) policy 109 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("use_video=%d ", policy.use_audio_activity()); policy 110 chromeos/dbus/power_policy_controller.cc if (policy.has_ac_brightness_percent()) { policy 112 chromeos/dbus/power_policy_controller.cc policy.ac_brightness_percent()); policy 114 chromeos/dbus/power_policy_controller.cc if (policy.has_battery_brightness_percent()) { policy 116 chromeos/dbus/power_policy_controller.cc policy.battery_brightness_percent()); policy 118 chromeos/dbus/power_policy_controller.cc if (policy.has_presentation_screen_dim_delay_factor()) { policy 120 chromeos/dbus/power_policy_controller.cc policy.presentation_screen_dim_delay_factor()); policy 122 chromeos/dbus/power_policy_controller.cc if (policy.has_user_activity_screen_dim_delay_factor()) { policy 124 chromeos/dbus/power_policy_controller.cc policy.user_activity_screen_dim_delay_factor()); policy 126 chromeos/dbus/power_policy_controller.cc if (policy.has_wait_for_initial_user_activity()) { policy 128 chromeos/dbus/power_policy_controller.cc policy.wait_for_initial_user_activity()); policy 130 chromeos/dbus/power_policy_controller.cc if (policy.has_reason()) policy 131 chromeos/dbus/power_policy_controller.cc str += base::StringPrintf("reason=\"%s\" ", policy.reason().c_str()); policy 242 chromeos/dbus/power_policy_controller.cc power_manager::PowerManagementPolicy policy = prefs_policy_; policy 247 chromeos/dbus/power_policy_controller.cc policy.mutable_ac_delays()->set_screen_dim_ms(0); policy 248 chromeos/dbus/power_policy_controller.cc policy.mutable_ac_delays()->set_screen_off_ms(0); policy 249 chromeos/dbus/power_policy_controller.cc policy.mutable_ac_delays()->set_screen_lock_ms(0); policy 250 chromeos/dbus/power_policy_controller.cc policy.mutable_battery_delays()->set_screen_dim_ms(0); policy 251 chromeos/dbus/power_policy_controller.cc policy.mutable_battery_delays()->set_screen_off_ms(0); policy 252 chromeos/dbus/power_policy_controller.cc policy.mutable_battery_delays()->set_screen_lock_ms(0); policy 256 chromeos/dbus/power_policy_controller.cc if (!policy.has_ac_idle_action() || policy.ac_idle_action() == policy 258 chromeos/dbus/power_policy_controller.cc policy.set_ac_idle_action( policy 261 chromeos/dbus/power_policy_controller.cc if (!policy.has_battery_idle_action() || policy.battery_idle_action() == policy 263 chromeos/dbus/power_policy_controller.cc policy.set_battery_idle_action( policy 278 chromeos/dbus/power_policy_controller.cc policy.set_reason(reason); policy 279 chromeos/dbus/power_policy_controller.cc client_->SetPolicy(policy); policy 64 chromeos/dbus/power_policy_controller.h const power_manager::PowerManagementPolicy& policy); policy 94 chromeos/dbus/power_policy_controller_unittest.cc fake_power_client_->policy())); policy 109 chromeos/dbus/power_policy_controller_unittest.cc fake_power_client_->policy())); policy 121 chromeos/dbus/power_policy_controller_unittest.cc fake_power_client_->policy())); policy 133 chromeos/dbus/power_policy_controller_unittest.cc fake_power_client_->policy())); policy 151 chromeos/dbus/power_policy_controller_unittest.cc fake_power_client_->policy())); policy 164 chromeos/dbus/power_policy_controller_unittest.cc fake_power_client_->policy())); policy 179 chromeos/dbus/power_policy_controller_unittest.cc fake_power_client_->policy())); policy 194 chromeos/dbus/power_policy_controller_unittest.cc fake_power_client_->policy())); policy 200 chromeos/dbus/power_policy_controller_unittest.cc fake_power_client_->policy())); policy 206 chromeos/dbus/power_policy_controller_unittest.cc fake_power_client_->policy())); policy 169 chromeos/dbus/session_manager_client.cc std::string policy; policy 172 chromeos/dbus/session_manager_client.cc &policy); policy 173 chromeos/dbus/session_manager_client.cc return policy; policy 379 chromeos/network/client_cert_resolver.cc const base::DictionaryValue* policy = policy 383 chromeos/network/client_cert_resolver.cc if (!policy) { policy 396 chromeos/network/client_cert_resolver.cc NetworkUIData::CreateFromONC(onc::ONC_SOURCE_NONE, *policy)); policy 403 chromeos/network/client_cert_resolver.cc OncToClientCertConfigurationType(*policy); policy 199 chromeos/network/client_cert_resolver_unittest.cc base::ListValue* policy = NULL; policy 200 chromeos/network/client_cert_resolver_unittest.cc ASSERT_TRUE(policy_value->GetAsList(&policy)); policy 205 chromeos/network/client_cert_resolver_unittest.cc *policy, policy 190 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* policy = policy 193 chromeos/network/managed_network_configuration_handler_impl.cc device_policy = policy; policy 195 chromeos/network/managed_network_configuration_handler_impl.cc user_policy = policy; policy 283 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* policy = policy 285 chromeos/network/managed_network_configuration_handler_impl.cc VLOG(2) << "This configuration is " << (policy ? "" : "not ") << "managed."; policy 289 chromeos/network/managed_network_configuration_handler_impl.cc *profile, guid, policy, validated_user_settings.get())); policy 504 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* policy = policy 506 chromeos/network/managed_network_configuration_handler_impl.cc if (policy) { policy 508 chromeos/network/managed_network_configuration_handler_impl.cc return policy; policy 515 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* policy = policy 517 chromeos/network/managed_network_configuration_handler_impl.cc if (policy) { policy 519 chromeos/network/managed_network_configuration_handler_impl.cc return policy; policy 229 chromeos/network/managed_network_configuration_handler_unittest.cc scoped_ptr<base::DictionaryValue> policy; policy 231 chromeos/network/managed_network_configuration_handler_unittest.cc policy = onc::ReadDictionaryFromJson(onc::kEmptyUnencryptedConfiguration); policy 233 chromeos/network/managed_network_configuration_handler_unittest.cc policy = test_utils::ReadTestDictionary(path_to_onc); policy 237 chromeos/network/managed_network_configuration_handler_unittest.cc policy->GetListWithoutPathExpansion( policy 242 chromeos/network/managed_network_configuration_handler_unittest.cc policy->GetDictionaryWithoutPathExpansion( policy 25 chromeos/network/onc/onc_merger.cc void MarkRecommendedFieldnames(const base::DictionaryValue& policy, policy 28 chromeos/network/onc/onc_merger.cc if (!policy.GetListWithoutPathExpansion(::onc::kRecommended, policy 41 chromeos/network/onc/onc_merger.cc DictionaryPtr GetEditableFlags(const base::DictionaryValue& policy) { policy 43 chromeos/network/onc/onc_merger.cc MarkRecommendedFieldnames(policy, result_editable.get()); policy 46 chromeos/network/onc/onc_merger.cc for (base::DictionaryValue::Iterator it(policy); !it.IsAtEnd(); policy 244 chromeos/network/policy_applicator.cc const base::DictionaryValue& policy, policy 249 chromeos/network/policy_applicator.cc policy.GetStringWithoutPathExpansion(::onc::network_config::kType, &type); policy 253 chromeos/network/policy_applicator.cc policy.GetDictionaryWithoutPathExpansion(::onc::network_config::kEthernet, policy 333 chromeos/network/policy_applicator.cc const base::DictionaryValue* policy = GetByGUID(all_policies_, *it); policy 334 chromeos/network/policy_applicator.cc DCHECK(policy); policy 340 chromeos/network/policy_applicator.cc policy_util::CreateShillConfiguration(profile_, *it, policy, NULL); policy 341 chromeos/network/policy_applicator.cc WriteNewShillConfiguration(*shill_dictionary, *policy, false); policy 80 chromeos/network/policy_applicator.h const base::DictionaryValue& policy, policy 78 chromeos/network/policy_util.cc bool IsPolicyMatching(const base::DictionaryValue& policy, policy 81 chromeos/network/policy_util.cc policy.GetStringWithoutPathExpansion(::onc::network_config::kType, policy 91 chromeos/network/policy_util.cc policy.GetDictionaryWithoutPathExpansion(::onc::network_config::kEthernet, policy 108 chromeos/network/policy_util.cc policy.GetDictionaryWithoutPathExpansion(::onc::network_config::kWiFi, policy 133 chromeos/network/policy_util.cc const base::DictionaryValue* policy, policy 137 chromeos/network/policy_util.cc if (policy) { policy 141 chromeos/network/policy_util.cc policy, // device policy policy 147 chromeos/network/policy_util.cc policy, // user policy policy 182 chromeos/network/policy_util.cc if (policy) policy 183 chromeos/network/policy_util.cc ui_data = NetworkUIData::CreateFromONC(onc_source, *policy); policy 33 chromeos/network/policy_util.h const base::DictionaryValue* policy, policy 50 components/nacl/broker/nacl_broker_listener.cc void NaClBrokerListener::PreSpawnTarget(sandbox::TargetPolicy* policy, policy 57 components/nacl/broker/nacl_broker_listener.cc sandbox::ResultCode result = policy->AddRule( policy 29 components/nacl/broker/nacl_broker_listener.h virtual void PreSpawnTarget(sandbox::TargetPolicy* policy, policy 11 components/policy/core/browser/autofill_policy_handler.h namespace policy { policy 19 components/policy/core/browser/autofill_policy_handler_unittest.cc PolicyMap policy; policy 22 components/policy/core/browser/autofill_policy_handler_unittest.cc handler.ApplyPolicySettings(policy, &prefs); policy 27 components/policy/core/browser/autofill_policy_handler_unittest.cc PolicyMap policy; policy 28 components/policy/core/browser/autofill_policy_handler_unittest.cc policy.Set(key::kAutoFillEnabled, policy 35 components/policy/core/browser/autofill_policy_handler_unittest.cc handler.ApplyPolicySettings(policy, &prefs); policy 42 components/policy/core/browser/autofill_policy_handler_unittest.cc PolicyMap policy; policy 43 components/policy/core/browser/autofill_policy_handler_unittest.cc policy.Set(key::kAutoFillEnabled, policy 50 components/policy/core/browser/autofill_policy_handler_unittest.cc handler.ApplyPolicySettings(policy, &prefs); policy 99 components/policy/core/browser/browser_policy_connector.cc new policy::PolicyStatisticsCollector( policy 26 components/policy/core/browser/browser_policy_connector.h namespace policy { policy 20 components/policy/core/browser/browser_policy_connector_ios.h namespace policy { policy 14 components/policy/core/browser/cloud/message_util.h namespace policy { policy 52 components/policy/core/browser/configuration_policy_handler.cc const policy::PolicyMap& policies, policy 21 components/policy/core/browser/configuration_policy_handler.h namespace policy { policy 39 components/policy/core/browser/configuration_policy_handler_list.cc policy::PolicyHandlerParameters parameters; policy 18 components/policy/core/browser/configuration_policy_handler_list.h namespace policy { policy 12 components/policy/core/browser/configuration_policy_handler_parameters.h namespace policy { policy 36 components/policy/core/browser/configuration_policy_handler_unittest.cc virtual void ApplyPolicySettings(const policy::PolicyMap&, policy 29 components/policy/core/browser/configuration_policy_pref_store.cc base::string16 policy = base::ASCIIToUTF16(iter->first); policy 30 components/policy/core/browser/configuration_policy_pref_store.cc DLOG(WARNING) << "Policy " << policy << ": " << iter->second; policy 22 components/policy/core/browser/configuration_policy_pref_store.h namespace policy { policy 48 components/policy/core/browser/configuration_policy_pref_store_test.cc const PolicyMap& policy) { policy 49 components/policy/core/browser/configuration_policy_pref_store_test.cc provider_.UpdateChromePolicy(policy); policy 17 components/policy/core/browser/configuration_policy_pref_store_test.h namespace policy { policy 29 components/policy/core/browser/configuration_policy_pref_store_test.h void UpdateProviderPolicy(const PolicyMap& policy); policy 57 components/policy/core/browser/configuration_policy_pref_store_unittest.cc PolicyMap policy; policy 58 components/policy/core/browser/configuration_policy_pref_store_unittest.cc policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, policy 60 components/policy/core/browser/configuration_policy_pref_store_unittest.cc UpdateProviderPolicy(policy); policy 82 components/policy/core/browser/configuration_policy_pref_store_unittest.cc PolicyMap policy; policy 83 components/policy/core/browser/configuration_policy_pref_store_unittest.cc policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, policy 86 components/policy/core/browser/configuration_policy_pref_store_unittest.cc UpdateProviderPolicy(policy); policy 108 components/policy/core/browser/configuration_policy_pref_store_unittest.cc PolicyMap policy; policy 109 components/policy/core/browser/configuration_policy_pref_store_unittest.cc policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, policy 111 components/policy/core/browser/configuration_policy_pref_store_unittest.cc UpdateProviderPolicy(policy); policy 120 components/policy/core/browser/configuration_policy_pref_store_unittest.cc policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, policy 122 components/policy/core/browser/configuration_policy_pref_store_unittest.cc UpdateProviderPolicy(policy); policy 146 components/policy/core/browser/configuration_policy_pref_store_unittest.cc PolicyMap policy; policy 147 components/policy/core/browser/configuration_policy_pref_store_unittest.cc policy.Set(kTestPolicy, POLICY_LEVEL_MANDATORY, policy 149 components/policy/core/browser/configuration_policy_pref_store_unittest.cc UpdateProviderPolicy(policy); policy 179 components/policy/core/browser/configuration_policy_pref_store_unittest.cc PolicyMap policy; policy 180 components/policy/core/browser/configuration_policy_pref_store_unittest.cc policy.Set(kTestPolicy, policy 185 components/policy/core/browser/configuration_policy_pref_store_unittest.cc UpdateProviderPolicy(policy); policy 190 components/policy/core/browser/configuration_policy_pref_store_unittest.cc UpdateProviderPolicy(policy); policy 193 components/policy/core/browser/configuration_policy_pref_store_unittest.cc policy.Erase(kTestPolicy); policy 194 components/policy/core/browser/configuration_policy_pref_store_unittest.cc UpdateProviderPolicy(policy); policy 203 components/policy/core/browser/configuration_policy_pref_store_unittest.cc PolicyMap policy; policy 204 components/policy/core/browser/configuration_policy_pref_store_unittest.cc UpdateProviderPolicy(policy); policy 140 components/policy/core/browser/policy_error_map.cc void PolicyErrorMap::AddError(const std::string& policy, int message_id) { policy 141 components/policy/core/browser/policy_error_map.cc AddError(new SimplePendingError(policy, message_id, std::string())); policy 144 components/policy/core/browser/policy_error_map.cc void PolicyErrorMap::AddError(const std::string& policy, policy 148 components/policy/core/browser/policy_error_map.cc new DictSubkeyPendingError(policy, subkey, message_id, std::string())); policy 151 components/policy/core/browser/policy_error_map.cc void PolicyErrorMap::AddError(const std::string& policy, policy 154 components/policy/core/browser/policy_error_map.cc AddError(new ListItemPendingError(policy, index, message_id, std::string())); policy 157 components/policy/core/browser/policy_error_map.cc void PolicyErrorMap::AddError(const std::string& policy, policy 160 components/policy/core/browser/policy_error_map.cc AddError(new SimplePendingError(policy, message_id, replacement)); policy 163 components/policy/core/browser/policy_error_map.cc void PolicyErrorMap::AddError(const std::string& policy, policy 167 components/policy/core/browser/policy_error_map.cc AddError(new DictSubkeyPendingError(policy, subkey, message_id, replacement)); policy 170 components/policy/core/browser/policy_error_map.cc void PolicyErrorMap::AddError(const std::string& policy, policy 174 components/policy/core/browser/policy_error_map.cc AddError(new ListItemPendingError(policy, index, message_id, replacement)); policy 177 components/policy/core/browser/policy_error_map.cc void PolicyErrorMap::AddError(const std::string& policy, policy 180 components/policy/core/browser/policy_error_map.cc AddError(new SchemaValidatingPendingError(policy, error_path, message)); policy 183 components/policy/core/browser/policy_error_map.cc base::string16 PolicyErrorMap::GetErrors(const std::string& policy) { policy 185 components/policy/core/browser/policy_error_map.cc std::pair<const_iterator, const_iterator> range = map_.equal_range(policy); policy 17 components/policy/core/browser/policy_error_map.h namespace policy { policy 37 components/policy/core/browser/policy_error_map.h void AddError(const std::string& policy, int message_id); policy 41 components/policy/core/browser/policy_error_map.h void AddError(const std::string& policy, policy 47 components/policy/core/browser/policy_error_map.h void AddError(const std::string& policy, policy 54 components/policy/core/browser/policy_error_map.h void AddError(const std::string& policy, policy 61 components/policy/core/browser/policy_error_map.h void AddError(const std::string& policy, policy 69 components/policy/core/browser/policy_error_map.h void AddError(const std::string& policy, policy 76 components/policy/core/browser/policy_error_map.h void AddError(const std::string& policy, policy 82 components/policy/core/browser/policy_error_map.h base::string16 GetErrors(const std::string& policy); policy 38 components/policy/core/browser/url_blacklist_manager.h namespace policy { policy 13 components/policy/core/browser/url_blacklist_policy_handler.h namespace policy { policy 20 components/policy/core/common/async_policy_loader.h namespace policy { policy 20 components/policy/core/common/async_policy_provider.h namespace policy { policy 21 components/policy/core/common/cloud/cloud_external_data_manager.h namespace policy { policy 26 components/policy/core/common/cloud/cloud_policy_client.h namespace policy { policy 25 components/policy/core/common/cloud/cloud_policy_client_registration_helper.h namespace policy { policy 13 components/policy/core/common/cloud/cloud_policy_constants.h namespace policy { policy 24 components/policy/core/common/cloud/cloud_policy_core.h namespace policy { policy 99 components/policy/core/common/cloud/cloud_policy_manager.cc bundle->MergeFrom(component_policy_service_->policy()); policy 31 components/policy/core/common/cloud/cloud_policy_manager.h namespace policy { policy 258 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc client->SetPolicy(policy_ns_key_, policy_.policy()); policy 259 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy_.policy()))); policy 331 components/policy/core/common/cloud/cloud_policy_manager_unittest.cc client->SetPolicy(policy_ns_key_, policy_.policy()); policy 216 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc if (store_->has_policy() && store_->policy()->has_timestamp()) { policy 219 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta::FromMilliseconds(store_->policy()->timestamp()); policy 225 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc if (store_->has_policy() && store_->policy()->has_timestamp() && policy 229 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.cc base::TimeDelta::FromMilliseconds(store_->policy()->timestamp()); policy 22 components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h namespace policy { policy 38 components/policy/core/common/cloud/cloud_policy_service.cc const em::PolicyData* policy = store_->policy(); policy 39 components/policy/core/common/cloud/cloud_policy_service.cc if (policy) { policy 40 components/policy/core/common/cloud/cloud_policy_service.cc std::string username = policy->username(); policy 67 components/policy/core/common/cloud/cloud_policy_service.cc const em::PolicyFetchResponse* policy = client_->GetPolicyFor(policy_ns_key_); policy 68 components/policy/core/common/cloud/cloud_policy_service.cc if (policy) { policy 71 components/policy/core/common/cloud/cloud_policy_service.cc store_->Store(*policy, client->fetched_invalidation_version()); policy 87 components/policy/core/common/cloud/cloud_policy_service.cc const em::PolicyData* policy(store_->policy()); policy 91 components/policy/core/common/cloud/cloud_policy_service.cc if (policy && policy->has_timestamp()) { policy 94 components/policy/core/common/cloud/cloud_policy_service.cc base::TimeDelta::FromMilliseconds(policy->timestamp()); policy 99 components/policy/core/common/cloud/cloud_policy_service.cc if (policy && policy->has_public_key_version()) policy 100 components/policy/core/common/cloud/cloud_policy_service.cc client_->set_public_key_version(policy->public_key_version()); policy 106 components/policy/core/common/cloud/cloud_policy_service.cc if (policy && policy->has_valid_serial_number_missing()) policy 107 components/policy/core/common/cloud/cloud_policy_service.cc submit_machine_id = policy->valid_serial_number_missing(); policy 111 components/policy/core/common/cloud/cloud_policy_service.cc if (policy && policy->has_request_token() && policy->has_device_id() && policy 114 components/policy/core/common/cloud/cloud_policy_service.cc << policy->request_token(); policy 115 components/policy/core/common/cloud/cloud_policy_service.cc client_->SetupRegistration(policy->request_token(), policy 116 components/policy/core/common/cloud/cloud_policy_service.cc policy->device_id()); policy 20 components/policy/core/common/cloud/cloud_policy_service.h namespace policy { policy 62 components/policy/core/common/cloud/cloud_policy_service_unittest.cc em::PolicyFetchResponse policy; policy 63 components/policy/core/common/cloud/cloud_policy_service_unittest.cc policy.set_policy_data("fake policy"); policy 64 components/policy/core/common/cloud/cloud_policy_service_unittest.cc client_.SetPolicy(policy_ns_key_, policy); policy 65 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); policy 105 components/policy/core/common/cloud/cloud_policy_service_unittest.cc em::PolicyFetchResponse policy; policy 106 components/policy/core/common/cloud/cloud_policy_service_unittest.cc policy.set_policy_data("fake policy"); policy 107 components/policy/core/common/cloud/cloud_policy_service_unittest.cc client_.SetPolicy(policy_ns_key_, policy); policy 109 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); policy 161 components/policy/core/common/cloud/cloud_policy_service_unittest.cc em::PolicyFetchResponse policy; policy 162 components/policy/core/common/cloud/cloud_policy_service_unittest.cc policy.set_policy_data("fake policy"); policy 163 components/policy/core/common/cloud/cloud_policy_service_unittest.cc client_.SetPolicy(policy_ns_key_, policy); policy 164 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); policy 189 components/policy/core/common/cloud/cloud_policy_service_unittest.cc em::PolicyFetchResponse policy; policy 190 components/policy/core/common/cloud/cloud_policy_service_unittest.cc policy.set_policy_data("fake policy"); policy 191 components/policy/core/common/cloud/cloud_policy_service_unittest.cc client_.SetPolicy(policy_ns_key_, policy); policy 192 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); policy 205 components/policy/core/common/cloud/cloud_policy_service_unittest.cc EXPECT_CALL(store_, Store(ProtoMatches(policy))).Times(1); policy 25 components/policy/core/common/cloud/cloud_policy_store.cc const enterprise_management::PolicyFetchResponse& policy, policy 28 components/policy/core/common/cloud/cloud_policy_store.cc Store(policy); policy 17 components/policy/core/common/cloud/cloud_policy_store.h namespace policy { policy 72 components/policy/core/common/cloud/cloud_policy_store.h const enterprise_management::PolicyData* policy() const { policy 92 components/policy/core/common/cloud/cloud_policy_store.h const enterprise_management::PolicyFetchResponse& policy, policy 96 components/policy/core/common/cloud/cloud_policy_store.h const enterprise_management::PolicyFetchResponse& policy) = 0; policy 40 components/policy/core/common/cloud/cloud_policy_validator.h namespace policy { policy 113 components/policy/core/common/cloud/cloud_policy_validator.h scoped_ptr<enterprise_management::PolicyFetchResponse>& policy() { policy 111 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc EXPECT_EQ(policy_.policy().SerializeAsString(), policy 112 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc validator->policy()->SerializeAsString()); policy 262 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_error_message("error"); policy 268 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_error_code(42); policy 276 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().clear_policy_data_signature(); policy 283 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_policy_data_signature("invalid"); policy 290 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().clear_new_public_key(); policy 297 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_new_public_key("invalid"); policy 304 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().clear_new_public_key_signature(); policy 311 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_new_public_key_signature("invalid"); policy 320 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc policy_.policy().set_new_public_key_verification_signature("invalid"); policy 155 components/policy/core/common/cloud/component_cloud_policy_service.cc bundle->CopyFrom(store_.policy()); policy 182 components/policy/core/common/cloud/component_cloud_policy_service.cc bundle->CopyFrom(store_.policy()); policy 346 components/policy/core/common/cloud/component_cloud_policy_service.cc const em::PolicyData* policy = core_->store()->policy(); policy 349 components/policy/core/common/cloud/component_cloud_policy_service.cc if (policy && policy->has_username() && policy->has_request_token()) { policy 351 components/policy/core/common/cloud/component_cloud_policy_service.cc username = policy->username(); policy 352 components/policy/core/common/cloud/component_cloud_policy_service.cc request_token = policy->request_token(); policy 509 components/policy/core/common/cloud/component_cloud_policy_service.cc scoped_ptr<PolicyBundle> policy) { policy 511 components/policy/core/common/cloud/component_cloud_policy_service.cc policy_.Swap(policy.get()); policy 30 components/policy/core/common/cloud/component_cloud_policy_service.h namespace policy { policy 95 components/policy/core/common/cloud/component_cloud_policy_service.h const PolicyBundle& policy() const { return policy_; } policy 125 components/policy/core/common/cloud/component_cloud_policy_service.h void OnPolicyUpdated(scoped_ptr<PolicyBundle> policy); policy 214 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc return make_scoped_ptr(new em::PolicyFetchResponse(builder_.policy())); policy 271 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(empty_bundle)); policy 293 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(empty_bundle)); policy 315 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(empty_bundle)); policy 341 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(expected_bundle)); policy 388 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(expected_bundle)); policy 412 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(expected_bundle)); policy 423 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(expected_bundle)); policy 491 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(expected_bundle)); policy 507 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(expected_bundle)); policy 524 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(empty_bundle)); policy 552 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(service_->policy().Equals(expected_bundle)); policy 144 components/policy/core/common/cloud/component_cloud_policy_store.cc PolicyMap policy; policy 146 components/policy/core/common/cloud/component_cloud_policy_store.cc ValidateData(data, payload.secure_hash(), &policy)) { policy 148 components/policy/core/common/cloud/component_cloud_policy_store.cc policy_bundle_.Get(ns).Swap(&policy); policy 164 components/policy/core/common/cloud/component_cloud_policy_store.cc PolicyMap policy; policy 166 components/policy/core/common/cloud/component_cloud_policy_store.cc if (!constants || !ValidateData(data, secure_hash, &policy)) policy 173 components/policy/core/common/cloud/component_cloud_policy_store.cc policy_bundle_.Get(ns).Swap(&policy); policy 319 components/policy/core/common/cloud/component_cloud_policy_store.cc PolicyMap* policy) { policy 321 components/policy/core/common/cloud/component_cloud_policy_store.cc ParsePolicy(data, policy); policy 325 components/policy/core/common/cloud/component_cloud_policy_store.cc PolicyMap* policy) { policy 356 components/policy/core/common/cloud/component_cloud_policy_store.cc policy->Set(it.key(), level, POLICY_SCOPE_USER, value.release(), NULL); policy 25 components/policy/core/common/cloud/component_cloud_policy_store.h namespace policy { policy 61 components/policy/core/common/cloud/component_cloud_policy_store.h const PolicyBundle& policy() const { return policy_bundle_; } policy 126 components/policy/core/common/cloud/component_cloud_policy_store.h PolicyMap* policy); policy 130 components/policy/core/common/cloud/component_cloud_policy_store.h bool ParsePolicy(const std::string& data, PolicyMap* policy); policy 87 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc PolicyMap& policy = expected_bundle_.Get(ns); policy 88 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc policy.Set("Name", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 90 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc policy.Set("Second", POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER, policy 96 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc return store_->policy().begin() == store_->policy().end(); policy 101 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc return make_scoped_ptr(new em::PolicyFetchResponse(builder_.policy())); policy 189 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); policy 200 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(another_store.policy().Equals(empty_bundle)); policy 250 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); policy 258 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(another_store.policy().Equals(expected_bundle_)); policy 270 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); policy 291 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); policy 298 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); policy 303 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(another_store.policy().Equals(empty_bundle)); policy 307 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(another_store.policy().Equals(expected_bundle_)); policy 315 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy().Equals(empty_bundle)); policy 322 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(yet_another_store.policy().Equals(empty_bundle)); policy 25 components/policy/core/common/cloud/component_cloud_policy_updater.h namespace policy { policy 101 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc ASSERT_EQ(store_->policy().end(), store_->policy().begin()); policy 110 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc PolicyMap& policy = expected_bundle_.Get(ns); policy 111 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc policy.Set("Name", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 113 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc policy.Set("Second", POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER, policy 125 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc return make_scoped_ptr(new em::PolicyFetchResponse(builder_.policy())); policy 147 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); policy 296 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc EXPECT_TRUE(store_->policy().Equals(expected_bundle_)); policy 312 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc EXPECT_TRUE(store_->policy().Equals(empty_bundle)); policy 26 components/policy/core/common/cloud/device_management_service.h namespace policy { policy 10 components/policy/core/common/cloud/enterprise_metrics.h namespace policy { policy 31 components/policy/core/common/cloud/external_policy_data_fetcher.h namespace policy { policy 23 components/policy/core/common/cloud/external_policy_data_updater.h namespace policy { policy 22 components/policy/core/common/cloud/mock_cloud_external_data_manager.cc const std::string& policy) { policy 24 components/policy/core/common/cloud/mock_cloud_external_data_manager.cc policy)); policy 21 components/policy/core/common/cloud/mock_cloud_external_data_manager.h namespace policy { policy 37 components/policy/core/common/cloud/mock_cloud_external_data_manager.h const std::string& policy); policy 29 components/policy/core/common/cloud/mock_cloud_policy_client.cc const em::PolicyFetchResponse& policy) { policy 32 components/policy/core/common/cloud/mock_cloud_policy_client.cc response = new enterprise_management::PolicyFetchResponse(policy); policy 15 components/policy/core/common/cloud/mock_cloud_policy_client.h namespace policy { policy 37 components/policy/core/common/cloud/mock_cloud_policy_client.h const enterprise_management::PolicyFetchResponse& policy); policy 11 components/policy/core/common/cloud/mock_cloud_policy_store.h namespace policy { policy 15 components/policy/core/common/cloud/mock_device_management_service.h namespace policy { policy 11 components/policy/core/common/cloud/mock_user_cloud_policy_store.h namespace policy { policy 22 components/policy/core/common/cloud/policy_builder.h namespace policy { policy 55 components/policy/core/common/cloud/policy_builder.h enterprise_management::PolicyFetchResponse& policy() { policy 18 components/policy/core/common/cloud/policy_header_io_helper.h namespace policy { policy 54 components/policy/core/common/cloud/policy_header_service.cc !user_policy_store_->policy()->has_request_token()) { policy 64 components/policy/core/common/cloud/policy_header_service.cc std::string user_dm_token = user_policy_store_->policy()->request_token(); policy 67 components/policy/core/common/cloud/policy_header_service.cc if (user_policy_store_->policy()->has_policy_token()) { policy 69 components/policy/core/common/cloud/policy_header_service.cc user_policy_store_->policy()->policy_token()); policy 20 components/policy/core/common/cloud/policy_header_service.h namespace policy { policy 26 components/policy/core/common/cloud/policy_header_service_unittest.cc void SetPolicy(scoped_ptr<PolicyData> policy) { policy 27 components/policy/core/common/cloud/policy_header_service_unittest.cc policy_ = policy.Pass(); policy 100 components/policy/core/common/cloud/policy_header_service_unittest.cc scoped_ptr<PolicyData> policy(new PolicyData()); policy 103 components/policy/core/common/cloud/policy_header_service_unittest.cc policy->set_request_token(expected_dmtoken); policy 104 components/policy/core/common/cloud/policy_header_service_unittest.cc policy->set_policy_token(expected_policy_token); policy 105 components/policy/core/common/cloud/policy_header_service_unittest.cc user_store_.SetPolicy(policy.Pass()); policy 24 components/policy/core/common/cloud/rate_limiter.h namespace policy { policy 22 components/policy/core/common/cloud/resource_cache.h namespace policy { policy 17 components/policy/core/common/cloud/system_policy_request_context.h namespace policy { policy 28 components/policy/core/common/cloud/user_cloud_policy_manager.h namespace policy { policy 37 components/policy/core/common/cloud/user_cloud_policy_store.cc em::PolicyFetchResponse policy; policy 62 components/policy/core/common/cloud/user_cloud_policy_store.cc policy::PolicyLoadResult LoadPolicyFromDisk( policy 65 components/policy/core/common/cloud/user_cloud_policy_store.cc policy::PolicyLoadResult result; policy 70 components/policy/core/common/cloud/user_cloud_policy_store.cc result.status = policy::LOAD_RESULT_NO_POLICY_FILE; policy 76 components/policy/core/common/cloud/user_cloud_policy_store.cc !result.policy.ParseFromString(data)) { policy 79 components/policy/core/common/cloud/user_cloud_policy_store.cc result.status = policy::LOAD_RESULT_LOAD_ERROR; policy 99 components/policy/core/common/cloud/user_cloud_policy_store.cc result.status = policy::LOAD_RESULT_SUCCESS; policy 124 components/policy/core/common/cloud/user_cloud_policy_store.cc const em::PolicyFetchResponse& policy) { policy 127 components/policy/core/common/cloud/user_cloud_policy_store.cc if (!policy.SerializeToString(&data)) { policy 135 components/policy/core/common/cloud/user_cloud_policy_store.cc if (policy.has_new_public_key()) { policy 138 components/policy/core/common/cloud/user_cloud_policy_store.cc key_info.set_signing_key(policy.new_public_key()); policy 140 components/policy/core/common/cloud/user_cloud_policy_store.cc policy.new_public_key_verification_signature()); policy 238 components/policy/core/common/cloud/user_cloud_policy_store.cc new em::PolicyFetchResponse(result.policy)); policy 304 components/policy/core/common/cloud/user_cloud_policy_store.cc void UserCloudPolicyStore::Store(const em::PolicyFetchResponse& policy) { policy 309 components/policy/core/common/cloud/user_cloud_policy_store.cc new em::PolicyFetchResponse(policy)); policy 319 components/policy/core/common/cloud/user_cloud_policy_store.cc scoped_ptr<em::PolicyFetchResponse> policy, policy 325 components/policy/core/common/cloud/user_cloud_policy_store.cc const bool signed_policy = policy->has_policy_data_signature(); policy 329 components/policy/core/common/cloud/user_cloud_policy_store.cc policy.Pass(), policy 433 components/policy/core/common/cloud/user_cloud_policy_store.cc *validator->policy())); policy 437 components/policy/core/common/cloud/user_cloud_policy_store.cc if (validator->policy()->has_new_public_key()) policy 438 components/policy/core/common/cloud/user_cloud_policy_store.cc policy_key_ = validator->policy()->new_public_key(); policy 22 components/policy/core/common/cloud/user_cloud_policy_store.h namespace policy { policy 58 components/policy/core/common/cloud/user_cloud_policy_store.h const enterprise_management::PolicyFetchResponse& policy) OVERRIDE; policy 79 components/policy/core/common/cloud/user_cloud_policy_store.h scoped_ptr<enterprise_management::PolicyFetchResponse> policy, policy 16 components/policy/core/common/cloud/user_cloud_policy_store_base.cc void DecodePolicy(const enterprise_management::CloudPolicySettings& policy, policy 28 components/policy/core/common/cloud/user_cloud_policy_store_base.cc scoped_ptr<enterprise_management::PolicyFetchResponse> policy, policy 32 components/policy/core/common/cloud/user_cloud_policy_store_base.cc UserCloudPolicyValidator::Create(policy.Pass(), background_task_runner_); policy 22 components/policy/core/common/cloud/user_cloud_policy_store_base.h namespace policy { policy 36 components/policy/core/common/cloud/user_cloud_policy_store_base.h scoped_ptr<enterprise_management::PolicyFetchResponse> policy, policy 120 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc const enterprise_management::PolicyFetchResponse& policy) { policy 124 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy); policy 128 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(store_->policy()); policy 147 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 156 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 161 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 175 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 180 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 188 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 193 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 206 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 217 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(unsigned_builder.policy().has_policy_data_signature()); policy 221 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(unsigned_builder.policy().SerializeToString(&data)); policy 234 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(store_->policy()); policy 236 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->policy()->SerializeAsString()); policy 244 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 245 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(policy_.policy().new_public_key(), store_->policy_key()); policy 246 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(store_->policy()->has_public_key_version()); policy 251 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 256 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 260 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->policy()->SerializeAsString()); policy 266 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 271 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 287 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 293 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 298 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 299 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(policy_.policy().has_new_public_key_signature()); policy 300 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc std::string original_policy_key = policy_.policy().new_public_key(); policy 307 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_TRUE(policy_.policy().has_new_public_key_signature()); policy 308 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_NE(original_policy_key, policy_.policy().new_public_key()); policy 309 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 310 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_EQ(policy_.policy().new_public_key(), store_->policy_key()); policy 314 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 319 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 326 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(policy_.policy().has_new_public_key_signature()); policy 329 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy_.policy()); policy 334 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc EXPECT_FALSE(store_->policy()); policy 344 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(first_policy.policy()); policy 350 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_FALSE(policy_.policy().has_new_public_key()); policy 351 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 355 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->policy()->SerializeAsString()); policy 363 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 378 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(store2->policy()); policy 380 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store2->policy()->SerializeAsString()); policy 391 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 404 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(store2->policy()); policy 406 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store2->policy()->SerializeAsString()); policy 419 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy_.policy()); policy 421 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_FALSE(store_->policy()); policy 426 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc policy_.policy().mutable_policy_data_signature()->clear(); policy 430 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc store_->Store(policy_.policy()); policy 432 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_FALSE(store_->policy()); policy 437 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 452 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_FALSE(store2->policy()); policy 467 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(store3->policy()); policy 482 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_FALSE(store4->policy()); policy 489 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 490 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(store_->policy()->has_public_key_version()); policy 512 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_TRUE(store2->policy()); policy 513 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc ASSERT_FALSE(store2->policy()->has_public_key_version()); policy 519 components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc StorePolicyAndEnsureLoaded(policy_.policy()); policy 24 components/policy/core/common/cloud/user_info_fetcher.h namespace policy { policy 17 components/policy/core/common/cloud/user_policy_request_context.h namespace policy { policy 218 components/policy/core/common/config_dir_policy_loader.cc PolicyMap policy; policy 219 components/policy/core/common/config_dir_policy_loader.cc policy.LoadFrom(policy_dictionary, level, scope_); policy 221 components/policy/core/common/config_dir_policy_loader.cc .MergeFrom(policy); policy 18 components/policy/core/common/config_dir_policy_loader.h namespace policy { policy 17 components/policy/core/common/configuration_policy_provider.h namespace policy { policy 27 components/policy/core/common/configuration_policy_provider_test.h namespace policy { policy 14 components/policy/core/common/external_data_fetcher.cc const std::string& policy) policy 16 components/policy/core/common/external_data_fetcher.cc policy_(policy) { policy 15 components/policy/core/common/external_data_fetcher.h namespace policy { policy 28 components/policy/core/common/external_data_fetcher.h const std::string& policy); policy 13 components/policy/core/common/external_data_manager.h namespace policy { policy 30 components/policy/core/common/external_data_manager.h virtual void Fetch(const std::string& policy, policy 14 components/policy/core/common/forwarding_policy_provider.h namespace policy { policy 92 components/policy/core/common/forwarding_policy_provider_unittest.cc policy::POLICY_DOMAIN_EXTENSIONS)); policy 118 components/policy/core/common/forwarding_policy_provider_unittest.cc policy::POLICY_DOMAIN_EXTENSIONS)); policy 129 components/policy/core/common/forwarding_policy_provider_unittest.cc policy::POLICY_DOMAIN_EXTENSIONS)); policy 140 components/policy/core/common/forwarding_policy_provider_unittest.cc policy::POLICY_DOMAIN_EXTENSIONS)); policy 156 components/policy/core/common/forwarding_policy_provider_unittest.cc policy::POLICY_DOMAIN_EXTENSIONS)); policy 165 components/policy/core/common/forwarding_policy_provider_unittest.cc policy::POLICY_DOMAIN_EXTENSIONS)); policy 19 components/policy/core/common/mac_util.h namespace policy { policy 23 components/policy/core/common/mock_configuration_policy_provider.cc const PolicyMap& policy) { policy 26 components/policy/core/common/mock_configuration_policy_provider.cc .CopyFrom(policy); policy 14 components/policy/core/common/mock_configuration_policy_provider.h namespace policy { policy 34 components/policy/core/common/mock_configuration_policy_provider.h void UpdateChromePolicy(const PolicyMap& policy); policy 11 components/policy/core/common/mock_policy_service.h namespace policy { policy 20 components/policy/core/common/policy_bundle.cc PolicyMap*& policy = policy_bundle_[ns]; policy 21 components/policy/core/common/policy_bundle.cc if (!policy) policy 22 components/policy/core/common/policy_bundle.cc policy = new PolicyMap(); policy 23 components/policy/core/common/policy_bundle.cc return *policy; policy 63 components/policy/core/common/policy_bundle.cc PolicyMap*& policy = policy_bundle_[it_other->first]; policy 64 components/policy/core/common/policy_bundle.cc DCHECK(!policy); policy 65 components/policy/core/common/policy_bundle.cc policy = it_other->second->DeepCopy().release(); policy 74 components/policy/core/common/policy_bundle.cc PolicyMap*& policy = policy_bundle_[it_other->first]; policy 75 components/policy/core/common/policy_bundle.cc DCHECK(!policy); policy 76 components/policy/core/common/policy_bundle.cc policy = it_other->second->DeepCopy().release(); policy 16 components/policy/core/common/policy_bundle.h namespace policy { policy 29 components/policy/core/common/policy_bundle_unittest.cc void AddTestPolicies(PolicyMap* policy) { policy 30 components/policy/core/common/policy_bundle_unittest.cc policy->Set("mandatory-user", POLICY_LEVEL_MANDATORY, policy 32 components/policy/core/common/policy_bundle_unittest.cc policy->Set("mandatory-machine", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, policy 34 components/policy/core/common/policy_bundle_unittest.cc policy->Set("recommended-user", POLICY_LEVEL_RECOMMENDED, policy 40 components/policy/core/common/policy_bundle_unittest.cc policy->Set("recommended-machine", POLICY_LEVEL_RECOMMENDED, policy 48 components/policy/core/common/policy_bundle_unittest.cc void AddTestPoliciesWithParams(PolicyMap *policy, policy 53 components/policy/core/common/policy_bundle_unittest.cc policy->Set(kPolicyClashing0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 55 components/policy/core/common/policy_bundle_unittest.cc policy->Set(kPolicyClashing1, level, scope, policy 57 components/policy/core/common/policy_bundle_unittest.cc policy->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, policy 76 components/policy/core/common/policy_bundle_unittest.cc PolicyMap policy; policy 77 components/policy/core/common/policy_bundle_unittest.cc AddTestPolicies(&policy); policy 79 components/policy/core/common/policy_bundle_unittest.cc std::string())).Equals(policy)); policy 86 components/policy/core/common/policy_bundle_unittest.cc EXPECT_TRUE(it->second->Equals(policy)); policy 108 components/policy/core/common/policy_bundle_unittest.cc PolicyMap policy; policy 109 components/policy/core/common/policy_bundle_unittest.cc AddTestPolicies(&policy); policy 111 components/policy/core/common/policy_bundle_unittest.cc std::string())).Equals(policy)); policy 113 components/policy/core/common/policy_bundle_unittest.cc kExtension0)).Equals(policy)); policy 120 components/policy/core/common/policy_bundle_unittest.cc std::string())).Equals(policy)); policy 122 components/policy/core/common/policy_bundle_unittest.cc kExtension0)).Equals(policy)); policy 128 components/policy/core/common/policy_bundle_unittest.cc std::string())).Equals(policy)); policy 130 components/policy/core/common/policy_bundle_unittest.cc kExtension0)).Equals(policy)); policy 14 components/policy/core/common/policy_details.h namespace policy { policy 17 components/policy/core/common/policy_load_status.h namespace policy { policy 15 components/policy/core/common/policy_loader_ios.h namespace policy { policy 75 components/policy/core/common/policy_loader_mac.cc scoped_ptr<base::Value> policy = PropertyToValue(value); policy 76 components/policy/core/common/policy_loader_mac.cc if (policy) { policy 78 components/policy/core/common/policy_loader_mac.cc it.key(), level, POLICY_SCOPE_USER, policy.release(), NULL); policy 116 components/policy/core/common/policy_loader_mac.cc PolicyMap policy; policy 117 components/policy/core/common/policy_loader_mac.cc LoadPolicyForComponent(id_prefix + it->first, it->second, &policy); policy 118 components/policy/core/common/policy_loader_mac.cc if (!policy.empty()) policy 119 components/policy/core/common/policy_loader_mac.cc bundle->Get(PolicyNamespace(domain, it->first)).Swap(&policy); policy 126 components/policy/core/common/policy_loader_mac.cc PolicyMap* policy) { policy 151 components/policy/core/common/policy_loader_mac.cc policy->Set(it.key(), level, POLICY_SCOPE_USER, policy 23 components/policy/core/common/policy_loader_mac.h namespace policy { policy 58 components/policy/core/common/policy_loader_mac.h PolicyMap* policy); policy 121 components/policy/core/common/policy_loader_win.cc void FilterUntrustedPolicy(PolicyMap* policy) { policy 126 components/policy/core/common/policy_loader_win.cc policy->Get(policy::key::kExtensionInstallForcelist); policy 150 components/policy/core/common/policy_loader_win.cc policy->Set(policy::key::kExtensionInstallForcelist, policy 279 components/policy/core/common/policy_loader_win.cc PolicyMap* policy) { policy 290 components/policy/core/common/policy_loader_win.cc policy->LoadFrom(policy_dict, level, scope); policy 454 components/policy/core/common/policy_loader_win.cc RegistryDict* policy, policy 463 components/policy/core/common/policy_loader_win.cc return preg_parser::ReadFile(preg_file, chrome_policy_key_, policy, status); policy 469 components/policy/core/common/policy_loader_win.cc return preg_parser::ReadFile(preg_file, chrome_policy_key_, policy, policy 482 components/policy/core/common/policy_loader_win.cc RegistryDict* policy, policy 518 components/policy/core/common/policy_loader_win.cc policy->Swap(&parsed_policy); policy 524 components/policy/core/common/policy_loader_win.cc RegistryDict* policy, policy 538 components/policy/core/common/policy_loader_win.cc result = LoadGPOPolicy(scope, policy_object_list, policy, status); policy 552 components/policy/core/common/policy_loader_win.cc PolicyMap policy; policy 555 components/policy/core/common/policy_loader_win.cc ParsePolicy(gpo_dict, level, scope, *chrome_schema, &policy); policy 556 components/policy/core/common/policy_loader_win.cc FilterUntrustedPolicy(&policy); policy 557 components/policy/core/common/policy_loader_win.cc chrome_policy_map->MergeFrom(policy); policy 621 components/policy/core/common/policy_loader_win.cc PolicyMap policy; policy 622 components/policy/core/common/policy_loader_win.cc ParsePolicy(policy_dict, kLevels[j].level, scope, schema, &policy); policy 623 components/policy/core/common/policy_loader_win.cc bundle->Get(policy_namespace).MergeFrom(policy); policy 26 components/policy/core/common/policy_loader_win.h namespace policy { policy 72 components/policy/core/common/policy_loader_win.h RegistryDict* policy, policy 81 components/policy/core/common/policy_loader_win.h RegistryDict* policy, policy 88 components/policy/core/common/policy_loader_win.h RegistryDict* policy, policy 836 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue policy; policy 837 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("a", kMachineMandatory); policy 838 components/policy/core/common/policy_loader_win_unittest.cc EXPECT_TRUE(InstallValue(policy, HKEY_LOCAL_MACHINE, policy 840 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("a", kUserMandatory); policy 841 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("b", kUserMandatory); policy 842 components/policy/core/common/policy_loader_win_unittest.cc EXPECT_TRUE(InstallValue(policy, HKEY_CURRENT_USER, policy 844 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("a", kMachineRecommended); policy 845 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("b", kMachineRecommended); policy 846 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("c", kMachineRecommended); policy 847 components/policy/core/common/policy_loader_win_unittest.cc EXPECT_TRUE(InstallValue(policy, HKEY_LOCAL_MACHINE, policy 849 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("a", kUserRecommended); policy 850 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("b", kUserRecommended); policy 851 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("c", kUserRecommended); policy 852 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("d", kUserRecommended); policy 853 components/policy/core/common/policy_loader_win_unittest.cc EXPECT_TRUE(InstallValue(policy, HKEY_CURRENT_USER, policy 892 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue policy; policy 893 components/policy/core/common/policy_loader_win_unittest.cc policy.Set("null", base::Value::CreateNullValue()); policy 894 components/policy/core/common/policy_loader_win_unittest.cc policy.SetBoolean("bool", true); policy 895 components/policy/core/common/policy_loader_win_unittest.cc policy.SetInteger("int", -123); policy 896 components/policy/core/common/policy_loader_win_unittest.cc policy.SetDouble("double", 456.78e9); policy 898 components/policy/core/common/policy_loader_win_unittest.cc list.Append(policy.DeepCopy()); policy 899 components/policy/core/common/policy_loader_win_unittest.cc list.Append(policy.DeepCopy()); policy 900 components/policy/core/common/policy_loader_win_unittest.cc policy.Set("list", list.DeepCopy()); policy 903 components/policy/core/common/policy_loader_win_unittest.cc base::JSONWriter::Write(&policy, &encoded_dict); policy 905 components/policy/core/common/policy_loader_win_unittest.cc policy.Set("dict", policy.DeepCopy()); policy 923 components/policy/core/common/policy_loader_win_unittest.cc expected.Get(ns).LoadFrom(&policy, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER); policy 950 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue policy; policy 951 components/policy/core/common/policy_loader_win_unittest.cc policy.SetBoolean("bool", true); policy 952 components/policy/core/common/policy_loader_win_unittest.cc policy.SetInteger("int", 123); policy 953 components/policy/core/common/policy_loader_win_unittest.cc policy.SetDouble("double", 456.0); policy 955 components/policy/core/common/policy_loader_win_unittest.cc expected.Get(ns).LoadFrom(&policy, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER); policy 981 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue policy; policy 983 components/policy/core/common/policy_loader_win_unittest.cc policy.SetInteger("special-int1", 123); policy 984 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("special-int2", "-456"); policy 986 components/policy/core/common/policy_loader_win_unittest.cc policy.SetInteger("double1", 789.0); policy 987 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("double2", "123.456e7"); policy 988 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("invalid", "omg"); policy 990 components/policy/core/common/policy_loader_win_unittest.cc all_policies.Set("policy", policy.DeepCopy()); policy 1187 components/policy/core/common/policy_loader_win_unittest.cc base::DictionaryValue policy; policy 1188 components/policy/core/common/policy_loader_win_unittest.cc policy.Set("url_list", list.DeepCopy()); policy 1189 components/policy/core/common/policy_loader_win_unittest.cc policy.SetString("alternative_browser_path", "c:\\legacy\\browser.exe"); policy 1191 components/policy/core/common/policy_loader_win_unittest.cc root.Set(base::UTF16ToUTF8(kMandatory), policy.DeepCopy()); policy 63 components/policy/core/common/policy_map.cc const PolicyMap::Entry* PolicyMap::Get(const std::string& policy) const { policy 64 components/policy/core/common/policy_map.cc PolicyMapType::const_iterator entry = map_.find(policy); policy 68 components/policy/core/common/policy_map.cc const base::Value* PolicyMap::GetValue(const std::string& policy) const { policy 69 components/policy/core/common/policy_map.cc PolicyMapType::const_iterator entry = map_.find(policy); policy 73 components/policy/core/common/policy_map.cc void PolicyMap::Set(const std::string& policy, policy 78 components/policy/core/common/policy_map.cc Entry& entry = map_[policy]; policy 86 components/policy/core/common/policy_map.cc void PolicyMap::Erase(const std::string& policy) { policy 87 components/policy/core/common/policy_map.cc PolicyMapType::iterator it = map_.find(policy); policy 18 components/policy/core/common/policy_map.h namespace policy { policy 54 components/policy/core/common/policy_map.h const Entry* Get(const std::string& policy) const; policy 59 components/policy/core/common/policy_map.h const base::Value* GetValue(const std::string& policy) const; policy 63 components/policy/core/common/policy_map.h void Set(const std::string& policy, policy 70 components/policy/core/common/policy_map.h void Erase(const std::string& policy); policy 43 components/policy/core/common/policy_map_unittest.cc const std::string& policy) const; policy 47 components/policy/core/common/policy_map_unittest.cc const std::string& policy) const { policy 49 components/policy/core/common/policy_map_unittest.cc new ExternalDataFetcher(base::WeakPtr<ExternalDataManager>(), policy)); policy 13 components/policy/core/common/policy_namespace.h namespace policy { policy 10 components/policy/core/common/policy_pref_names.h namespace policy { policy 33 components/policy/core/common/policy_provider_android.cc void PolicyProviderAndroid::SetPolicies(scoped_ptr<PolicyBundle> policy) { policy 35 components/policy/core/common/policy_provider_android.cc UpdatePolicy(policy.Pass()); policy 12 components/policy/core/common/policy_provider_android.h namespace policy { policy 29 components/policy/core/common/policy_provider_android.h void SetPolicies(scoped_ptr<PolicyBundle> policy); policy 10 components/policy/core/common/policy_provider_android_delegate.h namespace policy { policy 17 components/policy/core/common/policy_service.h namespace policy { policy 22 components/policy/core/common/policy_service_impl.h namespace policy { policy 13 components/policy/core/common/policy_service_stub.h namespace policy { policy 23 components/policy/core/common/policy_statistics_collector.h namespace policy { policy 12 components/policy/core/common/policy_switches.h namespace policy { policy 34 components/policy/core/common/policy_test_utils.cc void PolicyDetailsMap::SetDetails(const std::string& policy, policy 36 components/policy/core/common/policy_test_utils.cc map_[policy] = details; policy 39 components/policy/core/common/policy_test_utils.cc const PolicyDetails* PolicyDetailsMap::Lookup(const std::string& policy) const { policy 40 components/policy/core/common/policy_test_utils.cc PolicyDetailsMapping::const_iterator it = map_.find(policy); policy 152 components/policy/core/common/policy_test_utils.cc const policy::PolicyBundle& bundle) { policy 154 components/policy/core/common/policy_test_utils.cc for (policy::PolicyBundle::const_iterator iter = bundle.begin(); policy 162 components/policy/core/common/policy_test_utils.cc std::ostream& operator<<(std::ostream& os, policy::PolicyScope scope) { policy 164 components/policy/core/common/policy_test_utils.cc case policy::POLICY_SCOPE_USER: { policy 168 components/policy/core/common/policy_test_utils.cc case policy::POLICY_SCOPE_MACHINE: { policy 179 components/policy/core/common/policy_test_utils.cc std::ostream& operator<<(std::ostream& os, policy::PolicyLevel level) { policy 181 components/policy/core/common/policy_test_utils.cc case policy::POLICY_LEVEL_RECOMMENDED: { policy 185 components/policy/core/common/policy_test_utils.cc case policy::POLICY_LEVEL_MANDATORY: { policy 196 components/policy/core/common/policy_test_utils.cc std::ostream& operator<<(std::ostream& os, policy::PolicyDomain domain) { policy 198 components/policy/core/common/policy_test_utils.cc case policy::POLICY_DOMAIN_CHROME: { policy 202 components/policy/core/common/policy_test_utils.cc case policy::POLICY_DOMAIN_EXTENSIONS: { policy 213 components/policy/core/common/policy_test_utils.cc std::ostream& operator<<(std::ostream& os, const policy::PolicyMap& policies) { policy 215 components/policy/core/common/policy_test_utils.cc for (policy::PolicyMap::const_iterator iter = policies.begin(); policy 223 components/policy/core/common/policy_test_utils.cc std::ostream& operator<<(std::ostream& os, const policy::PolicyMap::Entry& e) { policy 236 components/policy/core/common/policy_test_utils.cc std::ostream& operator<<(std::ostream& os, const policy::PolicyNamespace& ns) { policy 18 components/policy/core/common/policy_test_utils.h namespace policy { policy 34 components/policy/core/common/policy_test_utils.h void SetDetails(const std::string& policy, const PolicyDetails* details); policy 39 components/policy/core/common/policy_test_utils.h const PolicyDetails* Lookup(const std::string& policy) const; policy 60 components/policy/core/common/policy_test_utils.h std::ostream& operator<<(std::ostream& os, const policy::PolicyBundle& bundle); policy 61 components/policy/core/common/policy_test_utils.h std::ostream& operator<<(std::ostream& os, policy::PolicyScope scope); policy 62 components/policy/core/common/policy_test_utils.h std::ostream& operator<<(std::ostream& os, policy::PolicyLevel level); policy 63 components/policy/core/common/policy_test_utils.h std::ostream& operator<<(std::ostream& os, policy::PolicyDomain domain); policy 64 components/policy/core/common/policy_test_utils.h std::ostream& operator<<(std::ostream& os, const policy::PolicyMap& policies); policy 65 components/policy/core/common/policy_test_utils.h std::ostream& operator<<(std::ostream& os, const policy::PolicyMap::Entry& e); policy 66 components/policy/core/common/policy_test_utils.h std::ostream& operator<<(std::ostream& os, const policy::PolicyNamespace& ns); policy 8 components/policy/core/common/policy_types.h namespace policy { policy 23 components/policy/core/common/preg_parser_win.h namespace policy { policy 12 components/policy/core/common/proxy_policy_provider.h namespace policy { policy 22 components/policy/core/common/registry_dict_win.h namespace policy { policy 15 components/policy/core/common/schema.h namespace policy { policy 11 components/policy/core/common/schema_internal.h namespace policy { policy 17 components/policy/core/common/schema_map.h namespace policy { policy 20 components/policy/core/common/schema_registry.h namespace policy { policy 958 components/policy/core/common/schema_unittest.cc Schema policy = schema.GetKnownProperty("policy"); policy 959 components/policy/core/common/schema_unittest.cc ASSERT_TRUE(policy.valid()); policy 960 components/policy/core/common/schema_unittest.cc ASSERT_EQ(base::Value::TYPE_DICTIONARY, policy.type()); policy 962 components/policy/core/common/schema_unittest.cc Schema foo = policy.GetKnownProperty("foo"); policy 966 components/policy/core/common/schema_unittest.cc Schema additional = policy.GetAdditionalProperties(); policy 970 components/policy/core/common/schema_unittest.cc Schema x = policy.GetProperty("x"); policy 258 components/sessions/serialized_navigation_entry.cc pickle->WriteInt(referrer_.policy); policy 302 components/sessions/serialized_navigation_entry.cc blink::WebReferrerPolicy policy; policy 304 components/sessions/serialized_navigation_entry.cc policy = static_cast<blink::WebReferrerPolicy>(policy_int); policy 306 components/sessions/serialized_navigation_entry.cc policy = blink::WebReferrerPolicyDefault; policy 307 components/sessions/serialized_navigation_entry.cc referrer_ = content::Referrer(GURL(referrer_spec), policy); policy 380 components/sessions/serialized_navigation_entry.cc sync_data.set_referrer_policy(referrer_.policy); policy 508 components/sessions/serialized_navigation_entry.cc switch (referrer_.policy) { policy 520 components/sessions/serialized_navigation_entry.cc referrer_.policy = blink::WebReferrerPolicyDefault; policy 526 components/sessions/serialized_navigation_entry.cc referrer_.policy != old_referrer.policy) { policy 21 components/sessions/serialized_navigation_entry_test_helper.cc EXPECT_EQ(expected.referrer_.policy, actual.referrer_.policy); policy 103 components/sessions/serialized_navigation_entry_unittest.cc EXPECT_EQ(blink::WebReferrerPolicyDefault, navigation.referrer().policy); policy 131 components/sessions/serialized_navigation_entry_unittest.cc EXPECT_EQ(kReferrer.policy, navigation.referrer().policy); policy 157 components/sessions/serialized_navigation_entry_unittest.cc EXPECT_EQ(blink::WebReferrerPolicyOrigin, navigation.referrer().policy); policy 191 components/sessions/serialized_navigation_entry_unittest.cc EXPECT_EQ(kReferrer.policy, new_navigation.referrer().policy); policy 221 components/sessions/serialized_navigation_entry_unittest.cc EXPECT_EQ(kReferrer.policy, new_navigation_entry->GetReferrer().policy); policy 315 components/sessions/serialized_navigation_entry_unittest.cc EXPECT_EQ(blink::WebReferrerPolicyDefault, navigation.referrer().policy); policy 275 components/signin/core/browser/signin_manager.cc const std::string& policy) { policy 276 components/signin/core/browser/signin_manager.cc if (policy.empty()) policy 283 components/signin/core/browser/signin_manager.cc base::string16 pattern = base::UTF8ToUTF16(policy); policy 70 components/signin/core/browser/signin_manager.h const std::string& policy); policy 139 content/browser/android/in_process/synchronous_compositor_impl.cc const SynchronousCompositorMemoryPolicy& policy) { policy 143 content/browser/android/in_process/synchronous_compositor_impl.cc return output_surface_->SetMemoryPolicy(policy); policy 62 content/browser/android/in_process/synchronous_compositor_impl.h const SynchronousCompositorMemoryPolicy& policy) OVERRIDE; policy 271 content/browser/android/in_process/synchronous_compositor_output_surface.cc const SynchronousCompositorMemoryPolicy& policy) { policy 273 content/browser/android/in_process/synchronous_compositor_output_surface.cc memory_policy_.bytes_limit_when_visible = policy.bytes_limit; policy 274 content/browser/android/in_process/synchronous_compositor_output_surface.cc memory_policy_.num_resources_limit = policy.num_resources_limit; policy 76 content/browser/android/in_process/synchronous_compositor_output_surface.h void SetMemoryPolicy(const SynchronousCompositorMemoryPolicy& policy); policy 879 content/browser/child_process_security_policy_impl.cc int policy) { policy 881 content/browser/child_process_security_policy_impl.cc file_system_policy_map_[type] = policy; policy 187 content/browser/child_process_security_policy_impl.h int policy); policy 124 content/browser/fileapi/browser_file_system_helper.cc ChildProcessSecurityPolicyImpl* policy = policy 126 content/browser/fileapi/browser_file_system_helper.cc if (!policy->CanReadFileSystemFile(process_id, url)) policy 134 content/browser/fileapi/browser_file_system_helper.cc if (!policy->CanReadFile(process_id, *platform_path)) policy 135 content/browser/fileapi/browser_file_system_helper.cc policy->GrantReadFile(process_id, *platform_path); policy 479 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_EQ(load_params.referrer.policy, entry->GetReferrer().policy); policy 206 content/browser/gpu/gpu_process_host.cc virtual void PreSpawnTarget(sandbox::TargetPolicy* policy, policy 212 content/browser/gpu/gpu_process_host.cc policy->SetTokenLevel(sandbox::USER_RESTRICTED_SAME_ACCESS, policy 214 content/browser/gpu/gpu_process_host.cc SetJobLevel(*cmd_line_, sandbox::JOB_UNPROTECTED, 0, policy); policy 215 content/browser/gpu/gpu_process_host.cc policy->SetDelayedIntegrityLevel(sandbox::INTEGRITY_LEVEL_LOW); policy 217 content/browser/gpu/gpu_process_host.cc policy->SetTokenLevel(sandbox::USER_RESTRICTED_SAME_ACCESS, policy 232 content/browser/gpu/gpu_process_host.cc policy); policy 234 content/browser/gpu/gpu_process_host.cc policy->SetIntegrityLevel(sandbox::INTEGRITY_LEVEL_LOW); policy 237 content/browser/gpu/gpu_process_host.cc SetJobLevel(*cmd_line_, sandbox::JOB_UNPROTECTED, 0, policy); policy 238 content/browser/gpu/gpu_process_host.cc policy->SetTokenLevel(sandbox::USER_UNPROTECTED, policy 244 content/browser/gpu/gpu_process_host.cc sandbox::ResultCode result = policy->AddRule( policy 254 content/browser/gpu/gpu_process_host.cc policy->AddDllToUnload(L"cmsetac.dll"); policy 259 content/browser/gpu/gpu_process_host.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES, policy 271 content/browser/gpu/gpu_process_host.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, policy 183 content/browser/loader/resource_dispatcher_host_impl.cc switch (referrer.policy) { policy 208 content/browser/loader/resource_dispatcher_host_impl.cc ChildProcessSecurityPolicyImpl* policy = policy 212 content/browser/loader/resource_dispatcher_host_impl.cc if (!policy->CanRequestURL(child_id, request_data.url)) { policy 225 content/browser/loader/resource_dispatcher_host_impl.cc !policy->CanReadFile(child_id, iter->path())) { policy 233 content/browser/loader/resource_dispatcher_host_impl.cc if (!policy->CanReadFileSystemFile(child_id, url)) { policy 2024 content/browser/loader/resource_dispatcher_host_impl.cc ChildProcessSecurityPolicyImpl* policy = policy 2026 content/browser/loader/resource_dispatcher_host_impl.cc if (!policy->CanSendCookiesForOrigin(child_id, request_data.url)) { policy 2035 content/browser/loader/resource_dispatcher_host_impl.cc && !policy->CanReadRawCookies(child_id)) { policy 711 content/browser/loader/resource_dispatcher_host_unittest.cc ChildProcessSecurityPolicyImpl* policy = policy 713 content/browser/loader/resource_dispatcher_host_unittest.cc if (!policy->IsWebSafeScheme(scheme)) policy 714 content/browser/loader/resource_dispatcher_host_unittest.cc policy->RegisterWebSafeScheme(scheme); policy 315 content/browser/loader/resource_loader.cc ChildProcessSecurityPolicyImpl* policy = policy 317 content/browser/loader/resource_loader.cc if (!policy->CanLoadPage(info->GetChildID(), policy 159 content/browser/media/android/media_resource_getter_impl.cc ChildProcessSecurityPolicyImpl* policy = policy 161 content/browser/media/android/media_resource_getter_impl.cc if (!policy->CanAccessCookiesForOrigin(renderer_id_, url)) { policy 174 content/browser/media/webrtc_identity_store.cc quota::SpecialStoragePolicy* policy) policy 177 content/browser/media/webrtc_identity_store.cc backend_(new WebRTCIdentityStoreBackend(path, policy, validity_period_)) { policy 46 content/browser/media/webrtc_identity_store.h quota::SpecialStoragePolicy* policy); policy 112 content/browser/media/webrtc_identity_store_backend.cc quota::SpecialStoragePolicy* policy) policy 113 content/browser/media/webrtc_identity_store_backend.cc : validity_period_(validity_period), special_storage_policy_(policy) { policy 179 content/browser/media/webrtc_identity_store_backend.cc quota::SpecialStoragePolicy* policy, policy 183 content/browser/media/webrtc_identity_store_backend.cc sql_lite_storage_(new SqlLiteStorage(validity_period, path, policy)) {} policy 41 content/browser/media/webrtc_identity_store_backend.h quota::SpecialStoragePolicy* policy, policy 58 content/browser/ppapi_plugin_process_host.cc virtual void PreSpawnTarget(sandbox::TargetPolicy* policy, policy 65 content/browser/ppapi_plugin_process_host.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_NAMED_PIPES, policy 52 content/browser/renderer_host/media/webrtc_identity_service_host.cc ChildProcessSecurityPolicyImpl* policy = policy 54 content/browser/renderer_host/media/webrtc_identity_service_host.cc if (!policy->CanAccessCookiesForOrigin(renderer_process_id_, origin)) { policy 65 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc ChildProcessSecurityPolicyImpl* policy = policy 67 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc policy->Add(FAKE_RENDERER_ID); policy 90 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc ChildProcessSecurityPolicyImpl* policy = policy 92 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc policy->Remove(FAKE_RENDERER_ID); policy 183 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc ChildProcessSecurityPolicyImpl* policy = policy 185 content/browser/renderer_host/media/webrtc_identity_service_host_unittest.cc policy->Remove(FAKE_RENDERER_ID); policy 298 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc ChildProcessSecurityPolicyImpl* policy = policy 300 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc if (!policy->CanReadFileSystemFile(render_process_id_, url) || policy 301 content/browser/renderer_host/pepper/pepper_internal_file_ref_backend.cc !policy->CanWriteFileSystemFile(render_process_id_, url)) { policy 25 content/browser/renderer_host/pepper/pepper_security_helper.cc ChildProcessSecurityPolicyImpl* policy = policy 35 content/browser/renderer_host/pepper/pepper_security_helper.cc if (pp_read && !(policy->*can_read)(child_id, file)) policy 38 content/browser/renderer_host/pepper/pepper_security_helper.cc if (pp_write && !(policy->*can_write)(child_id, file)) policy 42 content/browser/renderer_host/pepper/pepper_security_helper.cc if (pp_append && !(policy->*can_create_read_write)(child_id, file)) policy 50 content/browser/renderer_host/pepper/pepper_security_helper.cc return (policy->*can_create)(child_id, file); policy 53 content/browser/renderer_host/pepper/pepper_security_helper.cc return (policy->*can_create_read_write)(child_id, file); policy 56 content/browser/renderer_host/pepper/pepper_security_helper.cc return (policy->*can_create_read_write)(child_id, file); policy 591 content/browser/renderer_host/render_message_filter.cc ChildProcessSecurityPolicyImpl* policy = policy 593 content/browser/renderer_host/render_message_filter.cc if (!policy->CanAccessCookiesForOrigin(render_process_id_, url)) policy 611 content/browser/renderer_host/render_message_filter.cc ChildProcessSecurityPolicyImpl* policy = policy 613 content/browser/renderer_host/render_message_filter.cc if (!policy->CanAccessCookiesForOrigin(render_process_id_, url)) { policy 635 content/browser/renderer_host/render_message_filter.cc ChildProcessSecurityPolicyImpl* policy = policy 641 content/browser/renderer_host/render_message_filter.cc if (!policy->CanReadRawCookies(render_process_id_) || policy 642 content/browser/renderer_host/render_message_filter.cc !policy->CanAccessCookiesForOrigin(render_process_id_, url)) { policy 658 content/browser/renderer_host/render_message_filter.cc ChildProcessSecurityPolicyImpl* policy = policy 660 content/browser/renderer_host/render_message_filter.cc if (!policy->CanAccessCookiesForOrigin(render_process_id_, url)) policy 305 content/browser/renderer_host/render_process_host_impl.cc virtual void PreSpawnTarget(sandbox::TargetPolicy* policy, policy 307 content/browser/renderer_host/render_process_host_impl.cc AddBaseHandleClosePolicy(policy); policy 308 content/browser/renderer_host/render_process_host_impl.cc GetContentClient()->browser()->PreSpawnRenderer(policy, success); policy 1643 content/browser/renderer_host/render_process_host_impl.cc ChildProcessSecurityPolicyImpl* policy = policy 1674 content/browser/renderer_host/render_process_host_impl.cc !(url->is_valid() && policy->IsWebSafeScheme(url->scheme())); policy 1676 content/browser/renderer_host/render_process_host_impl.cc if (non_web_url_in_guest || !policy->CanRequestURL(rph->GetID(), *url)) { policy 744 content/browser/renderer_host/render_view_host_impl.cc ChildProcessSecurityPolicyImpl* policy = policy 777 content/browser/renderer_host/render_view_host_impl.cc policy->GrantRequestSpecificFileURL(renderer_id, policy 786 content/browser/renderer_host/render_view_host_impl.cc if (!policy->CanReadFile(renderer_id, iter->path)) policy 787 content/browser/renderer_host/render_view_host_impl.cc policy->GrantReadFile(renderer_id, iter->path); policy 797 content/browser/renderer_host/render_view_host_impl.cc policy->GrantReadFileSystem(renderer_id, filesystem_id); policy 1420 content/browser/renderer_host/render_view_host_impl.cc ChildProcessSecurityPolicyImpl* policy = policy 1440 content/browser/renderer_host/render_view_host_impl.cc if (policy->CanReadFile(GetProcess()->GetID(), it->path)) policy 1843 content/browser/renderer_host/render_view_host_impl.cc ChildProcessSecurityPolicyImpl* policy = policy 1849 content/browser/renderer_host/render_view_host_impl.cc if (!policy->CanReadFile(GetProcess()->GetID(), *file)) policy 200 content/browser/renderer_host/render_view_host_unittest.cc ChildProcessSecurityPolicyImpl* policy = policy 203 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_FALSE(policy->CanRequestURL(id, highlighted_file_url)); policy 204 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_FALSE(policy->CanReadFile(id, highlighted_file_path)); policy 205 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_TRUE(policy->CanRequestURL(id, dragged_file_url)); policy 206 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_TRUE(policy->CanReadFile(id, dragged_file_path)); policy 207 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_FALSE(policy->CanRequestURL(id, sensitive_file_url)); policy 208 content/browser/renderer_host/render_view_host_unittest.cc EXPECT_FALSE(policy->CanReadFile(id, sensitive_file_path)); policy 88 content/browser/renderer_host/websocket_dispatcher_host.cc ChildProcessSecurityPolicyImpl* policy = policy 90 content/browser/renderer_host/websocket_dispatcher_host.cc return policy->CanReadRawCookies(process_id_); policy 326 content/browser/site_instance_impl.cc ChildProcessSecurityPolicyImpl* policy = policy 328 content/browser/site_instance_impl.cc policy->LockToOrigin(process_->GetID(), site_); policy 560 content/browser/site_instance_impl_unittest.cc ChildProcessSecurityPolicyImpl* policy = policy 587 content/browser/site_instance_impl_unittest.cc policy->GrantWebUIBindings(webui1_instance->GetProcess()->GetID()); policy 46 content/browser/ssl/ssl_cert_error_handler.cc manager_->policy()->OnCertError(this); policy 161 content/browser/ssl/ssl_manager.cc policy()->DidRunInsecureContent(navigation_entry, security_origin); policy 180 content/browser/ssl/ssl_manager.cc policy()->OnRequestStarted(info.get()); policy 195 content/browser/ssl/ssl_manager.cc policy()->OnRequestStarted(info.get()); policy 217 content/browser/ssl/ssl_manager.cc policy()->UpdateEntry(entry, contents); policy 69 content/browser/ssl/ssl_manager.h SSLPolicy* policy() { return policy_.get(); } policy 2437 content/browser/web_contents/web_contents_impl.cc ChildProcessSecurityPolicyImpl* policy = policy 2439 content/browser/web_contents/web_contents_impl.cc if (policy->CanReadFile(GetRenderProcessHost()->GetID(), path)) policy 2450 content/browser/web_contents/web_contents_impl.cc ChildProcessSecurityPolicyImpl* policy = policy 2452 content/browser/web_contents/web_contents_impl.cc if (policy->IsPseudoScheme(protocol)) policy 82 content/browser/worker_host/worker_process_host.cc virtual void PreSpawnTarget(sandbox::TargetPolicy* policy, policy 84 content/browser/worker_host/worker_process_host.cc AddBaseHandleClosePolicy(policy); policy 31 content/common/sandbox_init_win.cc sandbox::TargetPolicy* policy = broker_services->CreatePolicy(); policy 32 content/common/sandbox_init_win.cc sandbox::ResultCode result = policy->CreateAlternateDesktop(use_winsta); policy 34 content/common/sandbox_init_win.cc policy->Release(); policy 13 content/common/sandbox_linux/sandbox_init_linux.cc bool InitializeSandbox(scoped_ptr<sandbox::SandboxBPFPolicy> policy) { policy 14 content/common/sandbox_linux/sandbox_init_linux.cc return SandboxSeccompBPF::StartSandboxWithExternalPolicy(policy.Pass()); policy 56 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc void StartSandboxWithPolicy(sandbox::SandboxBPFPolicy* policy); policy 154 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc void StartSandboxWithPolicy(sandbox::SandboxBPFPolicy* policy) { policy 161 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc sandbox.SetSandboxPolicy(policy); policy 187 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc scoped_ptr<SandboxBPFBasePolicy> policy; policy 190 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc policy.reset(GetGpuProcessSandbox().release()); policy 193 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc policy.reset(new RendererProcessPolicy); policy 195 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc policy.reset(new PpapiProcessPolicy); policy 197 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc policy.reset(new BlacklistDebugAndNumaPolicy); policy 200 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc policy.reset(new AllowAllPolicy); policy 203 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc CHECK(policy->PreSandboxHook()); policy 204 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc StartSandboxWithPolicy(policy.release()); policy 283 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc scoped_ptr<sandbox::SandboxBPFPolicy> policy) { policy 286 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc CHECK(policy); policy 287 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc StartSandboxWithPolicy(policy.release()); policy 42 content/common/sandbox_linux/sandbox_seccomp_bpf_linux.h scoped_ptr<sandbox::SandboxBPFPolicy> policy); policy 114 content/common/sandbox_win.cc sandbox::TargetPolicy* policy) { policy 123 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, access, policy 133 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, access, policy 145 content/common/sandbox_win.cc sandbox::TargetPolicy* policy) { policy 147 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_REGISTRY, access, policy 153 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_REGISTRY, access, policy 180 content/common/sandbox_win.cc sandbox::TargetPolicy* policy) { policy 206 content/common/sandbox_win.cc policy->AddDllToUnload(alt_name.c_str()); policy 209 content/common/sandbox_win.cc policy->AddDllToUnload(module_name); policy 217 content/common/sandbox_win.cc void AddGenericDllEvictionPolicy(sandbox::TargetPolicy* policy) { policy 219 content/common/sandbox_win.cc BlacklistAddOneDll(kTroublesomeDlls[ix], true, policy); policy 274 content/common/sandbox_win.cc bool AddGenericPolicy(sandbox::TargetPolicy* policy) { policy 279 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES, policy 288 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, policy 298 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_NAMED_PIPES, policy 306 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_NAMED_PIPES, policy 327 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_PROCESS, policy 334 content/common/sandbox_win.cc AddGenericDllEvictionPolicy(policy); policy 339 content/common/sandbox_win.cc bool AddPolicyForSandboxedProcess(sandbox::TargetPolicy* policy) { policy 342 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_HANDLES, policy 355 content/common/sandbox_win.cc policy->SetTokenLevel(initial_token, sandbox::USER_LOCKDOWN); policy 357 content/common/sandbox_win.cc policy->SetDelayedIntegrityLevel(sandbox::INTEGRITY_LEVEL_UNTRUSTED); policy 362 content/common/sandbox_win.cc if (sandbox::SBOX_ALL_OK != policy->SetAlternateDesktop(use_winsta)) { policy 511 content/common/sandbox_win.cc sandbox::TargetPolicy* policy) { policy 513 content/common/sandbox_win.cc policy->SetJobLevel(job_level, ui_exceptions); policy 515 content/common/sandbox_win.cc policy->SetJobLevel(sandbox::JOB_NONE, 0); policy 520 content/common/sandbox_win.cc void AddBaseHandleClosePolicy(sandbox::TargetPolicy* policy) { policy 524 content/common/sandbox_win.cc policy->AddKernelObjectToClose(L"Section", object_path.data()); policy 623 content/common/sandbox_win.cc sandbox::TargetPolicy* policy = g_broker_services->CreatePolicy(); policy 631 content/common/sandbox_win.cc if (policy->SetProcessMitigations(mitigations) != sandbox::SBOX_ALL_OK) policy 637 content/common/sandbox_win.cc if (policy->SetDelayedProcessMitigations(mitigations) != sandbox::SBOX_ALL_OK) policy 640 content/common/sandbox_win.cc SetJobLevel(*cmd_line, sandbox::JOB_LOCKDOWN, 0, policy); policy 647 content/common/sandbox_win.cc if (!disable_default_policy && !AddPolicyForSandboxedProcess(policy)) policy 656 content/common/sandbox_win.cc policy); policy 667 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, policy 674 content/common/sandbox_win.cc result = policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, policy 681 content/common/sandbox_win.cc if (!AddGenericPolicy(policy)) { policy 689 content/common/sandbox_win.cc policy->SetStdoutHandle(GetStdHandle(STD_OUTPUT_HANDLE)); policy 690 content/common/sandbox_win.cc policy->SetStderrHandle(GetStdHandle(STD_ERROR_HANDLE)); policy 695 content/common/sandbox_win.cc delegate->PreSpawnTarget(policy, &success); policy 706 content/common/sandbox_win.cc policy, &temp_process_info); policy 707 content/common/sandbox_win.cc policy->Release(); policy 27 content/common/sandbox_win.h sandbox::TargetPolicy* policy); policy 30 content/common/sandbox_win.h void AddBaseHandleClosePolicy(sandbox::TargetPolicy* policy); policy 15 content/public/android/java/src/org/chromium/content_public/Referrer.java public Referrer(String url, int policy) { policy 17 content/public/android/java/src/org/chromium/content_public/Referrer.java mPolicy = policy; policy 87 content/public/browser/android/synchronous_compositor.h const SynchronousCompositorMemoryPolicy& policy) = 0; policy 630 content/public/browser/content_browser_client.h virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, policy 58 content/public/common/common_param_traits_macros.h IPC_STRUCT_TRAITS_MEMBER(policy) policy 18 content/public/common/referrer.h Referrer(const GURL& url, blink::WebReferrerPolicy policy) : url(url), policy 19 content/public/common/referrer.h policy(policy) { policy 21 content/public/common/referrer.h Referrer() : policy(blink::WebReferrerPolicyDefault) { policy 25 content/public/common/referrer.h blink::WebReferrerPolicy policy; policy 89 content/public/common/sandbox_init.h scoped_ptr<sandbox::SandboxBPFPolicy> policy); policy 49 content/public/common/sandboxed_process_launcher_delegate.h virtual void PreSpawnTarget(sandbox::TargetPolicy* policy, policy 84 content/public/renderer/render_frame.h blink::WebNavigationPolicy policy) = 0; policy 56 content/public/test/test_browser_context.cc quota::SpecialStoragePolicy* policy) { policy 57 content/public/test/test_browser_context.cc special_storage_policy_ = policy; policy 28 content/public/test/test_browser_context.h void SetSpecialStoragePolicy(quota::SpecialStoragePolicy* policy); policy 736 content/renderer/render_frame_impl.cc params.referrer.policy, policy 740 content/renderer/render_frame_impl.cc request.setHTTPReferrer(referrer, params.referrer.policy); policy 1162 content/renderer/render_frame_impl.cc blink::WebNavigationPolicy policy) { policy 1164 content/renderer/render_frame_impl.cc loadURLExternally(frame, request, policy); policy 1451 content/renderer/render_frame_impl.cc blink::WebNavigationPolicy policy) { policy 1453 content/renderer/render_frame_impl.cc loadURLExternally(frame, request, policy, WebString()); policy 1459 content/renderer/render_frame_impl.cc blink::WebNavigationPolicy policy, policy 1463 content/renderer/render_frame_impl.cc if (policy == blink::WebNavigationPolicyDownload) { policy 1468 content/renderer/render_frame_impl.cc OpenURL(frame, request.url(), referrer, policy); policy 2987 content/renderer/render_frame_impl.cc WebNavigationPolicy policy) { policy 2993 content/renderer/render_frame_impl.cc params.disposition = RenderViewImpl::NavigationPolicyToDisposition(policy); policy 3016 content/renderer/render_frame_impl.cc if (policy == blink::WebNavigationPolicyNewBackgroundTab || policy 3017 content/renderer/render_frame_impl.cc policy == blink::WebNavigationPolicyNewForegroundTab || policy 3018 content/renderer/render_frame_impl.cc policy == blink::WebNavigationPolicyNewWindow || policy 3019 content/renderer/render_frame_impl.cc policy == blink::WebNavigationPolicyNewPopup) { policy 188 content/renderer/render_frame_impl.h blink::WebNavigationPolicy policy) OVERRIDE; policy 231 content/renderer/render_frame_impl.h blink::WebNavigationPolicy policy); policy 234 content/renderer/render_frame_impl.h blink::WebNavigationPolicy policy, policy 432 content/renderer/render_frame_impl.h blink::WebNavigationPolicy policy); policy 391 content/renderer/render_view_browsertest.cc blink::WebNavigationPolicy policy = frame()->decidePolicyForNavigation( policy 398 content/renderer/render_view_browsertest.cc EXPECT_EQ(blink::WebNavigationPolicyCurrentTab, policy); policy 403 content/renderer/render_view_browsertest.cc policy = frame()->decidePolicyForNavigation( policy 410 content/renderer/render_view_browsertest.cc EXPECT_EQ(blink::WebNavigationPolicyIgnore, policy); policy 414 content/renderer/render_view_browsertest.cc policy = frame()->decidePolicyForNavigation( policy 421 content/renderer/render_view_browsertest.cc EXPECT_EQ(blink::WebNavigationPolicyIgnore, policy); policy 443 content/renderer/render_view_browsertest.cc blink::WebNavigationPolicy policy = frame()->decidePolicyForNavigation( policy 450 content/renderer/render_view_browsertest.cc EXPECT_EQ(blink::WebNavigationPolicyIgnore, policy); policy 463 content/renderer/render_view_browsertest.cc blink::WebNavigationPolicy policy = frame()->decidePolicyForNavigation( policy 470 content/renderer/render_view_browsertest.cc EXPECT_EQ(blink::WebNavigationPolicyIgnore, policy); policy 474 content/renderer/render_view_browsertest.cc policy = frame()->decidePolicyForNavigation( policy 481 content/renderer/render_view_browsertest.cc EXPECT_EQ(blink::WebNavigationPolicyIgnore, policy); policy 486 content/renderer/render_view_browsertest.cc policy = frame()->decidePolicyForNavigation( policy 493 content/renderer/render_view_browsertest.cc EXPECT_EQ(blink::WebNavigationPolicyIgnore, policy); policy 503 content/renderer/render_view_browsertest.cc policy = static_cast<RenderFrameImpl*>(new_view->GetMainRenderFrame())-> policy 511 content/renderer/render_view_browsertest.cc EXPECT_EQ(blink::WebNavigationPolicyIgnore, policy); policy 382 content/renderer/render_view_impl.cc WebNavigationPolicy policy) { policy 383 content/renderer/render_view_impl.cc switch (policy) { policy 1477 content/renderer/render_view_impl.cc WebNavigationPolicy policy, policy 1497 content/renderer/render_view_impl.cc params.disposition = NavigationPolicyToDisposition(policy); policy 2020 content/renderer/render_view_impl.cc void RenderViewImpl::show(WebNavigationPolicy policy) { policy 2037 content/renderer/render_view_impl.cc if (policy != blink::WebNavigationPolicyNewBackgroundTab) policy 2038 content/renderer/render_view_impl.cc policy = blink::WebNavigationPolicyNewPopup; policy 2045 content/renderer/render_view_impl.cc NavigationPolicyToDisposition(policy), initial_pos_, policy 398 content/renderer/render_view_impl.h virtual void show(blink::WebNavigationPolicy policy); policy 421 content/renderer/render_view_impl.h blink::WebNavigationPolicy policy, policy 803 content/renderer/render_view_impl.h blink::WebNavigationPolicy policy); policy 72 content/shell/browser/shell_message_filter.cc ChildProcessSecurityPolicy* policy = policy 76 content/shell/browser/shell_message_filter.cc if (!policy->CanReadFile(render_process_id_, absolute_filenames[i])) policy 77 content/shell/browser/shell_message_filter.cc policy->GrantReadFile(render_process_id_, absolute_filenames[i]); policy 81 content/shell/browser/shell_message_filter.cc policy->GrantReadFileSystem(render_process_id_, *filesystem_id); policy 89 content/shell/browser/shell_network_delegate.cc net::StaticCookiePolicy policy(policy_type); policy 90 content/shell/browser/shell_network_delegate.cc int rv = policy.CanGetCookies( policy 101 content/shell/browser/shell_network_delegate.cc net::StaticCookiePolicy policy(policy_type); policy 102 content/shell/browser/shell_network_delegate.cc int rv = policy.CanSetCookie( policy 157 content/shell/renderer/test_runner/WebFrameTestProxy.h blink::WebNavigationPolicy policy = m_baseProxy->decidePolicyForNavigation(frame, extraData, request, type, defaultPolicy, isRedirect); policy 158 content/shell/renderer/test_runner/WebFrameTestProxy.h if (policy == blink::WebNavigationPolicyIgnore) policy 159 content/shell/renderer/test_runner/WebFrameTestProxy.h return policy; policy 275 content/shell/renderer/test_runner/WebTestProxy.h virtual void show(blink::WebNavigationPolicy policy) policy 277 content/shell/renderer/test_runner/WebTestProxy.h WebTestProxyBase::show(policy); policy 278 content/shell/renderer/test_runner/WebTestProxy.h Base::show(policy); policy 300 content/shell/renderer/test_runner/WebTestProxy.h virtual blink::WebView* createView(blink::WebLocalFrame* creator, const blink::WebURLRequest& request, const blink::WebWindowFeatures& features, const blink::WebString& frameName, blink::WebNavigationPolicy policy, bool suppressOpener) policy 302 content/shell/renderer/test_runner/WebTestProxy.h if (!WebTestProxyBase::createView(creator, request, features, frameName, policy, suppressOpener)) policy 304 content/shell/renderer/test_runner/WebTestProxy.h return Base::createView(creator, request, features, frameName, policy, suppressOpener); policy 152 content/shell/renderer/test_runner/test_runner.cc const std::string& policy); policy 673 content/shell/renderer/test_runner/test_runner.cc int world_id, const std::string& policy) { policy 675 content/shell/renderer/test_runner/test_runner.cc runner_->SetIsolatedWorldContentSecurityPolicy(world_id, policy); policy 1994 content/shell/renderer/test_runner/test_runner.cc const std::string& policy) { policy 1996 content/shell/renderer/test_runner/test_runner.cc world_id, WebString::fromUTF8(policy)); policy 225 content/shell/renderer/test_runner/test_runner.h const std::string& policy); policy 106 extensions/common/csp_validator.cc bool ContentSecurityPolicyIsLegal(const std::string& policy) { policy 111 extensions/common/csp_validator.cc return policy.find_first_of(kBadChars, 0, arraysize(kBadChars)) == policy 115 extensions/common/csp_validator.cc bool ContentSecurityPolicyIsSecure(const std::string& policy, policy 119 extensions/common/csp_validator.cc base::SplitString(policy, ';', &directives); policy 158 extensions/common/csp_validator.cc const std::string& policy, Manifest::Type type) { policy 161 extensions/common/csp_validator.cc base::SplitString(policy, ';', &directives); policy 19 extensions/common/csp_validator.h bool ContentSecurityPolicyIsLegal(const std::string& policy); policy 32 extensions/common/csp_validator.h const std::string& policy, Manifest::Type type); policy 41 extensions/common/csp_validator.h const std::string& policy, Manifest::Type type); policy 257 google_apis/gcm/engine/connection_factory_impl.cc const net::BackoffEntry::Policy* const policy) { policy 258 google_apis/gcm/engine/connection_factory_impl.cc return scoped_ptr<net::BackoffEntry>(new net::BackoffEntry(policy)); policy 76 google_apis/gcm/engine/connection_factory_impl.h const net::BackoffEntry::Policy* const policy); policy 117 google_apis/gcm/engine/connection_factory_impl_unittest.cc const net::BackoffEntry::Policy* const policy) OVERRIDE; policy 193 google_apis/gcm/engine/connection_factory_impl_unittest.cc const net::BackoffEntry::Policy* const policy) { policy 648 native_client_sdk/src/libraries/third_party/pthreads-win32/implement.h int ptw32_setthreadpriority (pthread_t thread, int policy, int priority); policy 1109 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread.h int policy, policy 1113 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread.h int *policy, policy 42 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_getschedpolicy.c pthread_attr_getschedpolicy (const pthread_attr_t * attr, int *policy) policy 44 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_getschedpolicy.c if (ptw32_is_attr (attr) != 0 || policy == NULL) policy 53 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_getschedpolicy.c if (policy <= (int *) SCHED_MAX) policy 58 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_getschedpolicy.c *policy = SCHED_OTHER; policy 42 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_setschedpolicy.c pthread_attr_setschedpolicy (pthread_attr_t * attr, int policy) policy 49 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_attr_setschedpolicy.c if (policy != SCHED_OTHER) policy 42 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_getschedparam.c pthread_getschedparam (pthread_t thread, int *policy, policy 58 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_getschedparam.c if (policy <= (int *) SCHED_MAX || param == NULL) policy 64 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_getschedparam.c *policy = SCHED_OTHER; policy 42 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_setschedparam.c pthread_setschedparam (pthread_t thread, int policy, policy 55 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_setschedparam.c if (policy < SCHED_MIN || policy > SCHED_MAX) policy 61 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_setschedparam.c if (policy != SCHED_OTHER) policy 66 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_setschedparam.c return (ptw32_setthreadpriority (thread, policy, param->sched_priority)); policy 71 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_setschedparam.c ptw32_setthreadpriority (pthread_t thread, int policy, int priority) policy 81 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_setschedparam.c if (prio < sched_get_priority_min (policy) || policy 82 native_client_sdk/src/libraries/third_party/pthreads-win32/pthread_setschedparam.c prio > sched_get_priority_max (policy)) policy 153 native_client_sdk/src/libraries/third_party/pthreads-win32/sched.h PTW32_DLLPORT int __cdecl sched_get_priority_min (int policy); policy 155 native_client_sdk/src/libraries/third_party/pthreads-win32/sched.h PTW32_DLLPORT int __cdecl sched_get_priority_max (int policy); policy 157 native_client_sdk/src/libraries/third_party/pthreads-win32/sched.h PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int policy); policy 119 native_client_sdk/src/libraries/third_party/pthreads-win32/sched_get_priority_max.c sched_get_priority_max (int policy) policy 121 native_client_sdk/src/libraries/third_party/pthreads-win32/sched_get_priority_max.c if (policy < SCHED_MIN || policy > SCHED_MAX) policy 120 native_client_sdk/src/libraries/third_party/pthreads-win32/sched_get_priority_min.c sched_get_priority_min (int policy) policy 122 native_client_sdk/src/libraries/third_party/pthreads-win32/sched_get_priority_min.c if (policy < SCHED_MIN || policy > SCHED_MAX) policy 42 native_client_sdk/src/libraries/third_party/pthreads-win32/sched_setscheduler.c sched_setscheduler (pid_t pid, int policy) policy 72 native_client_sdk/src/libraries/third_party/pthreads-win32/sched_setscheduler.c if (SCHED_OTHER != policy) policy 16 net/base/backoff_entry.cc BackoffEntry::BackoffEntry(const BackoffEntry::Policy* const policy) policy 17 net/base/backoff_entry.cc : policy_(policy) { policy 60 net/base/backoff_entry.h explicit BackoffEntry(const Policy* const policy); policy 18 net/base/backoff_entry_unittest.cc explicit TestBackoffEntry(const Policy* const policy) policy 19 net/base/backoff_entry_unittest.cc : BackoffEntry(policy), policy 547 net/base/net_util.h int policy); policy 122 net/base/net_util_posix.cc bool GetNetworkList(NetworkInterfaceList* networks, int policy) { policy 153 net/base/net_util_posix.cc if (policy & INCLUDE_ONLY_TEMP_IPV6_ADDRESS_IF_POSSIBLE) { policy 208 net/base/net_util_posix.cc if ((policy & EXCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES) && policy 218 net/base/net_util_posix.cc if ((policy & INCLUDE_ONLY_TEMP_IPV6_ADDRESS_IF_POSSIBLE) && policy 256 net/base/net_util_posix.cc if (policy & INCLUDE_ONLY_TEMP_IPV6_ADDRESS_IF_POSSIBLE) { policy 141 net/base/net_util_win.cc bool GetNetworkList(NetworkInterfaceList* networks, int policy) { policy 182 net/base/net_util_win.cc if (policy == EXCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES && policy 223 net/base/net_util_win.cc (policy & INCLUDE_ONLY_TEMP_IPV6_ADDRESS_IF_POSSIBLE)) { policy 519 net/cert/cert_verify_proc_nss.cc SECOidTag policy = GetFirstCertPolicy(cert_handle); policy 520 net/cert/cert_verify_proc_nss.cc if (policy != SEC_OID_UNKNOWN) { policy 525 net/cert/cert_verify_proc_nss.cc in_param.value.array.oids = &policy; policy 453 net/cert/ev_root_ca_metadata.cc const char* policy) { policy 458 net/cert/ev_root_ca_metadata.cc if (!RegisterOID(policy, &oid)) policy 478 net/cert/ev_root_ca_metadata.cc bool EVRootCAMetadata::RegisterOID(const char* policy, policy 484 net/cert/ev_root_ca_metadata.cc SECStatus status = SEC_StringToOID(NULL, &oid_item, policy, 0); policy 493 net/cert/ev_root_ca_metadata.cc od.desc = policy; policy 540 net/cert/ev_root_ca_metadata.cc const char* policy) { policy 549 net/cert/ev_root_ca_metadata.cc extra_cas_[fingerprint] = policy; policy 567 net/cert/ev_root_ca_metadata.cc const char* policy) { policy 589 net/cert/ev_root_ca_metadata.cc PolicyOID policy; policy 590 net/cert/ev_root_ca_metadata.cc if (!RegisterOID(policy_oid, &policy)) { policy 595 net/cert/ev_root_ca_metadata.cc ev_policy_[metadata.fingerprint].push_back(policy); policy 596 net/cert/ev_root_ca_metadata.cc policy_oids_.insert(policy); policy 54 net/cert/ev_root_ca_metadata.h bool AddEVCA(const SHA1HashValue& fingerprint, const char* policy); policy 72 net/cert/ev_root_ca_metadata.h static bool RegisterOID(const char* policy, PolicyOID* out); policy 553 net/cert/x509_certificate_unittest.cc CertPolicy policy; policy 557 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_DATE_INVALID)); policy 559 net/cert/x509_certificate_unittest.cc policy.Check(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 560 net/cert/x509_certificate_unittest.cc EXPECT_FALSE(policy.HasAllowedCert()); policy 561 net/cert/x509_certificate_unittest.cc EXPECT_FALSE(policy.HasDeniedCert()); policy 564 net/cert/x509_certificate_unittest.cc policy.Allow(google_cert.get(), CERT_STATUS_DATE_INVALID); policy 566 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_DATE_INVALID)); policy 568 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 570 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), policy 573 net/cert/x509_certificate_unittest.cc policy.Check(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 574 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(policy.HasAllowedCert()); policy 575 net/cert/x509_certificate_unittest.cc EXPECT_FALSE(policy.HasDeniedCert()); policy 578 net/cert/x509_certificate_unittest.cc policy.Allow(google_cert.get(), CERT_STATUS_AUTHORITY_INVALID); policy 580 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_DATE_INVALID)); policy 582 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_AUTHORITY_INVALID)); policy 584 net/cert/x509_certificate_unittest.cc policy.Check(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 585 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(policy.HasAllowedCert()); policy 586 net/cert/x509_certificate_unittest.cc EXPECT_FALSE(policy.HasDeniedCert()); policy 589 net/cert/x509_certificate_unittest.cc policy.Allow(google_cert.get(), policy 592 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_DATE_INVALID)); policy 594 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_AUTHORITY_INVALID)); policy 596 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 598 net/cert/x509_certificate_unittest.cc policy.Check(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 599 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(policy.HasAllowedCert()); policy 600 net/cert/x509_certificate_unittest.cc EXPECT_FALSE(policy.HasDeniedCert()); policy 603 net/cert/x509_certificate_unittest.cc policy.Deny(google_cert.get(), CERT_STATUS_DATE_INVALID); policy 605 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_DATE_INVALID)); policy 607 net/cert/x509_certificate_unittest.cc policy.Check(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 608 net/cert/x509_certificate_unittest.cc EXPECT_FALSE(policy.HasAllowedCert()); policy 609 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(policy.HasDeniedCert()); policy 612 net/cert/x509_certificate_unittest.cc policy.Deny(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID); policy 614 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_DATE_INVALID)); policy 616 net/cert/x509_certificate_unittest.cc policy.Check(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 617 net/cert/x509_certificate_unittest.cc EXPECT_FALSE(policy.HasAllowedCert()); policy 618 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(policy.HasDeniedCert()); policy 621 net/cert/x509_certificate_unittest.cc policy.Allow(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID); policy 623 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_DATE_INVALID)); policy 625 net/cert/x509_certificate_unittest.cc policy.Check(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 626 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(policy.HasAllowedCert()); policy 627 net/cert/x509_certificate_unittest.cc EXPECT_TRUE(policy.HasDeniedCert()); policy 630 net/cert/x509_certificate_unittest.cc policy.Allow(google_cert.get(), policy 632 net/cert/x509_certificate_unittest.cc policy.Deny(google_cert.get(), CERT_STATUS_DATE_INVALID); policy 634 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_DATE_INVALID)); policy 636 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 638 net/cert/x509_certificate_unittest.cc policy.Check(google_cert.get(), policy 642 net/cert/x509_certificate_unittest.cc policy.Allow(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID); policy 643 net/cert/x509_certificate_unittest.cc policy.Deny(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID); policy 644 net/cert/x509_certificate_unittest.cc policy.Deny(webkit_cert.get(), CERT_STATUS_DATE_INVALID); policy 646 net/cert/x509_certificate_unittest.cc policy.Check(webkit_cert.get(), CERT_STATUS_COMMON_NAME_INVALID)); policy 648 net/cert/x509_certificate_unittest.cc policy.Check(webkit_cert.get(), CERT_STATUS_DATE_INVALID)); policy 20 net/cert/x509_util_mac.cc SecPolicyRef* policy) { policy 26 net/cert/x509_util_mac.cc err = SecPolicySearchCopyNext(search, policy); policy 36 net/cert/x509_util_mac.cc err = SecPolicySetValue(*policy, &options_data); policy 38 net/cert/x509_util_mac.cc CFRelease(*policy); policy 48 net/cert/x509_util_mac.cc OSStatus CreateSSLClientPolicy(SecPolicyRef* policy) { policy 55 net/cert/x509_util_mac.cc sizeof(tp_ssl_options), policy); policy 59 net/cert/x509_util_mac.cc SecPolicyRef* policy) { policy 69 net/cert/x509_util_mac.cc sizeof(tp_ssl_options), policy); policy 72 net/cert/x509_util_mac.cc OSStatus CreateBasicX509Policy(SecPolicyRef* policy) { policy 73 net/cert/x509_util_mac.cc return CreatePolicy(&CSSMOID_APPLE_X509_BASIC, NULL, 0, policy); policy 24 net/cert/x509_util_mac.h OSStatus NET_EXPORT CreateSSLClientPolicy(SecPolicyRef* policy); policy 36 net/cert/x509_util_mac.h SecPolicyRef* policy); policy 41 net/cert/x509_util_mac.h OSStatus NET_EXPORT CreateBasicX509Policy(SecPolicyRef* policy); policy 57 net/http/url_security_manager_win.cc DWORD policy = 0; policy 61 net/http/url_security_manager_win.cc reinterpret_cast<BYTE*>(&policy), policy 62 net/http/url_security_manager_win.cc sizeof(policy), NULL, 0, policy 72 net/http/url_security_manager_win.cc switch (policy) { policy 584 net/proxy/proxy_service.cc static const PacPollPolicy* set_policy(const PacPollPolicy* policy) { policy 586 net/proxy/proxy_service.cc poll_policy_ = policy; policy 1415 net/proxy/proxy_service.cc const PacPollPolicy* policy) { policy 1416 net/proxy/proxy_service.cc return ProxyScriptDeciderPoller::set_policy(policy); policy 257 net/proxy/proxy_service.h const PacPollPolicy* policy); policy 2630 net/proxy/proxy_service_unittest.cc scoped_ptr<ProxyService::PacPollPolicy> policy = policy 2644 net/proxy/proxy_service_unittest.cc mode = policy->GetNextDelay(error, initial_delay, &delay); policy 2649 net/proxy/proxy_service_unittest.cc mode = policy->GetNextDelay(error, delay, &delay); policy 2654 net/proxy/proxy_service_unittest.cc mode = policy->GetNextDelay(error, delay, &delay); policy 2659 net/proxy/proxy_service_unittest.cc mode = policy->GetNextDelay(error, delay, &delay); policy 2664 net/proxy/proxy_service_unittest.cc mode = policy->GetNextDelay(error, delay, &delay); policy 2674 net/proxy/proxy_service_unittest.cc mode = policy->GetNextDelay(error, initial_delay, &delay); policy 2679 net/proxy/proxy_service_unittest.cc mode = policy->GetNextDelay(error, delay, &delay); policy 2684 net/proxy/proxy_service_unittest.cc mode = policy->GetNextDelay(error, delay, &delay); policy 65 net/test/cert_test_util.cc const char* policy) policy 68 net/test/cert_test_util.cc EXPECT_TRUE(ev_root_ca_metadata->AddEVCA(fingerprint, policy)); policy 53 net/test/cert_test_util.h const char* policy); policy 279 net/third_party/nss/ssl/ssl.h SSL_IMPORT SECStatus SSL_SetPolicy(long which, int policy); policy 287 net/third_party/nss/ssl/ssl.h SSL_IMPORT SECStatus SSL_CipherPolicySet(PRInt32 cipher, PRInt32 policy); policy 288 net/third_party/nss/ssl/ssl.h SSL_IMPORT SECStatus SSL_CipherPolicyGet(PRInt32 cipher, PRInt32 *policy); policy 836 net/third_party/nss/ssl/ssl3con.c config_match(ssl3CipherSuiteCfg *suite, int policy, PRBool enabled, policy 839 net/third_party/nss/ssl/ssl3con.c PORT_Assert(policy != SSL_NOT_ALLOWED && enabled != PR_FALSE); policy 840 net/third_party/nss/ssl/ssl3con.c if (policy == SSL_NOT_ALLOWED || !enabled) policy 844 net/third_party/nss/ssl/ssl3con.c suite->policy != SSL_NOT_ALLOWED && policy 845 net/third_party/nss/ssl/ssl3con.c suite->policy <= policy && policy 854 net/third_party/nss/ssl/ssl3con.c count_cipher_suites(sslSocket *ss, int policy, PRBool enabled) policy 862 net/third_party/nss/ssl/ssl3con.c if (config_match(&ss->cipherSuites[i], policy, enabled, &ss->vrange)) policy 5141 net/third_party/nss/ssl/ssl3con.c ss->ssl3.policy = sid->u.ssl3.policy; policy 5249 net/third_party/nss/ssl/ssl3con.c num_suites = count_cipher_suites(ss, ss->ssl3.policy, PR_TRUE); policy 5379 net/third_party/nss/ssl/ssl3con.c if (config_match(suite, ss->ssl3.policy, PR_TRUE, &ss->vrange)) { policy 6465 net/third_party/nss/ssl/ssl3con.c if (!config_match(suite, ss->ssl3.policy, PR_TRUE, &vrange)) { policy 7875 net/third_party/nss/ssl/ssl3con.c sid->u.ssl3.policy = SSL_ALLOWED; policy 8318 net/third_party/nss/ssl/ssl3con.c if (!config_match(suite, ss->ssl3.policy, PR_TRUE, &vrange)) policy 8367 net/third_party/nss/ssl/ssl3con.c if (!config_match(suite, ss->ssl3.policy, PR_TRUE, &vrange)) { policy 8901 net/third_party/nss/ssl/ssl3con.c if (!config_match(suite, ss->ssl3.policy, PR_TRUE, &vrange)) { policy 11235 net/third_party/nss/ssl/ssl3con.c sid->u.ssl3.policy = ss->ssl3.policy; policy 12362 net/third_party/nss/ssl/ssl3con.c ss->ssl3.policy = SSL_ALLOWED; policy 12479 net/third_party/nss/ssl/ssl3con.c ssl3_SetPolicy(ssl3CipherSuite which, int policy) policy 12487 net/third_party/nss/ssl/ssl3con.c suite->policy = policy; policy 12496 net/third_party/nss/ssl/ssl3con.c PRInt32 policy; policy 12501 net/third_party/nss/ssl/ssl3con.c policy = suite->policy; policy 12504 net/third_party/nss/ssl/ssl3con.c policy = SSL_NOT_ALLOWED; policy 12507 net/third_party/nss/ssl/ssl3con.c *oPolicy = policy; policy 265 net/third_party/nss/ssl/sslcon.c ssl2_SetPolicy(PRInt32 which, PRInt32 policy) policy 278 net/third_party/nss/ssl/sslcon.c if (policy == SSL_ALLOWED) { policy 281 net/third_party/nss/ssl/sslcon.c } else if (policy == SSL_RESTRICTED) { policy 299 net/third_party/nss/ssl/sslcon.c PRInt32 policy; policy 312 net/third_party/nss/ssl/sslcon.c policy = (allowedByPolicy & bitMask) ? SSL_ALLOWED : SSL_RESTRICTED; policy 314 net/third_party/nss/ssl/sslcon.c policy = SSL_NOT_ALLOWED; policy 317 net/third_party/nss/ssl/sslcon.c *oPolicy = policy; policy 291 net/third_party/nss/ssl/sslimpl.h unsigned int policy : 8; policy 296 net/third_party/nss/ssl/sslimpl.h PRUint8 policy; policy 674 net/third_party/nss/ssl/sslimpl.h int policy; policy 1013 net/third_party/nss/ssl/sslimpl.h int policy; policy 1750 net/third_party/nss/ssl/sslimpl.h extern SECStatus ssl3_SetPolicy(ssl3CipherSuite which, PRInt32 policy); policy 1751 net/third_party/nss/ssl/sslimpl.h extern SECStatus ssl3_GetPolicy(ssl3CipherSuite which, PRInt32 *policy); policy 1752 net/third_party/nss/ssl/sslimpl.h extern SECStatus ssl2_SetPolicy(PRInt32 which, PRInt32 policy); policy 1753 net/third_party/nss/ssl/sslimpl.h extern SECStatus ssl2_GetPolicy(PRInt32 which, PRInt32 *policy); policy 1154 net/third_party/nss/ssl/sslsock.c SSL_SetPolicy(long which, int policy) policy 1165 net/third_party/nss/ssl/sslsock.c return SSL_CipherPolicySet(which, policy); policy 1169 net/third_party/nss/ssl/sslsock.c SSL_CipherPolicySet(PRInt32 which, PRInt32 policy) policy 1180 net/third_party/nss/ssl/sslsock.c rv = ssl2_SetPolicy(which, policy); policy 1182 net/third_party/nss/ssl/sslsock.c rv = ssl3_SetPolicy((ssl3CipherSuite)which, policy); policy 11 net/url_request/url_request_throttler_test_support.cc MockBackoffEntry::MockBackoffEntry(const BackoffEntry::Policy* const policy) policy 12 net/url_request/url_request_throttler_test_support.cc : BackoffEntry(policy) { policy 18 net/url_request/url_request_throttler_test_support.h explicit MockBackoffEntry(const BackoffEntry::Policy* const policy); policy 888 remoting/host/plugin/host_script_object.cc NPVariant policy; policy 889 remoting/host/plugin/host_script_object.cc BOOLEAN_TO_NPVARIANT(nat_traversal_enabled, policy); policy 891 remoting/host/plugin/host_script_object.cc &policy, 1); policy 140 remoting/host/policy_hack/policy_watcher_linux.cc scoped_ptr<base::DictionaryValue> policy(new base::DictionaryValue()); policy 159 remoting/host/policy_hack/policy_watcher_linux.cc policy->MergeDictionary(static_cast<base::DictionaryValue*>(value.get())); policy 162 remoting/host/policy_hack/policy_watcher_linux.cc return policy.Pass(); policy 172 remoting/host/policy_hack/policy_watcher_win.cc scoped_ptr<base::DictionaryValue> policy(new base::DictionaryValue()); policy 180 remoting/host/policy_hack/policy_watcher_win.cc policy->SetBoolean(policy_name, bool_value); policy 186 remoting/host/policy_hack/policy_watcher_win.cc policy->SetString(policy_name, string_value); policy 190 remoting/host/policy_hack/policy_watcher_win.cc return policy.Pass(); policy 23 sandbox/linux/seccomp-bpf/bpf_tests.h #define BPF_DEATH_TEST(test_case_name, test_name, death, policy, aux...) \ policy 26 sandbox/linux/seccomp-bpf/bpf_tests.h sandbox::BPFTests<aux>::TestArgs arg(BPF_TEST_##test_name, policy); \ policy 42 sandbox/linux/seccomp-bpf/bpf_tests.h #define BPF_TEST(test_case_name, test_name, policy, aux...) \ policy 43 sandbox/linux/seccomp-bpf/bpf_tests.h BPF_DEATH_TEST(test_case_name, test_name, DEATH_SUCCESS(), policy, aux) policy 62 sandbox/linux/seccomp-bpf/bpf_tests.h sandbox::SandboxBPF::EvaluateSyscall policy() const { return policy_; } policy 86 sandbox/linux/seccomp-bpf/bpf_tests.h sandbox.SetSandboxPolicyDeprecated(arg->policy(), &arg->aux_); policy 101 sandbox/linux/seccomp-bpf/bpf_tests.h sandbox.SetSandboxPolicyDeprecated(arg->policy(), &arg->aux_); policy 471 sandbox/linux/seccomp-bpf/sandbox_bpf.cc void SandboxBPF::PolicySanityChecks(SandboxBPFPolicy* policy) { policy 474 sandbox/linux/seccomp-bpf/sandbox_bpf.cc if (!IsDenied(policy->EvaluateSyscall(this, sysnum))) { policy 493 sandbox/linux/seccomp-bpf/sandbox_bpf.cc void SandboxBPF::SetSandboxPolicy(SandboxBPFPolicy* policy) { policy 498 sandbox/linux/seccomp-bpf/sandbox_bpf.cc PolicySanityChecks(policy); policy 499 sandbox/linux/seccomp-bpf/sandbox_bpf.cc policy_.reset(policy); policy 116 sandbox/linux/seccomp-bpf/sandbox_bpf.h void SetSandboxPolicy(SandboxBPFPolicy* policy); policy 228 sandbox/linux/seccomp-bpf/sandbox_bpf.h void PolicySanityChecks(SandboxBPFPolicy* policy); policy 365 sandbox/linux/seccomp-bpf/verifier.cc const SandboxBPFPolicy& policy, policy 390 sandbox/linux/seccomp-bpf/verifier.cc ErrorCode code = policy.EvaluateSyscall(sandbox, sysnum); policy 28 sandbox/linux/seccomp-bpf/verifier.h const SandboxBPFPolicy& policy, policy 508 sandbox/win/sandbox_poc/main_ui_window.cc sandbox::TargetPolicy* policy = broker_->CreatePolicy(); policy 509 sandbox/win/sandbox_poc/main_ui_window.cc policy->SetJobLevel(sandbox::JOB_LOCKDOWN, 0); policy 510 sandbox/win/sandbox_poc/main_ui_window.cc policy->SetTokenLevel(sandbox::USER_RESTRICTED_SAME_ACCESS, policy 512 sandbox/win/sandbox_poc/main_ui_window.cc policy->SetAlternateDesktop(true); policy 513 sandbox/win/sandbox_poc/main_ui_window.cc policy->SetDelayedIntegrityLevel(sandbox::INTEGRITY_LEVEL_LOW); policy 518 sandbox/win/sandbox_poc/main_ui_window.cc policy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES, policy 522 sandbox/win/sandbox_poc/main_ui_window.cc arguments, policy, policy 525 sandbox/win/sandbox_poc/main_ui_window.cc policy->Release(); policy 526 sandbox/win/sandbox_poc/main_ui_window.cc policy = NULL; policy 57 sandbox/win/src/broker_services.cc sandbox::PolicyBase* policy; policy 59 sandbox/win/src/broker_services.cc : job(cjob), policy(cpolicy) { policy 165 sandbox/win/src/broker_services.cc if (NULL != tracker->policy) { policy 173 sandbox/win/src/broker_services.cc tracker->policy->OnJobEmpty(tracker->job); policy 174 sandbox/win/src/broker_services.cc tracker->policy->Release(); policy 175 sandbox/win/src/broker_services.cc tracker->policy = NULL; policy 278 sandbox/win/src/broker_services.cc TargetPolicy* policy, policy 283 sandbox/win/src/broker_services.cc if (!policy) policy 296 sandbox/win/src/broker_services.cc PolicyBase* policy_base = static_cast<PolicyBase*>(policy); policy 335 sandbox/win/src/broker_services.cc ConvertProcessMitigationsToPolicy(policy->GetProcessMitigations(), policy 51 sandbox/win/src/broker_services.h TargetPolicy* policy, policy 63 sandbox/win/src/filesystem_policy.cc LowLevelPolicy* policy) { policy 144 sandbox/win/src/filesystem_policy.cc !policy->AddRule(IPC_NTCREATEFILE_TAG, &create))) { policy 150 sandbox/win/src/filesystem_policy.cc !policy->AddRule(IPC_NTOPENFILE_TAG, &open))) { policy 156 sandbox/win/src/filesystem_policy.cc !policy->AddRule(IPC_NTQUERYATTRIBUTESFILE_TAG, &query))) { policy 162 sandbox/win/src/filesystem_policy.cc || !policy->AddRule(IPC_NTQUERYFULLATTRIBUTESFILE_TAG, policy 169 sandbox/win/src/filesystem_policy.cc !policy->AddRule(IPC_NTSETINFO_RENAME_TAG, &rename))) { policy 186 sandbox/win/src/filesystem_policy.cc bool FileSystemPolicy::SetInitialRules(LowLevelPolicy* policy) { policy 197 sandbox/win/src/filesystem_policy.cc if (!rv || !policy->AddRule(IPC_NTCREATEFILE_TAG, &format)) policy 200 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTCREATEFILE_TAG, &short_name)) policy 203 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTOPENFILE_TAG, &format)) policy 206 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTOPENFILE_TAG, &short_name)) policy 209 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTQUERYATTRIBUTESFILE_TAG, &format)) policy 212 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTQUERYATTRIBUTESFILE_TAG, &short_name)) policy 215 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTQUERYFULLATTRIBUTESFILE_TAG, &format)) policy 218 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTQUERYFULLATTRIBUTESFILE_TAG, &short_name)) policy 221 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTSETINFO_RENAME_TAG, &format)) policy 224 sandbox/win/src/filesystem_policy.cc if (!policy->AddRule(IPC_NTSETINFO_RENAME_TAG, &short_name)) policy 31 sandbox/win/src/filesystem_policy.h LowLevelPolicy* policy); policy 34 sandbox/win/src/filesystem_policy.h static bool SetInitialRules(LowLevelPolicy* policy); policy 111 sandbox/win/src/handle_closer_test.cc sandbox::TargetPolicy* policy = runner.GetPolicy(); policy 131 sandbox/win/src/handle_closer_test.cc sandbox::TargetPolicy* policy = runner.GetPolicy(); policy 139 sandbox/win/src/handle_closer_test.cc CHECK_EQ(policy->AddKernelObjectToClose(L"File", handle_name.c_str()), policy 186 sandbox/win/src/handle_closer_test.cc sandbox::TargetPolicy* policy = runner.GetPolicy(); policy 189 sandbox/win/src/handle_closer_test.cc CHECK_EQ(policy->AddKernelObjectToClose(L"ALPC Port", NULL), SBOX_ALL_OK); policy 21 sandbox/win/src/handle_policy.cc LowLevelPolicy* policy) { policy 48 sandbox/win/src/handle_policy.cc if (!policy->AddRule(IPC_DUPLICATEHANDLEPROXY_TAG, &duplicate_rule)) { policy 26 sandbox/win/src/handle_policy.h LowLevelPolicy* policy); policy 47 sandbox/win/src/named_pipe_policy.cc LowLevelPolicy* policy) { policy 55 sandbox/win/src/named_pipe_policy.cc if (!policy->AddRule(IPC_CREATENAMEDPIPEW_TAG, &pipe)) { policy 30 sandbox/win/src/named_pipe_policy.h LowLevelPolicy* policy); policy 285 sandbox/win/src/policy_engine_opcodes.h OpcodeFactory(PolicyBuffer* policy, size_t memory_size) { policy 286 sandbox/win/src/policy_engine_opcodes.h memory_top_ = reinterpret_cast<char*>(&policy->opcodes[0]); policy 114 sandbox/win/src/policy_engine_processor.h explicit PolicyProcessor(PolicyBuffer* policy) policy 115 sandbox/win/src/policy_engine_processor.h : policy_(policy) { policy 42 sandbox/win/src/policy_engine_unittest.cc PolicyBuffer* policy = reinterpret_cast<PolicyBuffer*>(new char[policy_sz]); policy 43 sandbox/win/src/policy_engine_unittest.cc OpcodeFactory opcode_maker(policy, policy_sz - 0x40); policy 61 sandbox/win/src/policy_engine_unittest.cc policy->opcode_count = 7; policy 76 sandbox/win/src/policy_engine_unittest.cc PolicyProcessor pol_ev(policy); policy 99 sandbox/win/src/policy_engine_unittest.cc delete [] reinterpret_cast<char*>(policy); policy 45 sandbox/win/src/policy_low_level_unittest.cc PolicyGlobal* policy = reinterpret_cast<PolicyGlobal*>(mem); policy 46 sandbox/win/src/policy_low_level_unittest.cc policy->data_size = kTotalPolicySz - sizeof(PolicyGlobal); policy 47 sandbox/win/src/policy_low_level_unittest.cc return policy; policy 58 sandbox/win/src/policy_low_level_unittest.cc PolicyGlobal* policy = MakePolicyMemory(); policy 61 sandbox/win/src/policy_low_level_unittest.cc LowLevelPolicy policyGen(policy); policy 72 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor pol_ev(policy->entry[kFakeService]); policy 82 sandbox/win/src/policy_low_level_unittest.cc delete [] reinterpret_cast<char*>(policy); policy 91 sandbox/win/src/policy_low_level_unittest.cc PolicyGlobal* policy = MakePolicyMemory(); policy 93 sandbox/win/src/policy_low_level_unittest.cc LowLevelPolicy policyGen(policy); policy 104 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor pol_ev(policy->entry[kFakeService]); policy 120 sandbox/win/src/policy_low_level_unittest.cc delete [] reinterpret_cast<char*>(policy); policy 129 sandbox/win/src/policy_low_level_unittest.cc PolicyGlobal* policy = MakePolicyMemory(); policy 131 sandbox/win/src/policy_low_level_unittest.cc LowLevelPolicy policyGen(policy); policy 142 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor pol_ev(policy->entry[kFakeService]); policy 153 sandbox/win/src/policy_low_level_unittest.cc delete [] reinterpret_cast<char*>(policy); policy 162 sandbox/win/src/policy_low_level_unittest.cc PolicyGlobal* policy = MakePolicyMemory(); policy 164 sandbox/win/src/policy_low_level_unittest.cc LowLevelPolicy policyGen(policy); policy 175 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor pol_ev(policy->entry[kFakeService]); policy 191 sandbox/win/src/policy_low_level_unittest.cc delete [] reinterpret_cast<char*>(policy); policy 201 sandbox/win/src/policy_low_level_unittest.cc PolicyGlobal* policy = MakePolicyMemory(); policy 203 sandbox/win/src/policy_low_level_unittest.cc LowLevelPolicy policyGen(policy); policy 216 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor pol_ev(policy->entry[kFakeService]); policy 239 sandbox/win/src/policy_low_level_unittest.cc delete [] reinterpret_cast<char*>(policy); policy 250 sandbox/win/src/policy_low_level_unittest.cc PolicyGlobal* policy = MakePolicyMemory(); policy 252 sandbox/win/src/policy_low_level_unittest.cc LowLevelPolicy policyGen(policy); policy 268 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor pol_ev(policy->entry[kFakeService]); policy 310 sandbox/win/src/policy_low_level_unittest.cc delete [] reinterpret_cast<char*>(policy); policy 323 sandbox/win/src/policy_low_level_unittest.cc PolicyGlobal* policy = MakePolicyMemory(); policy 327 sandbox/win/src/policy_low_level_unittest.cc LowLevelPolicy policyGen(policy); policy 344 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor pol_ev(policy->entry[kNtFakeCreateFile]); policy 382 sandbox/win/src/policy_low_level_unittest.cc delete [] reinterpret_cast<char*>(policy); policy 429 sandbox/win/src/policy_low_level_unittest.cc PolicyGlobal* policy = MakePolicyMemory(); policy 435 sandbox/win/src/policy_low_level_unittest.cc LowLevelPolicy policyGen(policy); policy 448 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(NULL == policy->entry[0]); policy 449 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(NULL == policy->entry[1]); policy 450 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(NULL == policy->entry[2]); policy 451 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(NULL == policy->entry[3]); policy 452 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(NULL != policy->entry[4]); // kNtFakeNone. policy 453 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(NULL != policy->entry[5]); // kNtFakeCreateFile. policy 454 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(NULL != policy->entry[6]); // kNtFakeOpenFile. policy 455 sandbox/win/src/policy_low_level_unittest.cc EXPECT_TRUE(NULL == policy->entry[7]); policy 465 sandbox/win/src/policy_low_level_unittest.cc size_t tc1 = policy->entry[kNtFakeNone]->opcode_count; policy 466 sandbox/win/src/policy_low_level_unittest.cc size_t tc2 = policy->entry[kNtFakeCreateFile]->opcode_count; policy 467 sandbox/win/src/policy_low_level_unittest.cc size_t tc3 = policy->entry[kNtFakeOpenFile]->opcode_count; policy 475 sandbox/win/src/policy_low_level_unittest.cc EXPECT_EQ(OP_ULONG_AND_MATCH, policy->entry[kNtFakeNone]->opcodes[0].GetID()); policy 476 sandbox/win/src/policy_low_level_unittest.cc EXPECT_EQ(OP_ACTION, policy->entry[kNtFakeNone]->opcodes[tc1-1].GetID()); policy 478 sandbox/win/src/policy_low_level_unittest.cc policy->entry[kNtFakeCreateFile]->opcodes[0].GetID()); policy 480 sandbox/win/src/policy_low_level_unittest.cc policy->entry[kNtFakeCreateFile]->opcodes[tc2-1].GetID()); policy 482 sandbox/win/src/policy_low_level_unittest.cc policy->entry[kNtFakeOpenFile]->opcodes[0].GetID()); policy 483 sandbox/win/src/policy_low_level_unittest.cc EXPECT_EQ(OP_ACTION, policy->entry[kNtFakeOpenFile]->opcodes[tc3-1].GetID()); policy 500 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor eval_CreateFile(policy->entry[kNtFakeCreateFile]); policy 501 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor eval_OpenFile(policy->entry[kNtFakeOpenFile]); policy 502 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor eval_None(policy->entry[kNtFakeNone]); policy 572 sandbox/win/src/policy_low_level_unittest.cc delete [] reinterpret_cast<char*>(policy); policy 585 sandbox/win/src/policy_low_level_unittest.cc PolicyGlobal* policy = MakePolicyMemory(); policy 586 sandbox/win/src/policy_low_level_unittest.cc LowLevelPolicy policyGen(policy); policy 597 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor pol_ev_orig(policy->entry[1]); policy 607 sandbox/win/src/policy_low_level_unittest.cc PolicyProcessor pol_ev_copy(policy->entry[2]); policy 43 sandbox/win/src/policy_target.cc PolicyBuffer* policy = reinterpret_cast<PolicyBuffer*>( policy 61 sandbox/win/src/policy_target.cc PolicyProcessor processor(policy); policy 240 sandbox/win/src/policy_target_test.cc TargetPolicy* policy = broker->CreatePolicy(); policy 241 sandbox/win/src/policy_target_test.cc policy->SetAlternateDesktop(false); policy 242 sandbox/win/src/policy_target_test.cc policy->SetTokenLevel(USER_INTERACTIVE, USER_LOCKDOWN); policy 244 sandbox/win/src/policy_target_test.cc result = broker->SpawnTarget(prog_name, arguments.c_str(), policy, policy 246 sandbox/win/src/policy_target_test.cc policy->Release(); policy 259 sandbox/win/src/policy_target_test.cc base::string16 desktop_name = policy->GetAlternateDesktop(); policy 303 sandbox/win/src/policy_target_test.cc TargetPolicy* policy = broker->CreatePolicy(); policy 304 sandbox/win/src/policy_target_test.cc policy->SetAlternateDesktop(true); policy 305 sandbox/win/src/policy_target_test.cc policy->SetTokenLevel(USER_INTERACTIVE, USER_LOCKDOWN); policy 307 sandbox/win/src/policy_target_test.cc result = broker->SpawnTarget(prog_name, arguments.c_str(), policy, policy 309 sandbox/win/src/policy_target_test.cc policy->Release(); policy 322 sandbox/win/src/policy_target_test.cc base::string16 desktop_name = policy->GetAlternateDesktop(); policy 122 sandbox/win/src/process_mitigations.cc PROCESS_MITIGATION_ASLR_POLICY policy = { 0 }; policy 123 sandbox/win/src/process_mitigations.cc policy.EnableForceRelocateImages = true; policy 124 sandbox/win/src/process_mitigations.cc policy.DisallowStrippedImages = (flags & policy 128 sandbox/win/src/process_mitigations.cc if (!set_process_mitigation_policy(ProcessASLRPolicy, &policy, policy 129 sandbox/win/src/process_mitigations.cc sizeof(policy)) && policy 137 sandbox/win/src/process_mitigations.cc PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY policy = { 0 }; policy 138 sandbox/win/src/process_mitigations.cc policy.HandleExceptionsPermanentlyEnabled = policy 139 sandbox/win/src/process_mitigations.cc policy.RaiseExceptionOnInvalidHandleReference = true; policy 141 sandbox/win/src/process_mitigations.cc if (!set_process_mitigation_policy(ProcessStrictHandleCheckPolicy, &policy, policy 142 sandbox/win/src/process_mitigations.cc sizeof(policy)) && policy 150 sandbox/win/src/process_mitigations.cc PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY policy = { 0 }; policy 151 sandbox/win/src/process_mitigations.cc policy.DisallowWin32kSystemCalls = true; policy 153 sandbox/win/src/process_mitigations.cc if (!set_process_mitigation_policy(ProcessSystemCallDisablePolicy, &policy, policy 154 sandbox/win/src/process_mitigations.cc sizeof(policy)) && policy 162 sandbox/win/src/process_mitigations.cc PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY policy = { 0 }; policy 163 sandbox/win/src/process_mitigations.cc policy.DisableExtensionPoints = true; policy 166 sandbox/win/src/process_mitigations.cc &policy, sizeof(policy)) && policy 35 sandbox/win/src/process_mitigations_test.cc PROCESS_MITIGATION_DEP_POLICY policy; policy 37 sandbox/win/src/process_mitigations_test.cc &policy, sizeof(policy))) { policy 40 sandbox/win/src/process_mitigations_test.cc return policy.Enable && policy.Permanent; policy 44 sandbox/win/src/process_mitigations_test.cc PROCESS_MITIGATION_ASLR_POLICY policy; policy 46 sandbox/win/src/process_mitigations_test.cc &policy, sizeof(policy))) { policy 49 sandbox/win/src/process_mitigations_test.cc return policy.EnableForceRelocateImages && policy.DisallowStrippedImages; policy 53 sandbox/win/src/process_mitigations_test.cc PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY policy; policy 56 sandbox/win/src/process_mitigations_test.cc &policy, sizeof(policy))) { policy 59 sandbox/win/src/process_mitigations_test.cc return policy.RaiseExceptionOnInvalidHandleReference && policy 60 sandbox/win/src/process_mitigations_test.cc policy.HandleExceptionsPermanentlyEnabled; policy 64 sandbox/win/src/process_mitigations_test.cc PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY policy; policy 67 sandbox/win/src/process_mitigations_test.cc &policy, sizeof(policy))) { policy 70 sandbox/win/src/process_mitigations_test.cc return policy.DisallowWin32kSystemCalls; policy 74 sandbox/win/src/process_mitigations_test.cc PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY policy; policy 77 sandbox/win/src/process_mitigations_test.cc &policy, sizeof(policy))) { policy 80 sandbox/win/src/process_mitigations_test.cc return policy.DisableExtensionPoints; policy 121 sandbox/win/src/process_mitigations_test.cc sandbox::TargetPolicy* policy = runner.GetPolicy(); policy 131 sandbox/win/src/process_mitigations_test.cc EXPECT_EQ(policy->SetProcessMitigations(mitigations), SBOX_ALL_OK); policy 136 sandbox/win/src/process_mitigations_test.cc EXPECT_EQ(policy->SetDelayedProcessMitigations(mitigations), SBOX_ALL_OK); policy 195 sandbox/win/src/process_mitigations_test.cc sandbox::TargetPolicy* policy = runner.GetPolicy(); policy 197 sandbox/win/src/process_mitigations_test.cc EXPECT_EQ(policy->SetProcessMitigations( policy 78 sandbox/win/src/process_thread_policy.cc LowLevelPolicy* policy) { policy 97 sandbox/win/src/process_thread_policy.cc if (!policy->AddRule(IPC_CREATEPROCESSW_TAG, process.get())) { policy 31 sandbox/win/src/process_thread_policy.h LowLevelPolicy* policy); policy 119 sandbox/win/src/registry_policy.cc LowLevelPolicy* policy) { policy 155 sandbox/win/src/registry_policy.cc !policy->AddRule(IPC_NTCREATEKEY_TAG, &create)) { policy 160 sandbox/win/src/registry_policy.cc !policy->AddRule(IPC_NTOPENKEY_TAG, &open)) { policy 28 sandbox/win/src/registry_policy.h LowLevelPolicy* policy); policy 78 sandbox/win/src/sandbox.h TargetPolicy* policy, policy 46 sandbox/win/src/sandbox_policy_base.cc sandbox::PolicyGlobal* policy = static_cast<sandbox::PolicyGlobal*> policy 48 sandbox/win/src/sandbox_policy_base.cc DCHECK(policy); policy 49 sandbox/win/src/sandbox_policy_base.cc memset(policy, 0, kTotalPolicySz); policy 50 sandbox/win/src/sandbox_policy_base.cc policy->data_size = kTotalPolicySz - sizeof(sandbox::PolicyGlobal); policy 51 sandbox/win/src/sandbox_policy_base.cc return policy; policy 135 sandbox/win/src/sync_policy.cc LowLevelPolicy* policy) { policy 163 sandbox/win/src/sync_policy.cc if (!policy->AddRule(IPC_OPENEVENT_TAG, &open)) policy 172 sandbox/win/src/sync_policy.cc if (!policy->AddRule(IPC_CREATEEVENT_TAG, &create)) policy 31 sandbox/win/src/sync_policy.h LowLevelPolicy* policy); policy 24 sandbox/win/src/target_process.cc sandbox::PolicyGlobal* policy = policy 30 sandbox/win/src/target_process.cc size_t buffer = reinterpret_cast<size_t>(policy->entry[i]); policy 33 sandbox/win/src/target_process.cc policy->entry[i] = reinterpret_cast<sandbox::PolicyBuffer*>(buffer); policy 244 sandbox/win/src/target_process.cc DWORD TargetProcess::Init(Dispatcher* ipc_dispatcher, void* policy, policy 277 sandbox/win/src/target_process.cc CopyPolicyToTarget(policy, shared_policy_size, policy 59 sandbox/win/src/target_process.h DWORD Init(Dispatcher* ipc_dispatcher, void* policy, policy 64 sandbox/win/src/unload_dll_test.cc sandbox::TargetPolicy* policy = runner.GetPolicy(); policy 65 sandbox/win/src/unload_dll_test.cc policy->AddDllToUnload(L"avicap32.dll"); policy 75 sandbox/win/src/unload_dll_test.cc sandbox::TargetPolicy* policy = runner.GetPolicy(); policy 76 sandbox/win/src/unload_dll_test.cc policy->AddDllToUnload(L"avicap32.dll"); policy 369 sync/notifier/gcm_network_channel.cc const net::BackoffEntry::Policy* policy) { policy 370 sync/notifier/gcm_network_channel.cc register_backoff_entry_.reset(new net::BackoffEntry(policy)); policy 81 sync/notifier/gcm_network_channel.h const net::BackoffEntry::Policy* policy); policy 2644 third_party/libusb/src/libusb/os/windows_usb.c UCHAR policy; policy 2662 third_party/libusb/src/libusb/os/windows_usb.c policy = false; policy 2664 third_party/libusb/src/libusb/os/windows_usb.c SHORT_PACKET_TERMINATE, sizeof(UCHAR), &policy)) { policy 2668 third_party/libusb/src/libusb/os/windows_usb.c IGNORE_SHORT_PACKETS, sizeof(UCHAR), &policy)) { policy 2671 third_party/libusb/src/libusb/os/windows_usb.c policy = true; policy 2675 third_party/libusb/src/libusb/os/windows_usb.c ALLOW_PARTIAL_READS, sizeof(UCHAR), &policy)) { policy 2679 third_party/libusb/src/libusb/os/windows_usb.c AUTO_CLEAR_STALL, sizeof(UCHAR), &policy)) { policy 64 ui/base/dragdrop/os_exchange_data.cc bool OSExchangeData::GetURLAndTitle(FilenameToURLPolicy policy, policy 67 ui/base/dragdrop/os_exchange_data.cc return provider_->GetURLAndTitle(policy, url, title); policy 88 ui/base/dragdrop/os_exchange_data.cc bool OSExchangeData::HasURL(FilenameToURLPolicy policy) const { policy 89 ui/base/dragdrop/os_exchange_data.cc return provider_->HasURL(policy); policy 108 ui/base/dragdrop/os_exchange_data.h virtual bool GetURLAndTitle(FilenameToURLPolicy policy, policy 118 ui/base/dragdrop/os_exchange_data.h virtual bool HasURL(FilenameToURLPolicy policy) const = 0; policy 193 ui/base/dragdrop/os_exchange_data.h bool GetURLAndTitle(FilenameToURLPolicy policy, policy 205 ui/base/dragdrop/os_exchange_data.h bool HasURL(FilenameToURLPolicy policy) const; policy 87 ui/base/dragdrop/os_exchange_data_provider_aura.cc OSExchangeData::FilenameToURLPolicy policy, policy 136 ui/base/dragdrop/os_exchange_data_provider_aura.cc OSExchangeData::FilenameToURLPolicy policy) const { policy 39 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual bool GetURLAndTitle(OSExchangeData::FilenameToURLPolicy policy, policy 47 ui/base/dragdrop/os_exchange_data_provider_aura.h virtual bool HasURL(OSExchangeData::FilenameToURLPolicy policy) const policy 233 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc OSExchangeData::FilenameToURLPolicy policy, policy 269 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc policy == OSExchangeData::CONVERT_FILENAMES) { policy 340 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc OSExchangeData::FilenameToURLPolicy policy) const { policy 361 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc policy == OSExchangeData::CONVERT_FILENAMES) policy 74 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual bool GetURLAndTitle(OSExchangeData::FilenameToURLPolicy policy, policy 82 ui/base/dragdrop/os_exchange_data_provider_aurax11.h virtual bool HasURL(OSExchangeData::FilenameToURLPolicy policy) const policy 409 ui/base/dragdrop/os_exchange_data_provider_win.cc OSExchangeData::FilenameToURLPolicy policy, policy 417 ui/base/dragdrop/os_exchange_data_provider_win.cc policy == OSExchangeData::CONVERT_FILENAMES ? true : false); policy 499 ui/base/dragdrop/os_exchange_data_provider_win.cc OSExchangeData::FilenameToURLPolicy policy) const { policy 502 ui/base/dragdrop/os_exchange_data_provider_win.cc policy == OSExchangeData::CONVERT_FILENAMES ? true : false) || policy 165 ui/base/dragdrop/os_exchange_data_provider_win.h virtual bool GetURLAndTitle(OSExchangeData::FilenameToURLPolicy policy, policy 176 ui/base/dragdrop/os_exchange_data_provider_win.h virtual bool HasURL(OSExchangeData::FilenameToURLPolicy policy) const; policy 34 ui/shell_dialogs/gtk/select_file_dialog_impl.cc SelectFilePolicy* policy) { policy 56 ui/shell_dialogs/gtk/select_file_dialog_impl.cc return SelectFileDialogImpl::NewSelectFileDialogImplGTK(listener, policy); policy 62 ui/shell_dialogs/gtk/select_file_dialog_impl.cc listener, policy, desktop); policy 66 ui/shell_dialogs/gtk/select_file_dialog_impl.cc ui::SelectFilePolicy* policy) policy 67 ui/shell_dialogs/gtk/select_file_dialog_impl.cc : SelectFileDialog(listener, policy), policy 24 ui/shell_dialogs/gtk/select_file_dialog_impl.h ui::SelectFilePolicy* policy); policy 28 ui/shell_dialogs/gtk/select_file_dialog_impl.h ui::SelectFilePolicy* policy, policy 41 ui/shell_dialogs/gtk/select_file_dialog_impl.h ui::SelectFilePolicy* policy); policy 85 ui/shell_dialogs/gtk/select_file_dialog_impl.h SelectFilePolicy* policy); policy 43 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc ui::SelectFilePolicy* policy); policy 154 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc ui::SelectFilePolicy* policy) policy 155 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc : SelectFileDialogImpl(listener, policy), policy 592 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc Listener* listener, ui::SelectFilePolicy* policy) { policy 593 ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc return new SelectFileDialogImplGTK(listener, policy); policy 42 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc ui::SelectFilePolicy* policy, policy 160 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc ui::SelectFilePolicy* policy, policy 162 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc : SelectFileDialogImpl(listener, policy), policy 480 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc ui::SelectFilePolicy* policy, policy 482 ui/shell_dialogs/gtk/select_file_dialog_impl_kde.cc return new SelectFileDialogImplKDE(listener, policy, desktop); policy 34 ui/shell_dialogs/linux_shell_dialog.h SelectFilePolicy* policy) const = 0; policy 74 ui/shell_dialogs/select_file_dialog.cc ui::SelectFilePolicy* policy) { policy 76 ui/shell_dialogs/select_file_dialog.cc SelectFileDialog* dialog = dialog_factory_->Create(listener, policy); policy 84 ui/shell_dialogs/select_file_dialog.cc return shell_dialogs->CreateSelectFileDialog(listener, policy); policy 90 ui/shell_dialogs/select_file_dialog.cc return CreateWinSelectFileDialog(listener, policy); policy 92 ui/shell_dialogs/select_file_dialog.cc return CreateMacSelectFileDialog(listener, policy); policy 94 ui/shell_dialogs/select_file_dialog.cc return CreateLinuxSelectFileDialog(listener, policy); policy 96 ui/shell_dialogs/select_file_dialog.cc return CreateAndroidSelectFileDialog(listener, policy); policy 142 ui/shell_dialogs/select_file_dialog.cc ui::SelectFilePolicy* policy) policy 144 ui/shell_dialogs/select_file_dialog.cc select_file_policy_(policy) { policy 107 ui/shell_dialogs/select_file_dialog.h SelectFilePolicy* policy); policy 180 ui/shell_dialogs/select_file_dialog.h explicit SelectFileDialog(Listener* listener, SelectFilePolicy* policy); policy 23 ui/shell_dialogs/select_file_dialog_android.cc SelectFilePolicy* policy) { policy 24 ui/shell_dialogs/select_file_dialog_android.cc return new SelectFileDialogImpl(listener, policy); policy 98 ui/shell_dialogs/select_file_dialog_android.cc SelectFilePolicy* policy) policy 99 ui/shell_dialogs/select_file_dialog_android.cc : SelectFileDialog(listener, policy) { policy 112 ui/shell_dialogs/select_file_dialog_android.cc SelectFilePolicy* policy) { policy 113 ui/shell_dialogs/select_file_dialog_android.cc return SelectFileDialogImpl::Create(listener, policy); policy 19 ui/shell_dialogs/select_file_dialog_android.h SelectFilePolicy* policy); policy 50 ui/shell_dialogs/select_file_dialog_android.h SelectFileDialogImpl(Listener* listener, SelectFilePolicy* policy); policy 61 ui/shell_dialogs/select_file_dialog_android.h SelectFilePolicy* policy); policy 24 ui/shell_dialogs/select_file_dialog_factory.h ui::SelectFilePolicy* policy) = 0; policy 15 ui/shell_dialogs/select_file_dialog_mac.h SelectFilePolicy* policy); policy 415 ui/shell_dialogs/select_file_dialog_win.cc ui::SelectFilePolicy* policy); policy 529 ui/shell_dialogs/select_file_dialog_win.cc ui::SelectFilePolicy* policy) policy 530 ui/shell_dialogs/select_file_dialog_win.cc : SelectFileDialog(listener, policy), policy 954 ui/shell_dialogs/select_file_dialog_win.cc SelectFilePolicy* policy) { policy 955 ui/shell_dialogs/select_file_dialog_win.cc return new SelectFileDialogImpl(listener, policy); policy 25 ui/shell_dialogs/select_file_dialog_win.h SelectFilePolicy* policy); policy 1158 ui/views/win/hwnd_message_handler.cc DWMNCRENDERINGPOLICY policy = policy 1163 ui/views/win/hwnd_message_handler.cc &policy, sizeof(DWMNCRENDERINGPOLICY)); policy 112 webkit/browser/appcache/appcache_host.cc AppCachePolicy* policy = service()->appcache_policy(); policy 113 webkit/browser/appcache/appcache_host.cc if (policy && policy 114 webkit/browser/appcache/appcache_host.cc !policy->CanCreateAppCache(manifest_url, first_party_url_)) { policy 262 webkit/browser/appcache/appcache_request_handler.cc AppCachePolicy* policy = host_->service()->appcache_policy(); policy 263 webkit/browser/appcache/appcache_request_handler.cc bool was_blocked_by_policy = !manifest_url.is_empty() && policy && policy 264 webkit/browser/appcache/appcache_request_handler.cc !policy->CanLoadAppCache(manifest_url, host_->first_party_url()); policy 96 webkit/browser/appcache/appcache_service.cc AppCachePolicy* policy = service_->appcache_policy(); policy 97 webkit/browser/appcache/appcache_service.cc if (policy && !policy->CanLoadAppCache(url_, first_party_)) { policy 560 webkit/browser/appcache/appcache_service.cc quota::SpecialStoragePolicy* policy) { policy 561 webkit/browser/appcache/appcache_service.cc special_storage_policy_ = policy; policy 157 webkit/browser/appcache/appcache_service.h void set_appcache_policy(AppCachePolicy* policy) { policy 158 webkit/browser/appcache/appcache_service.h appcache_policy_ = policy; policy 176 webkit/browser/appcache/appcache_service.h void set_special_storage_policy(quota::SpecialStoragePolicy* policy); policy 112 webkit/browser/fileapi/sandbox_file_system_backend.cc SpecialStoragePolicy* policy = delegate_->special_storage_policy(); policy 113 webkit/browser/fileapi/sandbox_file_system_backend.cc if (policy && policy->IsStorageUnlimited(url.origin())) policy 160 webkit/browser/quota/quota_database_unittest.cc scoped_refptr<MockSpecialStoragePolicy> policy( policy 162 webkit/browser/quota/quota_database_unittest.cc policy->AddUnlimited(kOrigin1); policy 163 webkit/browser/quota/quota_database_unittest.cc policy->AddProtected(kOrigin2); policy 165 webkit/browser/quota/quota_database_unittest.cc kStorageTypeTemporary, exceptions, policy.get(), &origin)); policy 87 webkit/browser/quota/quota_manager.cc SpecialStoragePolicy* policy, policy 94 webkit/browser/quota/quota_manager.cc if (!policy) policy 99 webkit/browser/quota/quota_manager.cc if (policy->IsStorageProtected(*itr)) policy 101 webkit/browser/quota/quota_manager.cc if (policy->IsStorageUnlimited(*itr)) policy 148 webkit/browser/quota/quota_manager.cc SpecialStoragePolicy* policy, policy 152 webkit/browser/quota/quota_manager.cc database->GetLRUOrigin(type, *exceptions, policy, url); policy 21 webkit/common/blob/scoped_file.cc const base::FilePath& path, ScopeOutPolicy policy, policy 24 webkit/common/blob/scoped_file.cc scope_out_policy_(policy), policy 26 webkit/common/blob/scoped_file.cc DCHECK(path.empty() || policy != DELETE_ON_SCOPE_OUT || file_task_runner) policy 28 webkit/common/blob/scoped_file.cc << " policy:" << policy policy 51 webkit/common/blob/scoped_file.h ScopeOutPolicy policy, policy 73 webkit/common/blob/shareable_file_reference.cc FinalReleasePolicy policy, policy 76 webkit/common/blob/shareable_file_reference.cc ScopedFile(path, static_cast<ScopedFile::ScopeOutPolicy>(policy), policy 37 webkit/common/blob/shareable_file_reference.h FinalReleasePolicy policy,