Searched defs:onc_source (Results 1 - 18 of 18) 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.cc1047 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
1049 onc::FindPolicyForActiveUser(network->guid(), &onc_source);
1053 onc_source,
H A Dwifi_config_view.cc1335 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
1337 onc::FindPolicyForActiveUser(network->guid(), &onc_source);
1340 onc_source,
/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 GetProxyConfigForFavoriteNetwork( const PrefService* profile_prefs, const PrefService* local_state_prefs, const FavoriteState& network, ::onc::ONCSource* onc_source) argument
H A Donc_utils.cc269 ::onc::ONCSource* onc_source) {
273 FindPolicyByGUID(username_hash, guid, onc_source);
426 ::onc::ONCSource* onc_source) {
428 *onc_source = ::onc::ONC_SOURCE_NONE;
434 *onc_source = ::onc::ONC_SOURCE_USER_POLICY;
441 *onc_source = ::onc::ONC_SOURCE_DEVICE_POLICY;
267 FindPolicyForActiveUser( const std::string& guid, ::onc::ONCSource* onc_source) argument
422 GetPolicyForFavoriteNetwork( const PrefService* profile_prefs, const PrefService* local_state_prefs, const FavoriteState& favorite, ::onc::ONCSource* onc_source) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dnetwork_configuration_updater.cc58 onc::ONCSource onc_source,
63 : onc_source_(onc_source),
57 NetworkConfigurationUpdater( onc::ONCSource onc_source, std::string policy_key, scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer, PolicyService* policy_service, chromeos::ManagedNetworkConfigurationHandler* network_config_handler) argument
H A Dconfiguration_policy_handler_chromeos.cc221 onc::ONCSource onc_source,
224 onc_source_(onc_source),
219 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.cc33 // Writes the proxy config of |network| to |proxy_config|. Set |onc_source| to
40 ::onc::ONCSource* onc_source) {
43 profile_prefs, local_state_prefs, network, onc_source);
121 ::onc::ONCSource onc_source) {
144 if (onc_source == ::onc::ONC_SOURCE_DEVICE_POLICY) {
176 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
178 prefs(), local_state_prefs_, *network, &network_config, &onc_source);
180 IgnoreProxy(profile_prefs_, network->profile_path(), onc_source);
36 GetProxyConfig(const PrefService* profile_prefs, const PrefService* local_state_prefs, const FavoriteState& network, net::ProxyConfig* proxy_config, ::onc::ONCSource* onc_source) argument
119 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;
150 onc::ONCSource onc_source = onc::ONC_SOURCE_NONE; local
155 &onc_source)) {
174 } else if (!IsNetworkProxySettingsEditable(onc_source)) {
41 GetProxyConfig(const PrefService* profile_prefs, const PrefService* local_state_prefs, const FavoriteState& 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
84 ::onc::ONCSource 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.cc222 void SetPolicy(::onc::ONCSource onc_source, argument
243 onc_source, userhash, *network_configs, *global_network_config);
H A Dnetwork_ui_data.cc14 const char NetworkUIData::kKeyONCSource[] = "onc_source";
228 ::onc::ONCSource onc_source,
234 ui_data->set_onc_source(onc_source);
227 CreateFromONC( ::onc::ONCSource onc_source, const base::DictionaryValue& onc_network) argument
H A Dmanaged_network_configuration_handler_impl.cc343 ::onc::ONCSource onc_source,
347 VLOG(1) << "Setting policies from " << ToDebugString(onc_source, userhash)
351 DCHECK(onc_source != ::onc::ONC_SOURCE_DEVICE_POLICY ||
380 LOG(ERROR) << "ONC from " << ToDebugString(onc_source, userhash)
487 ::onc::ONCSource* onc_source) const {
488 *onc_source = ::onc::ONC_SOURCE_NONE;
496 *onc_source = ::onc::ONC_SOURCE_USER_POLICY;
507 *onc_source = ::onc::ONC_SOURCE_DEVICE_POLICY;
342 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::__anon7589::OncParams
96 << GetSourceAsString(onc.onc_source) << ")";
118 onc.is_managed, onc.onc_source);
125 onc.is_managed, onc.onc_source);
238 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.cc1510 onc::ONCSource onc_source = onc::ONC_SOURCE_USER_IMPORT; local
1516 onc_source,
1525 if (!cert_importer.ImportCertificates(certificates, onc_source, NULL))
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
H A Dinternet_options_handler.cc588 ::onc::ONCSource onc_source,
597 if (onc_source != ::onc::ONC_SOURCE_USER_POLICY &&
598 onc_source != ::onc::ONC_SOURCE_DEVICE_POLICY) {
667 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
669 onc::FindPolicyForActiveUser(vpn->guid(), &onc_source);
673 onc_source,
1526 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE; local
1528 onc::FindPolicyForActiveUser(network->guid(), &onc_source);
1529 const NetworkPropertyUIData property_ui_data(onc_source);
1604 NetworkPropertyUIData auto_connect_ui_data(onc_source);
587 SetAutoconnectValueDictionary(bool network_is_private, ::onc::ONCSource onc_source, bool current_autoconnect, const NetworkPropertyUIData& ui_data, base::DictionaryValue* settings) argument
[all...]

Completed in 933 milliseconds