Searched refs:policy_name (Results 26 - 45 of 45) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/policy/
H A Dconfiguration_policy_handler_chromeos.cc121 ExternalDataPolicyHandler::ExternalDataPolicyHandler(const char* policy_name) argument
122 : TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_DICTIONARY) {
133 const std::string policy = policy_name();
204 errors->AddError(policy_name(), IDS_POLICY_NETWORK_CONFIG_PARSE_FAILED);
223 errors->AddError(policy_name(), IDS_POLICY_NETWORK_CONFIG_IMPORT_PARTIAL);
225 errors->AddError(policy_name(), IDS_POLICY_NETWORK_CONFIG_IMPORT_FAILED);
237 const base::Value* value = policies.GetValue(policy_name());
261 const PolicyMap::Entry* entry = policies->Get(policy_name());
268 policies->Set(policy_name(), entry->level, entry->scope,
273 const char* policy_name,
272 NetworkConfigurationPolicyHandler( const char* policy_name, onc::ONCSource onc_source, const char* pref_path) argument
[all...]
H A Dconfiguration_policy_handler_chromeos.h27 explicit ExternalDataPolicyHandler(const char* policy_name);
60 const char* policy_name,
H A Ddevice_policy_decoder_chromeos.cc52 // according to a policy schema. |policy_name| is the name of a policy schema
57 const std::string& policy_name) {
70 .GetKnownProperty(policy_name);
78 LOG(WARNING) << "Invalid policy value for " << policy_name << ": "
84 LOG(WARNING) << "Some properties in " << policy_name
88 LOG(WARNING) << "Unknown or invalid policy schema for " << policy_name
55 DecodeJsonStringAndDropUnknownBySchema( const std::string& json_string, const std::string& policy_name) argument
/external/chromium_org/remoting/host/policy_hack/
H A Dpolicy_watcher_win.cc176 const std::string& policy_name = i.key(); local
179 if (GetRegistryPolicyBoolean(policy_name, &bool_value)) {
180 policy->SetBoolean(policy_name, bool_value);
185 if (GetRegistryPolicyString(policy_name, &string_value)) {
186 policy->SetString(policy_name, string_value);
/external/chromium_org/chrome/browser/sessions/
H A Drestore_on_startup_policy_handler.cc30 policies.GetValue(policy_name());
90 errors->AddError(policy_name(), IDS_POLICY_VALUE_DEPRECATED);
122 errors->AddError(policy_name(),
/external/chromium_org/chrome/browser/extensions/api/messaging/
H A Dnative_messaging_policy_handler.h24 NativeMessagingHostListPolicyHandler(const char* policy_name,
/external/chromium_org/components/policy/core/common/
H A Dpolicy_loader_win_unittest.cc183 virtual void InstallStringPolicy(const std::string& policy_name,
185 virtual void InstallIntegerPolicy(const std::string& policy_name,
187 virtual void InstallBooleanPolicy(const std::string& policy_name,
190 const std::string& policy_name,
193 const std::string& policy_name,
234 virtual void InstallStringPolicy(const std::string& policy_name,
236 virtual void InstallIntegerPolicy(const std::string& policy_name,
238 virtual void InstallBooleanPolicy(const std::string& policy_name,
241 const std::string& policy_name,
244 const std::string& policy_name,
358 InstallStringPolicy( const std::string& policy_name, const std::string& policy_value) argument
367 InstallIntegerPolicy( const std::string& policy_name, int policy_value) argument
376 InstallBooleanPolicy( const std::string& policy_name, bool policy_value) argument
385 InstallStringListPolicy( const std::string& policy_name, const base::ListValue* policy_value) argument
406 InstallDictionaryPolicy( const std::string& policy_name, const base::DictionaryValue* policy_value) argument
489 InstallStringPolicy(const std::string& policy_name, const std::string& policy_value) argument
494 InstallIntegerPolicy(const std::string& policy_name, int policy_value) argument
499 InstallBooleanPolicy(const std::string& policy_name, bool policy_value) argument
504 InstallStringListPolicy( const std::string& policy_name, const base::ListValue* policy_value) argument
510 InstallDictionaryPolicy( const std::string& policy_name, const base::DictionaryValue* policy_value) argument
[all...]
H A Dpolicy_service.h93 // Will invoke |callback| whenever |policy_name| changes its value, as long
96 // same |policy_name| will overwrite the previous callback.
97 void Observe(const std::string& policy_name, const UpdateCallback& callback);
H A Dconfiguration_policy_provider_test.cc216 const char* policy_name,
225 .Set(policy_name,
215 CheckValue( const char* policy_name, const base::Value& expected_value, base::Closure install_value) argument
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/
H A Dplist_writer.py90 policy_name = policy['name']
97 self._AddStringKeyValuePair(dict, 'pfm_name', policy_name)
/external/chromium_org/components/search_engines/
H A Ddefault_search_policy_handler.h49 // Returns whether there is a value for |policy_name| in |policies|.
51 const char* policy_name);
/external/chromium_org/tools/grit/grit/format/policy_templates/
H A Dpolicy_template_generator_unittest.py166 self.policy_name = None
344 self.policy_name = None
/external/chromium_org/chrome/browser/net/
H A Dproxy_policy_handler.cc212 const PolicyMap& policies, const char* policy_name) {
221 if (!settings->Get(policy_name, &policy_value) ||
211 GetProxyPolicyValue( const PolicyMap& policies, const char* policy_name) argument
/external/chromium_org/components/policy/core/browser/
H A Dconfiguration_policy_handler_unittest.cc684 const char policy_name[] = "PolicyForTesting"; local
732 policy_name,
740 policy_name,
748 policy_name,
756 policy_name,
764 policy_map_dict->Get(policy_name, &value_expected_in_pref);
/external/chromium_org/chrome/browser/policy/
H A Dpolicy_prefs_browsertest.cc247 const std::string policy_name = GetPolicyName(it.key()); local
248 if (!chrome_schema.GetKnownProperty(policy_name).valid())
252 policy_test_cases_[policy_name].push_back(policy_test_case);
H A Dconfiguration_policy_handler_list_factory.cc556 new SimplePolicyHandler(kSimplePolicyMap[i].policy_name,
H A Dpolicy_browsertest.cc2976 // The |policy_name| is the name of either the audio or video capture allow
2982 void ConfigurePolicyMap(PolicyMap* policies, const char* policy_name, argument
2985 policies->Set(policy_name,
/external/chromium_org/chrome/browser/media/
H A Dmedia_stream_devices_controller.cc454 const char* policy_name; member in struct:__anon4213
472 device_checks[i].policy_name,
H A Dmedia_capture_devices_dispatcher.cc379 const char* policy_name = type == content::MEDIA_DEVICE_AUDIO_CAPTURE local
386 profile, security_origin, policy_name, list_policy_name) ==
420 const char* policy_name = type == content::MEDIA_DEVICE_AUDIO_CAPTURE local
427 profile, security_origin, policy_name, list_policy_name) ==
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dpreferences_browsertest.cc862 void SetONCPolicy(const char* policy_name, policy::PolicyScope scope) { argument
879 map.Set(policy_name,

Completed in 415 milliseconds

12