/external/chromium_org/chrome/browser/chromeos/options/ |
H A D | network_property_ui_data.cc | 9 #include "chromeos/network/onc/onc_utils.h" 14 : onc_source_(::onc::ONC_SOURCE_NONE) { 17 NetworkPropertyUIData::NetworkPropertyUIData(::onc::ONCSource onc_source) 24 void NetworkPropertyUIData::ParseOncProperty(::onc::ONCSource onc_source, argument 25 const base::DictionaryValue* onc, 30 if (!onc || !IsManaged()) 33 if (!onc::IsRecommendedValue(onc, property_key)) 37 onc_source_ = ::onc::ONC_SOURCE_NONE; 40 if (!onc [all...] |
H A D | network_property_ui_data.h | 12 #include "components/onc/onc_constants.h" 30 explicit NetworkPropertyUIData(::onc::ONCSource onc_source); 36 void ParseOncProperty(::onc::ONCSource onc_source, 37 const base::DictionaryValue* onc, 42 return (onc_source_ == ::onc::ONC_SOURCE_DEVICE_POLICY || 43 onc_source_ == ::onc::ONC_SOURCE_USER_POLICY); 48 ::onc::ONCSource onc_source_;
|
H A D | network_property_ui_data_unittest.cc | 8 #include "components/onc/onc_constants.h" 37 NetworkPropertyUIData null_prop(onc::ONC_SOURCE_NONE); 42 base::DictionaryValue onc; local 49 onc.Set("a", val_a.DeepCopy()); 50 onc.Set("b", val_b.DeepCopy()); 51 onc.Set("a.a", val_a_a.DeepCopy()); 52 onc.Set("a.b", val_a_b.DeepCopy()); 57 onc.Set("Recommended", recommended.DeepCopy()); 58 onc.Set("a.Recommended", recommended.DeepCopy()); 62 prop.ParseOncProperty(onc [all...] |
/external/chromium_org/chromeos/network/onc/ |
H A D | onc_signature.cc | 5 #include "chromeos/network/onc/onc_signature.h" 7 #include "components/onc/onc_constants.h" 13 namespace onc { namespace in namespace:chromeos 45 { ::onc::client_cert::kCommonName, &kStringSignature}, 46 { ::onc::client_cert::kLocality, &kStringSignature}, 47 { ::onc::client_cert::kOrganization, &kStringSignature}, 48 { ::onc::client_cert::kOrganizationalUnit, &kStringSignature}, 52 { ::onc::kRecommended, &kRecommendedSignature}, 53 { ::onc::client_cert::kEnrollmentURI, &kStringListSignature}, 54 { ::onc [all...] |
H A D | onc_translation_tables.cc | 5 #include "chromeos/network/onc/onc_translation_tables.h" 10 #include "components/onc/onc_constants.h" 14 namespace onc { namespace in namespace:chromeos 25 { ::onc::eap::kAnonymousIdentity, shill::kEapAnonymousIdentityProperty}, 26 { ::onc::eap::kIdentity, shill::kEapIdentityProperty}, 28 // { ::onc::eap::kInner, shill::kEapPhase2AuthProperty }, 31 // { ::onc::eap::kOuter, shill::kEapMethodProperty }, 32 { ::onc::eap::kPassword, shill::kEapPasswordProperty}, 33 { ::onc::eap::kSaveCredentials, shill::kSaveCredentialsProperty}, 34 { ::onc [all...] |
H A D | onc_normalizer.cc | 5 #include "chromeos/network/onc/onc_normalizer.h" 11 #include "chromeos/network/onc/onc_signature.h" 12 #include "components/onc/onc_constants.h" 15 namespace onc { namespace in namespace:chromeos 46 normalized->RemoveWithoutPathExpansion(::onc::kRecommended, NULL); 82 using namespace ::onc::certificate; 85 cert->GetBooleanWithoutPathExpansion(::onc::kRemove, &remove); 86 RemoveEntryUnless(cert, ::onc::certificate::kType, !remove); 89 cert->GetStringWithoutPathExpansion(::onc::certificate::kType, &type); 96 using namespace ::onc [all...] |
H A D | onc_validator_unittest.cc | 5 #include "chromeos/network/onc/onc_validator.h" 13 #include "chromeos/network/onc/onc_signature.h" 14 #include "chromeos/network/onc/onc_test_utils.h" 15 #include "chromeos/network/onc/onc_utils.h" 16 #include "components/onc/onc_constants.h" 20 namespace onc { namespace in namespace:chromeos 33 ::onc::ONCSource onc_source) { 80 ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE) 90 ::onc 77 OncParams(const std::string& location_of_object, const OncValueSignature* onc_signature, bool is_managed_onc, ::onc::ONCSource onc_source = ::onc::ONC_SOURCE_NONE) argument 93 operator <<(::std::ostream& os, const OncParams& onc) argument 116 OncParams onc = GetParam(); local 123 OncParams onc = GetParam(); local 245 OncParams onc = GetParam().first; local 257 OncParams onc = GetParam().first; local [all...] |
H A D | onc_certificate_importer.h | 11 #include "components/onc/onc_constants.h" 19 namespace onc { namespace in namespace:chromeos 40 ::onc::ONCSource source, 47 } // namespace onc
|
H A D | onc_translator.h | 10 #include "components/onc/onc_constants.h" 17 namespace onc { namespace in namespace:chromeos 46 ::onc::ONCSource onc_source, 49 } // namespace onc
|
H A D | onc_translator_shill_to_onc.cc | 5 #include "chromeos/network/onc/onc_translator.h" 18 #include "chromeos/network/onc/onc_signature.h" 19 #include "chromeos/network/onc/onc_translation_tables.h" 21 #include "components/onc/onc_constants.h" 25 namespace onc { namespace in namespace:chromeos 54 ::onc::ONCSource onc_source, 63 ::onc::ONCSource onc_source, 141 ::onc::ONCSource onc_source_; 187 const char* onc_auth = ::onc::ethernet::kAuthenticationNone; 189 onc_auth = ::onc [all...] |
H A D | onc_translator_onc_to_shill.cc | 11 #include "chromeos/network/onc/onc_translator.h" 20 #include "chromeos/network/onc/onc_signature.h" 21 #include "chromeos/network/onc/onc_translation_tables.h" 23 #include "components/onc/onc_constants.h" 27 namespace onc { namespace in namespace:chromeos 125 onc_object_->GetStringWithoutPathExpansion(::onc::ethernet::kAuthentication, 129 if (authentication == ::onc::ethernet::k8021X) 140 if (onc_object_->GetListWithoutPathExpansion(::onc::ipconfig::kNameServers, 157 ::onc::vpn::kSaveCredentials, &save_credentials)) { 165 if (onc_object_->GetListWithoutPathExpansion(::onc [all...] |
H A D | onc_utils.h | 17 #include "components/onc/onc_constants.h" 29 namespace onc { namespace in namespace:chromeos 45 // Decrypts the given EncryptedConfiguration |onc| (see the ONC specification) 50 const base::DictionaryValue& onc); 53 CHROMEOS_EXPORT std::string GetSourceAsString(::onc::ONCSource source); 102 ::onc::ONCSource onc_source, 134 CHROMEOS_EXPORT bool IsRecommendedValue(const base::DictionaryValue* onc, 137 } // namespace onc
|
H A D | onc_validator.cc | 5 #include "chromeos/network/onc/onc_validator.h" 15 #include "chromeos/network/onc/onc_signature.h" 16 #include "components/onc/onc_constants.h" 19 namespace onc { namespace in namespace:chromeos 47 onc_source_(::onc::ONC_SOURCE_NONE) {} 233 if (!result->RemoveWithoutPathExpansion(::onc::kRecommended, 246 << ::onc::kRecommended 276 path_.push_back(::onc::kRecommended); 292 result->Set(::onc::kRecommended, repaired_recommended.release()); 298 using namespace ::onc [all...] |
/external/chromium_org/components/wifi/ |
H A D | network_properties.cc | 10 #include "components/onc/onc_constants.h" 15 : connection_state(onc::connection_state::kNotConnected), 16 security(onc::wifi::kSecurityNone), 29 value->SetString(onc::network_config::kGUID, guid); 30 value->SetString(onc::network_config::kName, name); 31 value->SetString(onc::network_config::kConnectionState, connection_state); 32 DCHECK(type == onc::network_type::kWiFi); 33 value->SetString(onc::network_config::kType, type); 36 value->SetBoolean(onc::network_config::kConnectable, true); 39 wifi->SetString(onc [all...] |
/external/chromium_org/chromeos/network/ |
H A D | policy_util.cc | 11 #include "chromeos/network/onc/onc_merger.h" 12 #include "chromeos/network/onc/onc_normalizer.h" 13 #include "chromeos/network/onc/onc_signature.h" 14 #include "chromeos/network/onc/onc_translator.h" 15 #include "chromeos/network/onc/onc_utils.h" 17 #include "components/onc/onc_constants.h" 32 // onc::FieldIsCredential) of |onc_object|. 34 const onc::OncValueSignature& signature, 49 const onc::OncFieldSignature* field_signature = 50 onc [all...] |
H A D | network_ui_data_unittest.cc | 18 EXPECT_EQ(::onc::ONC_SOURCE_USER_IMPORT, ui_data.onc_source()); 24 EXPECT_EQ(::onc::ONC_SOURCE_DEVICE_POLICY, ui_data.onc_source()); 29 EXPECT_EQ(::onc::ONC_SOURCE_USER_POLICY, ui_data.onc_source());
|
H A D | network_ui_data.h | 13 #include "components/onc/onc_constants.h" 37 ::onc::ONCSource onc_source() const { return onc_source_; } 53 static scoped_ptr<NetworkUIData> CreateFromONC(::onc::ONCSource onc_source); 67 ::onc::ONCSource onc_source_;
|
H A D | certificate_pattern.cc | 9 #include "components/onc/onc_constants.h" 68 dict.GetStringWithoutPathExpansion(onc::client_cert::kCommonName, 70 dict.GetStringWithoutPathExpansion(onc::client_cert::kLocality, &locality_); 71 dict.GetStringWithoutPathExpansion(onc::client_cert::kOrganization, 73 dict.GetStringWithoutPathExpansion(onc::client_cert::kOrganizationalUnit, 105 if (dict.GetListWithoutPathExpansion(onc::client_cert::kIssuerCAPEMs, 111 if (dict.GetDictionaryWithoutPathExpansion(onc::client_cert::kIssuer, 117 if (dict.GetDictionaryWithoutPathExpansion(onc::client_cert::kSubject, 123 if (dict.GetListWithoutPathExpansion(onc::client_cert::kEnrollmentURI,
|
H A D | network_ui_data.cc | 9 #include "components/onc/onc_constants.h" 28 const StringEnumEntry< ::onc::ONCSource> kONCSourceTable[] = { 29 { NetworkUIData::kONCSourceUserImport, ::onc::ONC_SOURCE_USER_IMPORT }, 30 { NetworkUIData::kONCSourceDevicePolicy, ::onc::ONC_SOURCE_DEVICE_POLICY }, 31 { NetworkUIData::kONCSourceUserPolicy, ::onc::ONC_SOURCE_USER_POLICY } 62 NetworkUIData::NetworkUIData() : onc_source_(::onc::ONC_SOURCE_NONE) { 79 onc_source_ = StringToEnum(kONCSourceTable, source, ::onc::ONC_SOURCE_NONE); 113 ::onc::ONCSource onc_source) {
|
/external/chromium_org/chrome/browser/chromeos/net/ |
H A D | onc_utils.cc | 23 #include "chromeos/network/onc/onc_normalizer.h" 24 #include "chromeos/network/onc/onc_signature.h" 25 #include "chromeos/network/onc/onc_translator.h" 26 #include "chromeos/network/onc/onc_utils.h" 36 namespace onc { namespace in namespace:chromeos 44 onc_proxy_location.GetStringWithoutPathExpansion(::onc::proxy::kHost, &host); 49 onc_proxy_location.GetIntegerWithoutPathExpansion(::onc::proxy::kPort, &port); 70 if (onc_scheme == ::onc::proxy::kFtp) { 72 } else if (onc_scheme == ::onc::proxy::kHttp) { 74 } else if (onc_scheme == ::onc [all...] |
H A D | onc_utils.h | 11 #include "components/onc/onc_constants.h" 28 namespace onc { namespace in namespace:chromeos 57 ::onc::ONCSource* onc_source); 75 ::onc::ONCSource* onc_source); 82 } // namespace onc
|
/external/chromium_org/chromeos/tools/onc_validator/ |
H A D | onc_validator.cc | 14 #include "chromeos/network/onc/onc_signature.h" 15 #include "chromeos/network/onc/onc_validator.h" 21 const char kSwitchManagedOnc[] = "managed-onc"; 124 chromeos::onc::Validator validator( 131 validator.SetOncSource(::onc::ONC_SOURCE_USER_POLICY); 133 validator.SetOncSource(::onc::ONC_SOURCE_DEVICE_POLICY); 135 validator.SetOncSource(::onc::ONC_SOURCE_USER_IMPORT); 138 const chromeos::onc::OncValueSignature* signature = NULL; 140 signature = &chromeos::onc::kToplevelConfigurationSignature; 142 signature = &chromeos::onc [all...] |
/external/chromium_org/chrome/browser/resources/options/chromeos/ |
H A D | internet_detail.js | 35 var OncData = cr.onc.OncData; 478 // Note: onc may be undefined when called from a pref update before 480 var onc = this.onc_; 499 if (onc && this.type_ == 'Cellular') { 501 if (onc.getActiveValue('Cellular.Family') == 'GSM') 514 var source = onc ? onc.getSource() : 'None'; 516 var security = onc ? onc.getWiFiSecurity() : 'None'; 652 var onc [all...] |
/external/chromium_org/chrome/browser/local_discovery/wifi/ |
H A D | bootstrapping_device_lister_unittest.cc | 8 #include "components/onc/onc_constants.h" 69 network.connection_state = onc::connection_state::kNotConnected; 76 network2.connection_state = onc::connection_state::kNotConnected; 101 network.connection_state = onc::connection_state::kNotConnected; 110 network2.connection_state = onc::connection_state::kNotConnected; 154 network.connection_state = onc::connection_state::kNotConnected; 159 network2.connection_state = onc::connection_state::kNotConnected; 164 network3.connection_state = onc::connection_state::kNotConnected; 169 network4.connection_state = onc::connection_state::kNotConnected; 174 network5.connection_state = onc [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | user_network_configuration_updater.cc | 16 #include "chromeos/network/onc/onc_certificate_importer_impl.h" 61 : NetworkConfigurationUpdater(onc::ONC_SOURCE_USER_POLICY, 79 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer) { 99 // If certificate importer is not yet set, cache the certificate onc. It will 117 chromeos::onc::ExpandStringPlaceholdersInNetworksForUser(user_, 142 SetCertificateImporter(scoped_ptr<chromeos::onc::CertificateImporter>( 143 new chromeos::onc::CertificateImporterImpl( 150 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer) {
|