/external/chromium_org/chrome/browser/chromeos/net/ |
onc_utils.h | 11 #include "components/onc/onc_constants.h" 26 namespace onc { namespace in namespace:chromeos 28 // Translates |onc_proxy_settings|, which has to be a valid ONC ProxySettings 32 // This function is used to translate ONC ProxySettings to the "ProxyConfig" 38 // ONC NetworkConfigurations. Currently only user name placeholders are 55 ::onc::ONCSource* onc_source); 73 ::onc::ONCSource* onc_source); 80 } // namespace onc
|
onc_utils_unittest.cc | 12 #include "chromeos/network/onc/onc_test_utils.h" 17 namespace onc { namespace in namespace:chromeos 47 } // namespace onc
|
/external/chromium_org/chromeos/network/onc/ |
mock_certificate_importer.h | 11 #include "chromeos/network/onc/onc_certificate_importer.h" 15 namespace onc { namespace in namespace:chromeos 22 ::onc::ONCSource, 28 } // namespace onc
|
onc_merger.h | 16 namespace onc { namespace in namespace:chromeos 22 // providing a NULL pointer. Each dictionary has to be part of a valid ONC 23 // dictionary. They don't have to describe top-level ONC but should refer to the 24 // same section in ONC. |user_settings| and |shared_settings| should not contain 25 // kRecommended fields. The resulting dictionary is valid ONC but may contain 27 // dispensable) that can be removed by the caller using the ONC normalizer. ONC 28 // conformance of the arguments is not checked. Use ONC validator for that. 38 // dictionaries contains the onc::kAugmentations* fields (see onc_constants.h) 39 // for which a value is available. The onc::kAugmentationEffectiveSetting fiel [all...] |
onc_translator.h | 16 namespace onc { namespace in namespace:chromeos 20 // Translates a hierarchical ONC dictionary |onc_object| to a flat Shill 25 // This function is used to translate network settings from ONC to Shill's 32 // Translates a |shill_dictionary| to an ONC object according to the given 34 // "onc_signature.h". The resulting ONC object is returned. 36 // This function is used to translate network settings coming from Shill to ONC 37 // before sending them to the UI. The result doesn't have to be valid ONC, but 45 } // namespace onc
|
mock_certificate_importer.cc | 5 #include "chromeos/network/onc/mock_certificate_importer.h" 8 namespace onc { namespace in namespace:chromeos 16 } // namespace onc
|
onc_mapper.h | 20 namespace onc { namespace in namespace:chromeos 24 // This class implements a DeepCopy of base::Values for ONC objects that 25 // iterates over both the ONC signature and the object hierarchy. DCHECKs if a 35 // The ONC validator and normalizer derive from this class and adapt the default 110 } // namespace onc
|
onc_test_utils.h | 19 namespace onc { namespace in namespace:chromeos 37 } // namespace onc
|
onc_certificate_importer.h | 10 #include "components/onc/onc_constants.h" 18 namespace onc { namespace in namespace:chromeos 25 // Import the |certificates|, which must be a list of ONC Certificate objects. 34 ::onc::ONCSource source, 41 } // namespace onc
|
onc_normalizer.h | 10 #include "chromeos/network/onc/onc_mapper.h" 13 namespace onc { namespace in namespace:chromeos 54 } // namespace onc
|
onc_normalizer_unittest.cc | 5 #include "chromeos/network/onc/onc_normalizer.h" 9 #include "chromeos/network/onc/onc_signature.h" 10 #include "chromeos/network/onc/onc_test_utils.h" 14 namespace onc { namespace in namespace:chromeos 16 // This test case is about validating valid ONC objects. 32 } // namespace onc
|
onc_certificate_importer_impl.h | 16 #include "chromeos/network/onc/onc_certificate_importer.h" 17 #include "components/onc/onc_constants.h" 30 namespace onc { namespace in namespace:chromeos 32 // This class handles certificate imports from ONC (both policy and user 48 ::onc::ONCSource source, 96 } // namespace onc
|
onc_translation_tables.h | 11 #include "chromeos/network/onc/onc_signature.h" 14 namespace onc { namespace in namespace:chromeos 26 // These tables contain the mapping from ONC strings to Shill strings. 50 // Translate individual strings to ONC using the above tables. 55 } // namespace onc
|
onc_translator_unittest.cc | 5 #include "chromeos/network/onc/onc_translator.h" 9 #include "chromeos/network/onc/onc_signature.h" 10 #include "chromeos/network/onc/onc_test_utils.h" 11 #include "components/onc/onc_constants.h" 15 namespace onc { namespace in namespace:chromeos 17 // First parameter: Filename of source ONC. 23 // Test the translation from ONC to Shill json. 39 // Test different network types, such that each ONC object type is tested at 45 std::make_pair("ethernet.onc", "shill_ethernet.json"), 46 std::make_pair("ethernet_with_eap_and_cert_pems.onc", [all...] |
onc_utils.h | 16 #include "components/onc/onc_constants.h" 28 namespace onc { namespace in namespace:chromeos 44 // Decrypts the given EncryptedConfiguration |onc| (see the ONC specification) 49 const base::DictionaryValue& onc); 52 CHROMEOS_EXPORT std::string GetSourceAsString(::onc::ONCSource source); 70 // Replaces all expandable fields that are mentioned in the ONC 80 // be a list of ONC NetworkConfigurations. See ExpandStringsInOncObject above. 101 ::onc::ONCSource onc_source, 115 // from |network_configs|. |network_configs| must be a list of ONC [all...] |
onc_signature.h | 14 namespace onc { namespace in namespace:chromeos 62 // Derived "ONC with State" signatures. 70 } // namespace onc
|
onc_test_utils.cc | 5 #include "chromeos/network/onc/onc_test_utils.h" 16 namespace onc { namespace in namespace:chromeos 82 } // namespace onc
|
onc_merger_unittest.cc | 5 #include "chromeos/network/onc/onc_merger.h" 11 #include "chromeos/network/onc/onc_signature.h" 12 #include "chromeos/network/onc/onc_test_utils.h" 13 #include "components/onc/onc_constants.h" 17 namespace onc { namespace in namespace:chromeos 58 policy_ = test_utils::ReadTestDictionary("managed_vpn.onc"); 60 test_utils::ReadTestDictionary("managed_vpn_without_recommended.onc"); 61 user_ = test_utils::ReadTestDictionary("user.onc"); 62 device_policy_ = test_utils::ReadTestDictionary("device_policy.onc"); 156 } // namespace onc [all...] |
onc_validator.h | 13 #include "chromeos/network/onc/onc_mapper.h" 14 #include "components/onc/onc_constants.h" 22 namespace onc { namespace in namespace:chromeos 26 // The ONC Validator searches for the following invalid cases: 28 // the ONC spec (always an error) 71 // Sets the ONC source to |source|. If not set, defaults to ONC_SOURCE_NONE. 76 void SetOncSource(::onc::ONCSource source) { 89 // - kRecommended fields in an unmanaged ONC 177 // Prohibit certificate patterns for device policy ONC so that an unmanaged 181 // Prohibit global network configuration in user ONC imports [all...] |
onc_mapper.cc | 5 #include "chromeos/network/onc/onc_mapper.h" 9 #include "chromeos/network/onc/onc_signature.h" 12 namespace onc { namespace in namespace:chromeos 142 } // namespace onc
|
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::ethernet [all...] |
onc_utils_unittest.cc | 5 #include "chromeos/network/onc/onc_utils.h" 10 #include "chromeos/network/onc/onc_signature.h" 11 #include "chromeos/network/onc/onc_test_utils.h" 15 namespace onc { namespace in namespace:chromeos 19 test_utils::ReadTestDictionary("broken-encrypted-iterations.onc"); 29 test_utils::ReadTestDictionary("broken-encrypted-zero-iterations.onc"); 40 test_utils::ReadTestDictionary("encrypted.onc"); 42 test_utils::ReadTestDictionary("decrypted.onc"); 63 if (placeholder == ::onc::substitutes::kLoginIDField) 65 else if (placeholder ==::onc::substitutes::kEmailField [all...] |
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::ONCSource onc_source 116 OncParams onc = GetParam(); local 123 OncParams onc = GetParam(); local 236 OncParams onc = GetParam().first; local 248 OncParams onc = GetParam().first; local [all...] |
/external/chromium_org/chrome/browser/chromeos/options/ |
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::ONC_SOURCE_NONE, &onc, "a") [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
network_configuration_updater.h | 13 #include "components/onc/onc_constants.h" 25 namespace onc { namespace in namespace:chromeos 37 // Shill. Certificates are imported with the chromeos::onc::CertificateImporter. 44 // Creates an updater that applies the ONC device policy from |policy_service| 48 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer, 60 onc::ONCSource onc_source, 62 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer, 77 onc::ONCSource onc_source_; 82 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer_; 85 // Called if the ONC policy changed [all...] |