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

Unified Diff: chrome/browser/policy/network_configuration_updater.h

Issue 11299236: This moves the ONC parsing code into chromeos/network/onc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit tests Created 8 years 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
Index: chrome/browser/policy/network_configuration_updater.h
diff --git a/chrome/browser/policy/network_configuration_updater.h b/chrome/browser/policy/network_configuration_updater.h
index 1fad772d871e353ca44a34f548e23a1ecbd53a02..7bc265be2c2a08df62b56be25c716b5a845792ed 100644
--- a/chrome/browser/policy/network_configuration_updater.h
+++ b/chrome/browser/policy/network_configuration_updater.h
@@ -11,6 +11,7 @@
#include "chrome/browser/chromeos/cros/network_library.h"
#include "chrome/browser/chromeos/cros/network_ui_data.h"
#include "chrome/browser/policy/policy_service.h"
+#include "chromeos/network/onc/onc_constants.h"
namespace base {
class Value;
@@ -54,7 +55,7 @@ class NetworkConfigurationUpdater
private:
// Callback that's called by |policy_service_| if the respective ONC policy
// changed.
- void OnPolicyChanged(chromeos::NetworkUIData::ONCSource onc_source,
+ void OnPolicyChanged(chromeos::onc::ONCSource onc_source,
const base::Value* previous,
const base::Value* current);
@@ -66,7 +67,7 @@ class NetworkConfigurationUpdater
// Push the policy stored at |policy_key| for |onc_source| to
// |network_library_|.
void ApplyNetworkConfiguration(const std::string& policy_key,
- chromeos::NetworkUIData::ONCSource onc_source);
+ chromeos::onc::ONCSource onc_source);
// Wraps the policy service we read network configuration from.
PolicyChangeRegistrar policy_change_registrar_;
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler_list.cc ('k') | chrome/browser/policy/network_configuration_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698