Searched refs:onc_source (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/cros/
H A Dnetwork_property_ui_data.h29 // Initializes with the given |onc_source| and no default value.
30 explicit NetworkPropertyUIData(onc::ONCSource onc_source);
36 void ParseOncProperty(onc::ONCSource onc_source,
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 Dnetwork_library_unittest.cc368 // |onc_source|: The source of the ONC.
372 onc::ONCSource onc_source,
376 onc_source(onc_source),
381 onc::ONCSource onc_source; member in struct:chromeos::__anon4351::ImportParams
387 << onc::GetSourceAsString(params.onc_source) << ", "
401 GetParam().onc_source,
370 ImportParams(const std::string& onc_file, const std::string& shill_file, onc::ONCSource onc_source, bool expect_import_result = true) argument
/external/chromium_org/chromeos/network/
H A Dfavorite_state.cc41 return ui_data_.onc_source() == onc::ONC_SOURCE_DEVICE_POLICY ||
42 ui_data_.onc_source() == onc::ONC_SOURCE_USER_POLICY;
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
86 onc::ONCSource onc_source,
H A Dnetwork_ui_data_unittest.cc19 EXPECT_EQ(onc::ONC_SOURCE_USER_IMPORT, ui_data.onc_source());
26 EXPECT_EQ(onc::ONC_SOURCE_DEVICE_POLICY, ui_data.onc_source());
32 EXPECT_EQ(onc::ONC_SOURCE_USER_POLICY, ui_data.onc_source());
H A Dmanaged_network_configuration_handler.h118 // |network_configs_onc| as the current policy of |onc_source|. The network
121 // associated with |onc_source| is changed again with this function. For
123 void SetPolicy(onc::ONCSource onc_source,
129 // doesn't exist, returns NULL. Sets |onc_source| accordingly.
133 onc::ONCSource* onc_source) const;
H A Dmanaged_network_configuration_handler.cc168 onc::ONCSource onc_source = onc::ONC_SOURCE_NONE; local
176 onc_source = onc::ONC_SOURCE_DEVICE_POLICY;
183 onc_source = onc::ONC_SOURCE_USER_POLICY;
190 onc_source = onc::ONC_SOURCE_NONE;
193 onc_source = onc::ONC_SOURCE_NONE;
215 ui_data = NetworkUIData::CreateFromONC(onc_source, *policy);
625 onc::ONCSource onc_source,
628 VLOG(1) << "Setting policies from " << ToDebugString(onc_source, userhash)
632 DCHECK(onc_source != chromeos::onc::ONC_SOURCE_DEVICE_POLICY ||
653 LOG(ERROR) << "ONC from " << ToDebugString(onc_source, userhas
624 SetPolicy( onc::ONCSource onc_source, const std::string& userhash, const base::ListValue& network_configs_onc) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dnetwork_configuration_updater_impl.cc117 chromeos::onc::ONCSource onc_source,
121 << chromeos::onc::GetSourceAsString(onc_source) << " changed.";
122 ApplyNetworkConfiguration(onc_source);
126 chromeos::onc::ONCSource onc_source) {
128 << chromeos::onc::GetSourceAsString(onc_source);
132 if (onc_source == chromeos::onc::ONC_SOURCE_USER_POLICY) {
156 onc_blob, onc_source, "", &network_configs, &certificates);
160 certificates, onc_source, web_trust_certs.get());
163 if (onc_source == chromeos::onc::ONC_SOURCE_USER_POLICY) {
170 SetPolicy(onc_source, userhas
116 OnPolicyChanged( chromeos::onc::ONCSource onc_source, const base::Value* previous, const base::Value* current) argument
125 ApplyNetworkConfiguration( chromeos::onc::ONCSource onc_source) argument
[all...]
H A Dnetwork_configuration_updater_impl_cros.cc119 chromeos::onc::ONCSource onc_source,
123 << chromeos::onc::GetSourceAsString(onc_source) << " changed.";
144 chromeos::onc::ONCSource onc_source,
147 << chromeos::onc::GetSourceAsString(onc_source);
158 << chromeos::onc::GetSourceAsString(onc_source)
166 onc_blob, onc_source, "", &network_configs, &certificates);
170 certificates, onc_source, web_trust_certs.get());
172 network_library_->LoadOncNetworks(network_configs, onc_source);
174 if (onc_source == chromeos::onc::ONC_SOURCE_USER_POLICY)
118 OnPolicyChanged( chromeos::onc::ONCSource onc_source, const base::Value* previous, const base::Value* current) argument
142 ApplyNetworkConfiguration( const std::string& policy_key, chromeos::onc::ONCSource onc_source, PolicyService* policy_service) argument
H A Dnetwork_configuration_updater_impl.h52 // Called if the ONC policy from |onc_source| changed.
53 void OnPolicyChanged(chromeos::onc::ONCSource onc_source,
57 void ApplyNetworkConfiguration(chromeos::onc::ONCSource onc_source);
H A Dnetwork_configuration_updater_impl_cros.h72 void OnPolicyChanged(chromeos::onc::ONCSource onc_source,
81 // Push the policy stored at |policy_key| for |onc_source| to
84 chromeos::onc::ONCSource onc_source,
H A Dconfiguration_policy_handler_chromeos.h39 chromeos::onc::ONCSource onc_source,
H A Dconfiguration_policy_handler_chromeos.cc129 chromeos::onc::ONCSource onc_source,
132 onc_source_(onc_source),
127 NetworkConfigurationPolicyHandler( const char* policy_name, chromeos::onc::ONCSource onc_source, const char* pref_path) argument
/external/chromium_org/chrome/browser/chromeos/
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;
149 onc::ONCSource onc_source = onc::ONC_SOURCE_NONE; local
154 &onc_source)) {
173 } 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...]
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);
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);
35 GetProxyConfig(const PrefService* profile_prefs, const PrefService* local_state_prefs, const NetworkState& 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 Dproxy_config_service_impl.h60 // |onc_source|, e.g. this happens if the network is shared and
64 onc::ONCSource onc_source);
/external/chromium_org/chromeos/network/onc/
H A Donc_validator_unittest.cc33 ONCSource onc_source) {
42 validator->SetOncSource(onc_source);
80 ONCSource onc_source = ONC_SOURCE_NONE)
84 onc_source(onc_source) {
90 ONCSource onc_source; member in struct:chromeos::onc::__anon7345::OncParams
96 << GetSourceAsString(onc.onc_source) << ")";
118 onc.is_managed, onc.onc_source);
125 onc.is_managed, onc.onc_source);
213 onc.is_managed, onc.onc_source);
29 Validate(bool strict, scoped_ptr<base::DictionaryValue> onc_object, const OncValueSignature* signature, bool managed_onc, ONCSource onc_source) argument
[all...]
H A Donc_utils.cc348 ONCSource onc_source,
360 LOG(ERROR) << "ONC loaded from " << GetSourceAsString(onc_source)
373 << GetSourceAsString(onc_source);
378 bool from_policy = (onc_source == ONC_SOURCE_USER_POLICY ||
379 onc_source == ONC_SOURCE_DEVICE_POLICY);
387 validator.SetOncSource(onc_source);
402 LOG(WARNING) << "ONC from " << GetSourceAsString(onc_source)
406 LOG(ERROR) << "ONC from " << GetSourceAsString(onc_source)
426 << GetSourceAsString(onc_source) << " could not be resolved.";
347 ParseAndValidateOncForImport(const std::string& onc_blob, ONCSource onc_source, const std::string& passphrase, base::ListValue* network_configs, base::ListValue* certificates) argument
H A Donc_utils.h100 ONCSource onc_source,
/external/chromium_org/chrome/browser/chromeos/net/
H A Dproxy_config_handler.h33 onc::ONCSource* onc_source);
H A Dproxy_config_handler.cc114 onc::ONCSource* onc_source) {
117 *onc_source = onc::ONC_SOURCE_NONE;
127 *onc_source = onc::ONC_SOURCE_USER_POLICY;
136 *onc_source = onc::ONC_SOURCE_DEVICE_POLICY;
110 GetProxyConfigForNetwork( const PrefService* profile_prefs, const PrefService* local_state_prefs, const NetworkState& network, onc::ONCSource* onc_source) argument
/external/chromium_org/chrome/browser/chromeos/options/
H A Dnetwork_connect.h45 // |onc_source| accordingly.
48 onc::ONCSource* onc_source);
H A Dnetwork_connect.cc147 if (network->ui_data().onc_source() == onc::ONC_SOURCE_DEVICE_POLICY)
165 onc::ONCSource* onc_source) {
169 FindPolicyByGUID(username_hash, network->guid(), onc_source);
163 FindPolicyForActiveUser( const NetworkState* network, onc::ONCSource* onc_source) argument
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dnetwork_state_informer.cc178 onc::ONCSource onc_source = onc::ONC_SOURCE_NONE; local
181 NULL, g_browser_process->local_state(), *network, &onc_source);

Completed in 6506 milliseconds

12