Searched refs:policy (Results 276 - 300 of 1194) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/browser/policy/
H A Dpolicy_prefs_browsertest.cc33 #include "components/policy/core/browser/browser_policy_connector.h"
34 #include "components/policy/core/common/external_data_fetcher.h"
35 #include "components/policy/core/common/external_data_manager.h"
36 #include "components/policy/core/common/mock_configuration_policy_provider.h"
37 #include "components/policy/core/common/policy_details.h"
38 #include "components/policy/core/common/policy_map.h"
39 #include "components/policy/core/common/schema.h"
42 #include "policy/policy_constants.h"
50 namespace policy { namespace
66 // setting indicators for a pref affected by a policy wor
70 IndicatorTestCase(const base::DictionaryValue& policy, const std::string& value, bool readonly) argument
76 const base::DictionaryValue& policy() const { return *policy_; } function in class:policy::__anon4415::IndicatorTestCase
189 SetTestPolicy(const base::DictionaryValue& policy) argument
302 const base::DictionaryValue* policy = NULL; local
339 const base::DictionaryValue* policy = NULL; local
[all...]
/external/chromium_org/chrome/browser/
H A Dbrowser_process_platform_part_chromeos.h29 namespace policy { namespace
74 policy::BrowserPolicyConnectorChromeOS* browser_policy_connector_chromeos();
83 virtual scoped_ptr<policy::BrowserPolicyConnector>
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
H A Duser_image_manager.h87 virtual void OnExternalDataSet(const std::string& policy) = 0;
90 virtual void OnExternalDataCleared(const std::string& policy) = 0;
97 virtual void OnExternalDataFetched(const std::string& policy,
/external/chromium_org/chrome/browser/chromeos/login/
H A Dversion_info_updater.h15 #include "components/policy/core/common/cloud/cloud_policy_store.h"
22 // version, boot times and cloud policy.
23 class VersionInfoUpdater : public policy::CloudPolicyStore::Observer {
49 // policy::CloudPolicyStore::Observer interface:
50 virtual void OnStoreLoaded(policy::CloudPolicyStore* store) OVERRIDE;
51 virtual void OnStoreError(policy::CloudPolicyStore* store) OVERRIDE;
/external/chromium_org/chrome/browser/extensions/api/storage/
H A Dpolicy_value_store_unittest.cc13 #include "components/policy/core/common/external_data_fetcher.h"
14 #include "components/policy/core/common/policy_map.h"
121 policy::PolicyMap policies;
123 policies.Set("must", policy::POLICY_LEVEL_MANDATORY,
124 policy::POLICY_SCOPE_USER, expected.DeepCopy(), NULL);
125 policies.Set("may", policy::POLICY_LEVEL_RECOMMENDED,
126 policy::POLICY_SCOPE_USER,
156 // Notify when setting the initial policy.
167 policy::PolicyMap policies;
168 policies.Set("aaa", policy
[all...]
/external/chromium_org/chrome/browser/prefs/
H A Dchrome_pref_service_factory.h18 namespace policy { namespace
66 policy::PolicyService* policy_service,
74 policy::PolicyService* policy_service,
H A Dsynced_pref_change_registrar_browsertest.cc28 #include "components/policy/core/browser/browser_policy_connector.h"
29 #include "components/policy/core/common/mock_configuration_policy_provider.h"
30 #include "components/policy/core/common/policy_map.h"
31 #include "policy/policy_constants.h"
45 void UpdateChromePolicy(const policy::PolicyMap& policies) {
100 policy::BrowserPolicyConnector::SetPolicyProviderForTesting(
127 policy::MockConfigurationPolicyProvider policy_provider_;
191 policy::PolicyMap policies;
192 policies.Set(policy::key::kShowHomeButton,
193 policy
[all...]
/external/chromium_org/components/policy/core/common/cloud/
H A Dcloud_policy_store.cc5 #include "components/policy/core/common/cloud/cloud_policy_store.h"
8 #include "components/policy/core/common/cloud/cloud_external_data_manager.h"
10 namespace policy { namespace
25 const enterprise_management::PolicyFetchResponse& policy,
28 Store(policy);
68 } // namespace policy
24 Store( const enterprise_management::PolicyFetchResponse& policy, int64 invalidation_version) argument
H A Duser_cloud_policy_store.h14 #include "components/policy/core/common/cloud/user_cloud_policy_store_base.h"
15 #include "components/policy/policy_export.h"
16 #include "policy/proto/policy_signing_key.pb.h"
22 namespace policy { namespace
24 // Implements a cloud policy store that is stored in a simple file in the user's
29 // Creates a policy store associated with a signed-in (or in the progress of
45 // Sets the username from signin for validation of the policy.
48 // Loads policy immediately on the current thread. Virtual for mocks.
51 // Deletes any existing policy blob and notifies observers via OnStoreLoaded()
58 const enterprise_management::PolicyFetchResponse& policy) OVERRID
[all...]
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dsched.h153 PTW32_DLLPORT int __cdecl sched_get_priority_min (int policy);
155 PTW32_DLLPORT int __cdecl sched_get_priority_max (int policy);
157 PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int policy);
/external/chromium_org/net/cert/
H A Dx509_util_mac.h20 // Creates a security policy for certificates used as client certificates
22 // If a policy is successfully created, it will be stored in
23 // |*policy| and ownership transferred to the caller.
24 OSStatus NET_EXPORT CreateSSLClientPolicy(SecPolicyRef* policy);
26 // Create an SSL server policy. While certificate name validation will be
34 // On success, stores the resultant policy in |*policy| and returns noErr.
36 SecPolicyRef* policy);
38 // Creates a security policy for basic X.509 validation. If the policy i
[all...]
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dsandbox_bpf_test_runner.cc30 scoped_ptr<SandboxBPFPolicy> policy = local
41 // Initialize and then start the sandbox with our custom policy
44 sandbox.SetSandboxPolicy(policy.release());
58 // Call the compiler and verify the policy. That's the least we can do,
61 sandbox.SetSandboxPolicy(policy.release());
/external/chromium_org/ui/shell_dialogs/
H A Dselect_file_dialog_android.h19 SelectFilePolicy* policy);
56 SelectFileDialogImpl(Listener* listener, SelectFilePolicy* policy);
67 SelectFilePolicy* policy);
/external/sepolicy/tools/sepolicy-analyze/
H A Dsepolicy-analyze.c30 fprintf(stderr, "%s must be called on a policy file with a component and the appropriate arguments specified\n", arg0);
31 fprintf(stderr, "%s <policy-file>:\n", arg0);
40 char *policy; local
48 policy = argv[1];
49 if(load_policy(policy, &policydb, &pf))
/external/chromium_org/chrome/browser/chromeos/policy/
H A Duser_cloud_policy_store_chromeos_unittest.cc5 #include "chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h"
18 #include "components/policy/core/common/cloud/cloud_policy_constants.h"
19 #include "components/policy/core/common/cloud/mock_cloud_policy_store.h"
20 #include "components/policy/core/common/cloud/policy_builder.h"
21 #include "policy/policy_constants.h"
22 #include "policy/proto/cloud_policy.pb.h"
23 #include "policy/proto/device_management_local.pb.h"
38 namespace policy { namespace
76 // the stored/loaded policy blob succeeds.
137 // before loading the policy, s
[all...]
H A Duser_cloud_policy_store_chromeos.h18 #include "components/policy/core/common/cloud/cloud_policy_validator.h"
19 #include "components/policy/core/common/cloud/user_cloud_policy_store_base.h"
30 namespace policy { namespace
34 // Implements a cloud policy store backed by the Chrome OS' session_manager,
35 // which takes care of persisting policy to disk and is accessed via DBus calls
39 // UserPolicyDiskCache instances, migrating policy from these to session_manager
55 const enterprise_management::PolicyFetchResponse& policy) OVERRIDE;
58 // Loads the policy synchronously on the current thread.
62 // Starts validation of |policy| before storing it.
64 scoped_ptr<enterprise_management::PolicyFetchResponse> policy);
[all...]
H A Dnetwork_configuration_updater_unittest.cc12 #include "chrome/browser/chromeos/policy/device_network_configuration_updater.h"
13 #include "chrome/browser/chromeos/policy/user_network_configuration_updater.h"
24 #include "components/policy/core/common/external_data_fetcher.h"
25 #include "components/policy/core/common/mock_configuration_policy_provider.h"
26 #include "components/policy/core/common/policy_map.h"
27 #include "components/policy/core/common/policy_service_impl.h"
35 #include "policy/policy_constants.h"
47 namespace policy { namespace
250 void UpdateProviderPolicy(const PolicyMap& policy) { argument
251 provider_.UpdateChromePolicy(policy);
359 PolicyMap policy; local
482 PolicyMap policy; local
505 PolicyMap policy; local
571 PolicyMap policy; local
592 PolicyMap policy; local
619 PolicyMap policy; local
658 PolicyMap policy; local
[all...]
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
H A Dwallpaper_manager_policy_browsertest.cc24 #include "chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.h"
25 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h"
26 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.h"
36 #include "components/policy/core/common/cloud/cloud_policy_core.h"
37 #include "components/policy/core/common/cloud/cloud_policy_store.h"
38 #include "components/policy/core/common/cloud/cloud_policy_validator.h"
39 #include "components/policy/core/common/cloud/policy_builder.h"
45 #include "policy/proto/cloud_policy.pb.h"
65 policy::CloudPolicyStore* GetStoreForUser(const user_manager::User* user) {
71 policy
222 std::string policy; local
226 &policy); local
[all...]
/external/chromium_org/chrome/browser/chromeos/login/users/
H A Dchrome_user_manager_impl.cc35 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
36 #include "chrome/browser/chromeos/policy/device_local_account.h"
58 #include "policy/policy_constants.h"
133 policy::BrowserPolicyConnectorChromeOS* connector =
135 avatar_policy_observer_.reset(new policy::CloudExternalDataPolicyObserver(
138 policy::key::kUserAvatarImage,
142 wallpaper_policy_observer_.reset(new policy::CloudExternalDataPolicyObserver(
145 policy::key::kWallpaperImage,
219 // Users with a policy that prevents them being added to a session will be
241 // primary user has primary-only multi-profile policy
393 OnExternalDataSet(const std::string& policy, const std::string& user_id) argument
403 OnExternalDataCleared(const std::string& policy, const std::string& user_id) argument
413 OnExternalDataFetched( const std::string& policy, const std::string& user_id, scoped_ptr<std::string> data) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dkiosk_app_manager.cc26 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
27 #include "chrome/browser/chromeos/policy/device_local_account.h"
135 policy::BrowserPolicyConnectorChromeOS* connector =
139 policy::DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH,
147 policy::BrowserPolicyConnectorChromeOS* connector =
156 policy::BrowserPolicyConnectorChromeOS* connector =
165 policy::EnterpriseInstallAttributes::LockResult result) {
169 callback.Run(result == policy::EnterpriseInstallAttributes::LOCK_SUCCESS);
196 policy::BrowserPolicyConnectorChromeOS* connector =
198 policy
[all...]
/external/chromium_org/chrome/browser/renderer_host/
H A Dchrome_resource_dispatcher_host_delegate_browsertest.cc8 #include "chrome/browser/policy/cloud/policy_header_service_factory.h"
14 #include "components/policy/core/common/cloud/cloud_policy_constants.h"
15 #include "components/policy/core/common/cloud/policy_header_io_helper.h"
16 #include "components/policy/core/common/cloud/policy_header_service.h"
17 #include "components/policy/core/common/policy_switches.h"
120 policy::PolicyHeaderService* policy_header_service =
121 policy::PolicyHeaderServiceFactory::GetForBrowserContext(
123 std::vector<policy::PolicyHeaderIOHelper*> helpers =
125 for (std::vector<policy::PolicyHeaderIOHelper*>::const_iterator it =
150 // When fetching non-DMServer URLs, we should not add a policy heade
[all...]
/external/chromium_org/chrome/browser/policy/cloud/
H A Dcloud_policy_invalidator.cc5 #include "chrome/browser/policy/cloud/cloud_policy_invalidator.h"
18 #include "components/policy/core/common/cloud/cloud_policy_client.h"
19 #include "components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h"
20 #include "components/policy/core/common/cloud/enterprise_metrics.h"
21 #include "policy/policy_constants.h"
23 namespace policy { namespace
156 bool policy_changed = IsPolicyChanged(store->policy());
172 // If the policy was invalid and the version stored matches the latest
182 UpdateRegistration(store->policy());
248 // In order to prevent the cloud policy serve
274 UpdateRegistration( const enterprise_management::PolicyData* policy) argument
380 IsPolicyChanged( const enterprise_management::PolicyData* policy) argument
[all...]
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DHtmlPolicyBuilder.java52 * To create a policy, first construct an instance of this class; then call
58 * // Define the policy.
59 * Function&lt;HtmlStreamEventReceiver, HtmlSanitizer.Policy&gt; policy
66 * HtmlSanitizer.sanitize(myHtml, policy.apply(myHtmlStreamRenderer));
73 * There is a {@link HtmlPolicyBuilder#allowStandardUrlProtocols canned policy}
82 * Use a custom element or attribute policy to allow through
97 * own {@link ElementPolicy element policy} or
98 * {@link AttributePolicy attribute policy} when calling
100 * E.g. to convert headers into {@code <div>}s, you could use an element policy
128 * effect on the already built policy
199 allowElements( ElementPolicy policy, String... elementNames) argument
324 allowAttributesGlobally( AttributePolicy policy, List<String> attributeNames) argument
340 allowAttributesOnElements( AttributePolicy policy, List<String> attributeNames, List<String> elementNames) argument
636 private AttributePolicy policy = AttributePolicy.IDENTITY_ATTRIBUTE_POLICY; field in class:HtmlPolicyBuilder.AttributeBuilder
649 matching(AttributePolicy policy) argument
[all...]
/external/chromium_org/components/policy/core/common/
H A Dpolicy_loader_win.cc5 #include "components/policy/core/common/policy_loader_win.h"
43 #include "components/policy/core/common/policy_bundle.h"
44 #include "components/policy/core/common/policy_load_status.h"
45 #include "components/policy/core/common/policy_map.h"
46 #include "components/policy/core/common/policy_namespace.h"
47 #include "components/policy/core/common/preg_parser_win.h"
48 #include "components/policy/core/common/registry_dict_win.h"
49 #include "components/policy/core/common/schema.h"
50 #include "policy/policy_constants.h"
54 namespace policy { namespace
136 FilterUntrustedPolicy(PolicyMap* policy) argument
310 ParsePolicy(const RegistryDict* gpo_dict, PolicyLevel level, PolicyScope scope, const Schema& schema, PolicyMap* policy) argument
488 ReadPRegFile(const base::FilePath& preg_file, RegistryDict* policy, PolicyLoadStatusSample* status) argument
515 LoadGPOPolicy(PolicyScope scope, PGROUP_POLICY_OBJECT policy_object_list, RegistryDict* policy, PolicyLoadStatusSample* status) argument
558 ReadPolicyFromGPO(PolicyScope scope, RegistryDict* policy, PolicyLoadStatusSample* status) argument
587 PolicyMap policy; local
656 PolicyMap policy; local
[all...]
/external/chromium_org/chrome/browser/android/signin/
H A Dsignin_manager_android.cc31 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h"
32 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h"
33 #include "chrome/browser/policy/cloud/user_policy_signin_service_mobile.h"
34 #include "components/policy/core/browser/browser_policy_connector.h"
35 #include "components/policy/core/common/cloud/cloud_policy_core.h"
36 #include "components/policy/core/common/cloud/cloud_policy_store.h"
37 #include "components/policy/core/common/cloud/user_cloud_policy_manager.h"
94 policy::UserPolicySigninService* service =
95 policy::UserPolicySigninServiceFactory::GetForProfile(profile_);
113 policy
[all...]

Completed in 470 milliseconds

<<11121314151617181920>>