Searched defs:onc_source (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/options/
H A Dnetwork_property_ui_data.cc15 NetworkPropertyUIData::NetworkPropertyUIData(onc::ONCSource onc_source) argument
16 : onc_source_(onc_source) {
22 void NetworkPropertyUIData::ParseOncProperty(onc::ONCSource onc_source, argument
26 onc_source_ = onc_source;
H A Dvpn_config_view.cc1055 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
1057 onc::FindPolicyForActiveUser(network->guid(), &onc_source);
1061 onc_source,
H A Dwifi_config_view.cc1364 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
1366 onc::FindPolicyForActiveUser(network->guid(), &onc_source);
1370 property_ui_data->ParseOncProperty(onc_source, onc, onc_tag + '.' + key);
/external/chromium_org/chrome/browser/chromeos/net/
H A Dproxy_config_handler.cc45 ::onc::ONCSource* onc_source) {
48 profile_prefs, local_state_prefs, network, onc_source);
41 GetProxyConfigForNetwork( const PrefService* profile_prefs, const PrefService* local_state_prefs, const NetworkState& network, ::onc::ONCSource* onc_source) argument
H A Donc_utils.cc267 ::onc::ONCSource* onc_source) {
271 FindPolicyByGUID(username_hash, guid, onc_source);
424 ::onc::ONCSource* onc_source) {
426 *onc_source = ::onc::ONC_SOURCE_NONE;
432 *onc_source = ::onc::ONC_SOURCE_USER_POLICY;
439 *onc_source = ::onc::ONC_SOURCE_DEVICE_POLICY;
265 FindPolicyForActiveUser( const std::string& guid, ::onc::ONCSource* onc_source) argument
420 GetPolicyForNetwork( const PrefService* profile_prefs, const PrefService* local_state_prefs, const NetworkState& network, ::onc::ONCSource* onc_source) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dnetwork_configuration_updater.cc40 onc::ONCSource onc_source,
44 : onc_source_(onc_source),
39 NetworkConfigurationUpdater( onc::ONCSource onc_source, std::string policy_key, PolicyService* policy_service, chromeos::ManagedNetworkConfigurationHandler* network_config_handler) argument
H A Dconfiguration_policy_handler_chromeos.cc274 onc::ONCSource onc_source,
277 onc_source_(onc_source),
272 NetworkConfigurationPolicyHandler( const char* policy_name, onc::ONCSource onc_source, const char* pref_path) argument
/external/chromium_org/chrome/browser/chromeos/
H A Dproxy_config_service_impl.cc32 // Writes the proxy config of |network| to |proxy_config|. Set |onc_source| to
39 ::onc::ONCSource* onc_source) {
42 profile_prefs, local_state_prefs, network, onc_source);
120 ::onc::ONCSource onc_source) {
143 if (onc_source == ::onc::ONC_SOURCE_DEVICE_POLICY) {
175 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
177 prefs(), local_state_prefs_, *network, &network_config, &onc_source);
179 IgnoreProxy(profile_prefs_, network->profile_path(), onc_source);
35 GetProxyConfig(const PrefService* profile_prefs, const PrefService* local_state_prefs, const NetworkState& network, net::ProxyConfig* proxy_config, ::onc::ONCSource* onc_source) argument
118 IgnoreProxy(const PrefService* profile_prefs, const std::string network_profile_path, ::onc::ONCSource onc_source) argument
H A Dui_proxy_config_service.cc38 // Writes the proxy config of |network| to |proxy_config|. Sets |onc_source| to
45 onc::ONCSource* onc_source) {
48 profile_prefs, local_state_prefs, network, onc_source);
55 // Returns true if proxy settings from |onc_source| are editable.
56 bool IsNetworkProxySettingsEditable(const onc::ONCSource onc_source) { argument
57 return onc_source != onc::ONC_SOURCE_DEVICE_POLICY &&
58 onc_source != onc::ONC_SOURCE_USER_POLICY;
154 onc::ONCSource onc_source = onc::ONC_SOURCE_NONE; local
159 &onc_source)) {
178 } else if (!IsNetworkProxySettingsEditable(onc_source)) {
41 GetProxyConfig(const PrefService* profile_prefs, const PrefService* local_state_prefs, const NetworkState& network, net::ProxyConfig* proxy_config, onc::ONCSource* onc_source) argument
[all...]
/external/chromium_org/chromeos/network/
H A Dnetwork_ui_data.h45 void set_onc_source(::onc::ONCSource onc_source) { onc_source_ = onc_source; } argument
46 ::onc::ONCSource onc_source() const { return onc_source_; } function in class:chromeos::NetworkUIData
87 ::onc::ONCSource onc_source,
H A Dnetwork_util.cc176 std::string onc_source = (*it)->ui_data().GetONCSourceAsString(); local
177 if (!onc_source.empty())
178 onc_dictionary->SetString("onc_source", onc_source);
H A Dpolicy_util.cc136 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
144 onc_source = ::onc::ONC_SOURCE_DEVICE_POLICY;
151 onc_source = ::onc::ONC_SOURCE_USER_POLICY;
158 onc_source = ::onc::ONC_SOURCE_NONE;
161 onc_source = ::onc::ONC_SOURCE_NONE;
183 ui_data = NetworkUIData::CreateFromONC(onc_source, *policy);
H A Dmanaged_network_configuration_handler_unittest.cc227 void SetPolicy(::onc::ONCSource onc_source, argument
248 onc_source, userhash, *network_configs, *global_network_config);
H A Dnetwork_ui_data.cc14 const char NetworkUIData::kKeyONCSource[] = "onc_source";
235 ::onc::ONCSource onc_source,
241 ui_data->set_onc_source(onc_source);
234 CreateFromONC( ::onc::ONCSource onc_source, const base::DictionaryValue& onc_network) argument
H A Dmanaged_network_configuration_handler_impl.cc360 ::onc::ONCSource onc_source,
364 VLOG(1) << "Setting policies from " << ToDebugString(onc_source, userhash)
368 DCHECK(onc_source != ::onc::ONC_SOURCE_DEVICE_POLICY ||
397 NET_LOG_ERROR("ONC from " + ToDebugString(onc_source, userhash) +
517 ::onc::ONCSource* onc_source) const {
518 *onc_source = ::onc::ONC_SOURCE_NONE;
526 *onc_source = ::onc::ONC_SOURCE_USER_POLICY;
537 *onc_source = ::onc::ONC_SOURCE_DEVICE_POLICY;
359 SetPolicy( ::onc::ONCSource onc_source, const std::string& userhash, const base::ListValue& network_configs_onc, const base::DictionaryValue& global_network_config) argument
/external/chromium_org/chromeos/network/onc/
H A Donc_validator_unittest.cc33 ::onc::ONCSource onc_source) {
42 validator->SetOncSource(onc_source);
80 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE)
84 onc_source(onc_source) {
90 ::onc::ONCSource onc_source; member in struct:chromeos::onc::__anon6111::OncParams
96 << GetSourceAsString(onc.onc_source) << ")";
118 onc.is_managed, onc.onc_source);
125 onc.is_managed, onc.onc_source);
247 onc.is_managed, onc.onc_source);
29 Validate(bool strict, scoped_ptr<base::DictionaryValue> onc_object, const OncValueSignature* signature, bool managed_onc, ::onc::ONCSource onc_source) argument
[all...]
H A Donc_utils.cc350 ONCSource onc_source,
364 LOG(ERROR) << "ONC loaded from " << GetSourceAsString(onc_source)
377 << GetSourceAsString(onc_source);
382 bool from_policy = (onc_source == ONC_SOURCE_USER_POLICY ||
383 onc_source == ONC_SOURCE_DEVICE_POLICY);
391 validator.SetOncSource(onc_source);
406 LOG(WARNING) << "ONC from " << GetSourceAsString(onc_source)
410 LOG(ERROR) << "ONC from " << GetSourceAsString(onc_source)
430 << GetSourceAsString(onc_source) << " could not be resolved.";
349 ParseAndValidateOncForImport(const std::string& onc_blob, ONCSource onc_source, const std::string& passphrase, base::ListValue* network_configs, base::DictionaryValue* global_network_config, base::ListValue* certificates) argument
/external/chromium_org/chrome/browser/ui/webui/net_internals/
H A Dnet_internals_ui.cc1484 onc::ONCSource onc_source = onc::ONC_SOURCE_USER_IMPORT; local
1490 onc_source,
1499 if (!cert_importer.ImportCertificates(certificates, onc_source, NULL))
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
H A Dinternet_options_handler.cc444 ::onc::ONCSource onc_source,
453 if (onc_source != ::onc::ONC_SOURCE_USER_POLICY &&
454 onc_source != ::onc::ONC_SOURCE_DEVICE_POLICY) {
523 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
525 onc::FindPolicyForActiveUser(vpn->guid(), &onc_source);
529 onc_source,
680 cellular->ui_data().onc_source());
1483 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
1485 onc::FindPolicyForActiveUser(network->guid(), &onc_source);
1486 const NetworkPropertyUIData property_ui_data(onc_source);
443 SetAutoconnectValueDictionary(bool network_is_private, ::onc::ONCSource onc_source, bool current_autoconnect, const NetworkPropertyUIData& ui_data, base::DictionaryValue* settings) argument
[all...]

Completed in 496 milliseconds