HomeSort by relevance Sort by last modified time
    Searched defs:onc (Results 1 - 25 of 41) sorted by null

1 2

  /external/chromium_org/chrome/browser/chromeos/net/
onc_utils.h 11 #include "chromeos/network/onc/onc_constants.h"
19 namespace onc { namespace in namespace:chromeos
21 // Translates |onc_proxy_settings|, which has to be a valid ONC ProxySettings
25 // This function is used to translate ONC ProxySettings to the "ProxyConfig"
31 // ONC NetworkConfigurations. Currently only user name placeholders are
38 } // namespace onc
onc_utils_unittest.cc 13 #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 "chromeos/network/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 "chromeos/network/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_translator_unittest.cc 5 #include "chromeos/network/onc/onc_translator.h"
9 #include "chromeos/network/onc/onc_constants.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
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("managed_ethernet.onc", "shill_ethernet.json"),
46 std::make_pair("valid_wifi_psk.onc", "shill_wifi_psk.json")
    [all...]
onc_utils.h 16 #include "chromeos/network/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);
70 // Replaces all expandable fields that are mentioned in the ONC
80 // be a list of ONC NetworkConfigurations. See ExpandStringsInOncObject above.
113 // from |network_configs|. |network_configs| must be a list of ONC
121 // must be a ONC NetworkConfiguration.
126 } // namespace onc
    [all...]
onc_signature.h 14 namespace onc { namespace in namespace:chromeos
59 // Derived "ONC with State" signatures.
64 } // 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_translation_tables.h 10 #include "chromeos/network/onc/onc_signature.h"
13 namespace onc { namespace in namespace:chromeos
30 // These tables contain the mapping from ONC strings to Shill strings.
51 // Translate individual strings to ONC using the above tables.
56 } // namespace onc
onc_merger_unittest.cc 5 #include "chromeos/network/onc/onc_merger.h"
11 #include "chromeos/network/onc/onc_constants.h"
12 #include "chromeos/network/onc/onc_signature.h"
13 #include "chromeos/network/onc/onc_test_utils.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_constants.h"
14 #include "chromeos/network/onc/onc_mapper.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.
89 // - kRecommended fields in an unmanaged ONC
240 } // namespace onc
onc_constants.h 11 // Constants for ONC properties.
12 namespace onc { namespace in namespace:chromeos
14 // Indicates from which source an ONC blob comes from.
40 // This is no ONC key or value but used for logging only.
302 } // namespace onc
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_constants.h"
12 #include "chromeos/network/onc/onc_signature.h"
15 namespace onc { namespace in namespace:chromeos
207 } // namespace onc
  /external/chromium_org/chrome/browser/chromeos/cros/
network_property_ui_data_unittest.cc 8 #include "chromeos/network/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_impl.h 10 #include "chromeos/network/onc/onc_constants.h"
17 namespace onc { namespace in namespace:chromeos
34 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer);
52 // 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);
74 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer_;
network_configuration_updater_impl_cros.h 15 #include "chromeos/network/onc/onc_constants.h"
22 namespace onc { namespace in namespace:chromeos
47 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer);
70 // Callback that's called by |policy_service_| if the respective ONC policy
72 void OnPolicyChanged(chromeos::onc::ONCSource onc_source,
76 // Retrieves the ONC policies from |policy_service_| and pushes the
84 chromeos::onc::ONCSource onc_source,
93 scoped_ptr<chromeos::onc::CertificateImporter> certificate_importer_;
99 // The device policy service storing the ONC policies. Also needed to check

Completed in 317 milliseconds

1 2