/external/chromium_org/components/policy/core/common/cloud/ |
H A D | cloud_policy_core_unittest.cc | 5 #include "components/policy/core/common/cloud/cloud_policy_core.h" 11 #include "components/policy/core/common/cloud/cloud_policy_constants.h" 12 #include "components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h" 13 #include "components/policy/core/common/cloud/mock_cloud_policy_client.h" 14 #include "components/policy/core/common/cloud/mock_cloud_policy_store.h" 15 #include "components/policy/core/common/policy_pref_names.h" 18 namespace policy { namespace 138 } // namespace policy
|
H A D | cloud_policy_service_unittest.cc | 5 #include "components/policy/core/common/cloud/cloud_policy_service.h" 9 #include "components/policy/core/common/cloud/cloud_policy_constants.h" 10 #include "components/policy/core/common/cloud/mock_cloud_policy_client.h" 11 #include "components/policy/core/common/cloud/mock_cloud_policy_store.h" 12 #include "policy/proto/device_management_backend.pb.h" 20 namespace policy { namespace 62 em::PolicyFetchResponse policy; local 63 policy.set_policy_data("fake policy"); 64 client_.SetPolicy(policy_ns_key_, policy); 105 em::PolicyFetchResponse policy; local 161 em::PolicyFetchResponse policy; local 189 em::PolicyFetchResponse policy; local [all...] |
H A D | component_cloud_policy_store.h | 14 #include "components/policy/core/common/cloud/resource_cache.h" 15 #include "components/policy/core/common/policy_bundle.h" 16 #include "components/policy/core/common/policy_namespace.h" 17 #include "components/policy/policy_export.h" 25 namespace policy { namespace 27 // Validates protobufs for external policy data, validates the data itself, and 35 // Invoked whenever the policies served by policy() have changed, except 50 // dm_protocol policy type that corresponds to |domain| is stored in 54 // Returns true if |policy_type| corresponds to a policy domain that can be 61 const PolicyBundle& policy() cons function in class:policy::ComponentCloudPolicyStore [all...] |
H A D | external_policy_data_updater.h | 17 #include "components/policy/policy_export.h" 23 namespace policy { namespace 27 // This class downloads external policy data. Given a |Request|, data is fetched 125 } // namespace policy
|
H A D | mock_cloud_policy_client.cc | 5 #include "components/policy/core/common/cloud/mock_cloud_policy_client.h" 7 #include "policy/proto/device_management_backend.pb.h" 11 namespace policy { namespace 29 const em::PolicyFetchResponse& policy) { 32 response = new enterprise_management::PolicyFetchResponse(policy); 43 } // namespace policy 28 SetPolicy(const PolicyNamespaceKey& policy_ns_key, const em::PolicyFetchResponse& policy) argument
|
H A D | policy_header_io_helper.cc | 5 #include "components/policy/core/common/cloud/policy_header_io_helper.h" 10 #include "components/policy/core/common/cloud/cloud_policy_constants.h" 13 namespace policy { namespace 27 // Sets any necessary policy headers on the passed request. 67 } // namespace policy
|
H A D | user_cloud_policy_manager_unittest.cc | 5 #include "components/policy/core/common/cloud/user_cloud_policy_manager.h" 11 #include "components/policy/core/common/cloud/cloud_external_data_manager.h" 12 #include "components/policy/core/common/cloud/mock_user_cloud_policy_store.h" 13 #include "components/policy/core/common/external_data_fetcher.h" 14 #include "components/policy/core/common/mock_configuration_policy_provider.h" 15 #include "components/policy/core/common/schema_registry.h" 27 namespace policy { namespace 35 // Set up a policy map for testing. 70 // Convenience policy objects. 85 // Load policy, mak [all...] |
H A D | user_cloud_policy_store.h | 14 #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...] |
H A D | user_cloud_policy_store_base.cc | 5 #include "components/policy/core/common/cloud/user_cloud_policy_store_base.h" 7 #include "components/policy/core/common/cloud/cloud_external_data_manager.h" 8 #include "components/policy/core/common/cloud/cloud_policy_constants.h" 9 #include "components/policy/core/common/policy_map.h" 10 #include "policy/proto/cloud_policy.pb.h" 12 namespace policy { namespace 14 // Decodes a CloudPolicySettings object into a policy map. The implementation is 15 // generated code in policy/cloud_policy_generated.cc. 16 void DecodePolicy(const enterprise_management::CloudPolicySettings& policy, 28 scoped_ptr<enterprise_management::PolicyFetchResponse> policy, 27 CreateValidator( scoped_ptr<enterprise_management::PolicyFetchResponse> policy, CloudPolicyValidatorBase::ValidateTimestampOption timestamp_option) argument [all...] |
H A D | user_info_fetcher_unittest.cc | 6 #include "components/policy/core/common/cloud/user_info_fetcher.h" 15 namespace policy { namespace 80 } // namespace policy
|
H A D | user_policy_request_context.cc | 5 #include "components/policy/core/common/cloud/user_policy_request_context.h" 13 namespace policy { namespace 42 // fetch policy updates even if a bad proxy config is pushed via user 43 // policy. 62 } // namespace policy
|
/external/chromium_org/components/policy/core/common/ |
H A D | configuration_policy_provider.h | 12 #include "components/policy/core/common/policy_bundle.h" 13 #include "components/policy/core/common/policy_namespace.h" 14 #include "components/policy/core/common/schema_registry.h" 15 #include "components/policy/policy_export.h" 17 namespace policy { namespace 19 // A mostly-abstract super class for platform-specific policy providers. 20 // Platform-specific policy providers (Windows Group Policy, gconf, 43 // The policy provider will load policy for the components registered in 58 // policy |domai [all...] |
H A D | configuration_policy_provider_test.h | 15 #include "components/policy/core/common/policy_types.h" 16 #include "components/policy/core/common/schema.h" 17 #include "components/policy/core/common/schema_registry.h" 27 namespace policy { namespace 63 // An interface for creating a test policy provider and creating a policy 76 // Create a new policy provider. 81 // Returns the policy level and scope set by the policy provider. 85 // Helpers to configure the environment the policy provide [all...] |
H A D | external_data_fetcher.cc | 5 #include "components/policy/core/common/external_data_fetcher.h" 8 #include "components/policy/core/common/external_data_manager.h" 10 namespace policy { namespace 14 const std::string& policy) 16 policy_(policy) { 45 } // namespace policy 12 ExternalDataFetcher( base::WeakPtr<ExternalDataManager> manager, const std::string& policy) argument
|
H A D | forwarding_policy_provider.cc | 5 #include "components/policy/core/common/forwarding_policy_provider.h" 7 #include "components/policy/core/common/schema_map.h" 8 #include "components/policy/core/common/schema_registry.h" 10 namespace policy { namespace 48 // OnUpdatePolicy from the delegate will have the initial policy for 87 // Always forward the Chrome policy, even if the components are not ready 96 } // namespace policy
|
H A D | generate_policy_source_unittest.cc | 11 #include "components/policy/core/common/policy_details.h" 12 #include "components/policy/core/common/schema.h" 13 #include "policy/policy_constants.h" 19 namespace policy { namespace 65 subschema = schema.GetProperty("no such policy exists"); 141 EXPECT_FALSE(GetChromePolicyDetails("no such policy")); 173 // than 0, once a type 'external' policy is added. 180 // If policy not configured yet, set the enterprise default. 188 // If policy already configured, it's not changed to enterprise defaults. 202 } // namespace policy [all...] |
H A D | mac_util.cc | 5 #include "components/policy/core/common/mac_util.h" 15 namespace policy { namespace 95 } // namespace policy
|
H A D | policy_bundle.h | 12 #include "components/policy/core/common/policy_map.h" 13 #include "components/policy/core/common/policy_namespace.h" 14 #include "components/policy/policy_export.h" 16 namespace policy { namespace 18 // Maps policy namespaces to PolicyMaps. 41 // Each policy in each PolicyMap is replaced only if the policy from |other| 71 } // namespace policy
|
H A D | policy_map.h | 14 #include "components/policy/core/common/external_data_fetcher.h" 15 #include "components/policy/core/common/policy_types.h" 16 #include "components/policy/policy_export.h" 18 namespace policy { namespace 20 // A mapping of policy names to policy values for a given policy namespace. 23 // Each policy maps to an Entry which keeps the policy value as well as other 24 // relevant data about the policy [all...] |
H A D | policy_namespace.cc | 5 #include "components/policy/core/common/policy_namespace.h" 7 namespace policy { namespace 41 } // namespace policy
|
H A D | policy_provider_android.cc | 5 #include "components/policy/core/common/policy_provider_android.h" 6 #include "components/policy/core/common/policy_provider_android_delegate.h" 8 namespace policy { namespace 38 void PolicyProviderAndroid::SetPolicies(scoped_ptr<PolicyBundle> policy) { argument 40 UpdatePolicy(policy.Pass()); 66 } // namespace policy
|
H A D | policy_service.cc | 5 #include "components/policy/core/common/policy_service.h" 9 namespace policy { namespace 42 } // namespace policy
|
H A D | policy_service_impl.h | 17 #include "components/policy/core/common/configuration_policy_provider.h" 18 #include "components/policy/core/common/policy_bundle.h" 19 #include "components/policy/core/common/policy_service.h" 20 #include "components/policy/policy_export.h" 22 namespace policy { namespace 77 // Maps each policy namespace to its current policies. 80 // Maps each policy domain to its observer list. 83 // True if all the providers are initialized for the indexed policy domain. 94 // Used to create tasks to delay new policy updates while we may be already 95 // processing previous policy update [all...] |
H A D | policy_service_stub.cc | 5 #include "components/policy/core/common/policy_service_stub.h" 9 namespace policy { namespace 35 } // namespace policy
|
H A D | policy_statistics_collector.h | 12 #include "components/policy/core/common/policy_details.h" 13 #include "components/policy/core/common/schema.h" 14 #include "components/policy/policy_export.h" 23 namespace policy { namespace 27 // Manages regular updates of policy usage UMA histograms. 67 } // namespace policy
|