Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: chromeos/network/managed_network_configuration_handler.h

Issue 14192017: Extract certificate policy application from NetworkLibrary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/certificate_handler.cc ('k') | chromeos/network/managed_network_configuration_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/managed_network_configuration_handler.h
diff --git a/chromeos/network/managed_network_configuration_handler.h b/chromeos/network/managed_network_configuration_handler.h
index 5b53ffffce269cab7094296a167972f09348edcb..e563fe48be88230bfda10a35a8284fd6a20555b4 100644
--- a/chromeos/network/managed_network_configuration_handler.h
+++ b/chromeos/network/managed_network_configuration_handler.h
@@ -18,6 +18,7 @@
namespace base {
class DictionaryValue;
+class ListValue;
}
namespace chromeos {
@@ -118,13 +119,14 @@ class CHROMEOS_EXPORT ManagedNetworkConfigurationHandler {
const base::Closure& callback,
const network_handler::ErrorCallback& error_callback) const;
- // Only to be called by NetworkConfigurationUpdater or from tests.
- // Sets |toplevel_onc| as the current policy of |onc_source|. The network
+ // Only to be called by NetworkConfigurationUpdater or from tests. Sets
+ // |network_configs_onc| as the current policy of |onc_source|. The network
// configurations of the policy will be applied (not necessarily immediately)
// to Shill's profiles and enforced in future configurations until the policy
// associated with |onc_source| is changed again with this function.
+ // This function doesn't validate the policy. The caller must ensure validity.
void SetPolicy(onc::ONCSource onc_source,
- const base::DictionaryValue& toplevel_onc);
+ const base::ListValue& network_configs_onc);
private:
class PolicyApplicator;
« no previous file with comments | « chromeos/network/certificate_handler.cc ('k') | chromeos/network/managed_network_configuration_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698