Searched defs:policy (Results 276 - 300 of 820) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/browser/chromeos/attestation/
H A Dattestation_policy_browsertest.cc11 #include "chrome/browser/chromeos/policy/device_policy_builder.h"
12 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h"
13 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h"
22 namespace policy { namespace
53 // Refreshes device policy and waits for it to be applied.
124 } // namespace policy
/external/chromium_org/chrome/browser/chromeos/login/enrollment/
H A Dauto_enrollment_controller.h15 #include "chrome/browser/chromeos/policy/auto_enrollment_client.h"
18 namespace policy { namespace
28 typedef base::CallbackList<void(policy::AutoEnrollmentState)>
70 policy::AutoEnrollmentState state() const { return state_; }
81 void UpdateState(policy::AutoEnrollmentState state);
83 policy::AutoEnrollmentState state_;
86 scoped_ptr<policy::AutoEnrollmentClient> client_;
/external/chromium_org/chrome/browser/chromeos/login/screens/
H A Duser_image_screen.h24 namespace policy { namespace
89 // Called when the policy::key::kUserAvatarImage policy changes while the
90 // screen is being shown. If the policy is set, closes the screen because the
91 // user is not allowed to override a policy-set image.
112 scoped_ptr<policy::PolicyChangeRegistrar> policy_registrar_;
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dapp_pack_updater.h27 namespace policy { namespace
33 // device policy to be locally cached and installed into the Demo user account
73 // Loads the current policy and schedules a cache update.
85 // if it is configured by the policy. Otherwise these fields are empty.
112 } // namespace policy
H A Dcloud_external_data_policy_observer.h16 #include "chrome/browser/chromeos/policy/device_local_account_policy_service.h"
18 #include "components/policy/core/common/policy_map.h"
22 namespace policy { namespace
40 virtual void OnExternalDataSet(const std::string& policy,
44 virtual void OnExternalDataCleared(const std::string& policy,
52 virtual void OnExternalDataFetched(const std::string& policy,
63 const std::string& policy,
84 // Handles the new policy map |entry| for |user_id| by canceling any external
94 // A map from each device-local account user ID to its current policy map
108 // The policy tha
[all...]
H A Dcloud_external_data_store.cc5 #include "chrome/browser/chromeos/policy/cloud_external_data_store.h"
12 #include "components/policy/core/common/cloud/resource_cache.h"
15 namespace policy { namespace
19 // Encodes (policy, hash) into a single string.
20 std::string GetSubkey(const std::string& policy, const std::string& hash) { argument
21 DCHECK(!policy.empty());
23 return base::IntToString(policy.size()) + ":" +
25 policy + hash;
54 bool CloudExternalDataStore::Store(const std::string& policy, argument
58 return cache_->Store(cache_key_, GetSubkey(policy, has
61 Load(const std::string& policy, const std::string& hash, size_t max_size, std::string* data) argument
[all...]
H A Ddevice_cloud_policy_store_chromeos.cc5 #include "chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h"
12 #include "chrome/browser/chromeos/policy/device_policy_decoder_chromeos.h"
13 #include "chrome/browser/chromeos/policy/enterprise_install_attributes.h"
14 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h"
16 #include "policy/proto/device_management_backend.pb.h"
20 namespace policy { namespace
39 const em::PolicyFetchResponse& policy) {
53 scoped_ptr<DeviceCloudPolicyValidator> validator(CreateValidator(policy));
72 const em::PolicyFetchResponse& policy) {
84 scoped_ptr<DeviceCloudPolicyValidator> validator(CreateValidator(policy));
38 Store( const em::PolicyFetchResponse& policy) argument
71 InstallInitialPolicy( const em::PolicyFetchResponse& policy) argument
102 CreateValidator( const em::PolicyFetchResponse& policy) argument
[all...]
H A Ddevice_cloud_policy_store_chromeos_unittest.cc5 #include "chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h"
15 #include "chrome/browser/chromeos/policy/enterprise_install_attributes.h"
16 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h"
24 #include "policy/policy_constants.h"
27 namespace policy { namespace
83 EXPECT_TRUE(store_->policy());
158 store_->Store(device_policy_.policy());
165 device_policy_.policy().clear_policy_data_signature();
166 store_->Store(device_policy_.policy());
175 device_policy_.policy()
[all...]
H A Ddevice_network_configuration_updater.cc5 #include "chrome/browser/chromeos/policy/device_network_configuration_updater.h"
14 #include "policy/policy_constants.h"
16 namespace policy { namespace
65 // Importing CA and server certs from device policy is not allowed, while
108 } // namespace policy
H A Ddevice_policy_cros_browser_test.cc5 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h"
14 #include "chrome/browser/chromeos/policy/device_policy_builder.h"
15 #include "chrome/browser/chromeos/policy/enterprise_install_attributes.h"
28 namespace policy { namespace
109 } // namespace policy
H A Dpolicy_oauth2_token_fetcher.h26 namespace policy { namespace
29 // creation might be blocking on a user policy fetch, this fetcher must always
30 // send a (possibly empty) token to the callback, which will then let the policy
109 // True if we have already failed to fetch the policy.
118 } // namespace policy
H A Duser_cloud_policy_manager_chromeos.h18 #include "components/policy/core/common/cloud/cloud_policy_client.h"
19 #include "components/policy/core/common/cloud/cloud_policy_constants.h"
20 #include "components/policy/core/common/cloud/cloud_policy_manager.h"
21 #include "components/policy/core/common/cloud/cloud_policy_service.h"
34 namespace policy { namespace
41 // UserCloudPolicyManagerChromeOS implements logic for initializing user policy
49 // false as long as there hasn't been a successful policy fetch.
50 // |task_runner| is the runner for policy refresh tasks.
74 // This class is one of the policy providers, and must be ready for the
112 // Fetches a policy toke
[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 Duser_network_configuration_updater.h16 #include "chrome/browser/chromeos/policy/network_configuration_updater.h"
44 namespace policy { namespace
65 // Creates an updater that applies the ONC user policy from |policy_service|
66 // for user |user| once the policy service is completely initialized and on
67 // each policy change. Imported certificates, that request it, are only
81 // last received policy.
130 // The user for whom the user policy will be applied.
136 // be empty if Web trust from policy is not allowed.
140 // to a copy of the policy for which the import was requested.
141 // The policy wil
[all...]
H A Duser_policy_disk_cache.cc5 #include "chrome/browser/chromeos/policy/user_policy_disk_cache.h"
14 #include "components/policy/core/common/cloud/enterprise_metrics.h"
15 #include "policy/proto/device_management_local.pb.h"
19 namespace policy { namespace
40 const em::CachedCloudPolicyResponse& policy) {
44 base::Bind(&UserPolicyDiskCache::StoreOnFileThread, this, policy));
61 LOG(WARNING) << "Failed to read policy data from "
69 LOG(WARNING) << "Failed to parse policy data read from "
80 const em::CachedCloudPolicyResponse& policy) {
84 &UserPolicyDiskCache::ReportResultOnUIThread, this, result, policy));
39 Store( const em::CachedCloudPolicyResponse& policy) argument
78 LoadDone( LoadResult result, const em::CachedCloudPolicyResponse& policy) argument
87 ReportResultOnUIThread( LoadResult result, const em::CachedCloudPolicyResponse& policy) argument
112 StoreOnFileThread( const em::CachedCloudPolicyResponse& policy) argument
[all...]
H A Duser_policy_token_loader.cc5 #include "chrome/browser/chromeos/policy/user_policy_token_loader.h"
13 #include "components/policy/core/common/cloud/enterprise_metrics.h"
14 #include "policy/proto/device_management_local.pb.h"
16 namespace policy { namespace
53 UMA_HISTOGRAM_ENUMERATION(policy::kMetricToken,
55 policy::kMetricTokenSize);
57 UMA_HISTOGRAM_ENUMERATION(policy::kMetricToken,
59 policy::kMetricTokenSize);
78 } // namespace policy
/external/chromium_org/chrome/browser/extensions/activity_log/
H A Duma_policy_unittest.cc25 ActivityLogPolicy* policy = new UmaPolicy(profile_.get()); local
26 policy->Close();
30 UmaPolicy* policy = new UmaPolicy(profile_.get()); local
34 ASSERT_EQ(UmaPolicy::NONE, policy->MatchActionToStatus(action));
39 (1 << UmaPolicy::CONTENT_SCRIPT), policy->MatchActionToStatus(action));
44 (1 << UmaPolicy::CONTENT_SCRIPT) & policy->MatchActionToStatus(action));
46 (1 << UmaPolicy::CONTENT_SCRIPT), policy->MatchActionToStatus(action));
52 ASSERT_TRUE((1 << UmaPolicy::READ_DOM) & policy->MatchActionToStatus(action));
53 ASSERT_EQ((1 << UmaPolicy::READ_DOM), policy->MatchActionToStatus(action));
58 (1 << UmaPolicy::MODIFIED_DOM) & policy
90 UmaPolicy* policy = new UmaPolicy(profile_.get()); local
130 UmaPolicy* policy = new UmaPolicy(profile_.get()); local
[all...]
/external/chromium_org/chrome/browser/extensions/api/sync_file_system/
H A Dsync_file_system_api_helpers.cc77 api::sync_file_system::ConflictResolutionPolicy policy) {
78 switch (policy) {
86 NOTREACHED() << "Invalid conflict resolution policy: " << policy;
92 sync_file_system::ConflictResolutionPolicy policy) {
93 switch (policy) {
104 NOTREACHED() << "Invalid conflict resolution policy: " << policy;
76 ExtensionEnumToConflictResolutionPolicy( api::sync_file_system::ConflictResolutionPolicy policy) argument
91 ConflictResolutionPolicyToExtensionEnum( sync_file_system::ConflictResolutionPolicy policy) argument
/external/chromium_org/chrome/browser/policy/
H A Dchrome_browser_policy_connector.cc5 #include "chrome/browser/policy/chrome_browser_policy_connector.h"
16 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
17 #include "chrome/browser/policy/device_management_service_configuration.h"
19 #include "components/policy/core/common/async_policy_provider.h"
20 #include "components/policy/core/common/cloud/device_management_service.h"
21 #include "components/policy/core/common/configuration_policy_provider.h"
22 #include "components/policy/core/common/policy_map.h"
23 #include "components/policy/core/common/policy_namespace.h"
24 #include "components/policy/core/common/policy_service.h"
25 #include "components/policy/cor
45 namespace policy { namespace
[all...]
H A Dmanaged_bookmarks_policy_handler.cc5 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h"
10 #include "components/policy/core/browser/managed_bookmarks_tracker.h"
11 #include "components/policy/core/browser/policy_error_map.h"
12 #include "components/policy/core/common/policy_map.h"
14 #include "policy/policy_constants.h"
17 namespace policy { namespace
84 } // namespace policy
/external/chromium_org/chrome/browser/policy/cloud/
H A Dpolicy_header_service_factory.cc5 #include "chrome/browser/policy/cloud/policy_header_service_factory.h"
11 #include "components/policy/core/browser/browser_policy_connector.h"
12 #include "components/policy/core/common/cloud/cloud_policy_store.h"
13 #include "components/policy/core/common/cloud/device_management_service.h"
14 #include "components/policy/core/common/cloud/policy_header_service.h"
17 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h"
18 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h"
19 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h"
20 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.h"
22 #include "chrome/browser/policy/clou
26 namespace policy { namespace
[all...]
H A Duser_policy_signin_service_base.h17 #include "components/policy/core/common/cloud/cloud_policy_client.h"
18 #include "components/policy/core/common/cloud/cloud_policy_service.h"
30 namespace policy { namespace
35 // The UserPolicySigninService is responsible for interacting with the policy
36 // infrastructure (mainly UserCloudPolicyManager) to load policy for the signed
39 // At signin time, this class initializes the UCPM and loads policy before any
41 // ensures that the CloudPolicyClient is registered (in case the policy server
42 // was offline during the initial policy fetch) and if not it initiates a fresh
46 // the policy infrastructure to ensure that any cached policy i
[all...]
H A Duser_policy_signin_service_factory.cc5 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h"
10 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h"
16 #include "components/policy/core/browser/browser_policy_connector.h"
21 #include "chrome/browser/policy/cloud/user_policy_signin_service_mobile.h"
23 #include "chrome/browser/policy/cloud/user_policy_signin_service.h"
26 namespace policy { namespace
108 } // namespace policy
/external/chromium_org/chrome/browser/sessions/
H A Drestore_on_startup_policy_handler_unittest.cc16 #include "components/policy/core/browser/configuration_policy_handler.h"
17 #include "components/policy/core/browser/policy_error_map.h"
18 #include "components/policy/core/common/policy_map.h"
20 #include "policy/policy_constants.h"
24 namespace policy { namespace
28 void SetPolicyValue(const std::string& policy, base::Value* value) { argument
30 policy, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, value, NULL);
63 // Don't specify a value for the policy.
70 // Specify an unknown value for the policy.
166 // Don't specify a value for the policy
[all...]
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dselect_file_dialog_impl.cc37 ui::SelectFilePolicy* policy) {
60 return SelectFileDialogImpl::NewSelectFileDialogImplGTK(listener, policy);
66 listener, policy, desktop);
70 ui::SelectFilePolicy* policy)
71 : SelectFileDialog(listener, policy),
35 Create( ui::SelectFileDialog::Listener* listener, ui::SelectFilePolicy* policy) argument
69 SelectFileDialogImpl(Listener* listener, ui::SelectFilePolicy* policy) argument

Completed in 1576 milliseconds

<<11121314151617181920>>