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

Unified Diff: chrome/browser/chromeos/policy/network_configuration_updater_impl.h

Issue 14192017: Extract certificate policy application from NetworkLibrary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial patch. 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
Index: chrome/browser/chromeos/policy/network_configuration_updater_impl.h
diff --git a/chrome/browser/chromeos/policy/network_configuration_updater_impl.h b/chrome/browser/chromeos/policy/network_configuration_updater_impl.h
index 52a758bb7d73814d0f58c7e4da9892b84a4b946d..4ffd0b7159fafb5583f57058d17ad8a1c065b125 100644
--- a/chrome/browser/chromeos/policy/network_configuration_updater_impl.h
+++ b/chrome/browser/chromeos/policy/network_configuration_updater_impl.h
@@ -5,8 +5,6 @@
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_NETWORK_CONFIGURATION_UPDATER_IMPL_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_NETWORK_CONFIGURATION_UPDATER_IMPL_H_
-#include <string>
-
#include "chrome/browser/chromeos/policy/network_configuration_updater.h"
#include "chrome/browser/policy/policy_service.h"
#include "chromeos/network/onc/onc_constants.h"
@@ -15,6 +13,11 @@ namespace base {
class Value;
}
+namespace chromeos {
+class CertificateHandler;
+class ManagedNetworkConfigurationHandler;
+}
+
namespace policy {
class PolicyMap;
@@ -26,15 +29,14 @@ class PolicyMap;
// ignored.
class NetworkConfigurationUpdaterImpl : public NetworkConfigurationUpdater {
public:
- explicit NetworkConfigurationUpdaterImpl(PolicyService* policy_service);
+ explicit NetworkConfigurationUpdaterImpl(
Joao da Silva 2013/04/22 10:38:09 No need to be explicit.
pneubeck (no reviews) 2013/04/23 18:05:25 Done.
+ PolicyService* policy_service,
+ chromeos::ManagedNetworkConfigurationHandler* network_config_handler,
+ chromeos::CertificateHandler* certificate_handler);
virtual ~NetworkConfigurationUpdaterImpl();
// NetworkConfigurationUpdater overrides.
-
virtual void OnUserPolicyInitialized() OVERRIDE;
- virtual void set_allow_trusted_certificates_from_policy(bool allow) OVERRIDE {
- }
- virtual net::CertTrustAnchorProvider* GetCertTrustAnchorProvider() OVERRIDE;
private:
// Callback that's called by |policy_service_| if the respective ONC policy
@@ -54,6 +56,9 @@ class NetworkConfigurationUpdaterImpl : public NetworkConfigurationUpdater {
// The policy service storing the ONC policies.
PolicyService* policy_service_;
+ chromeos::ManagedNetworkConfigurationHandler* network_config_handler_;
+ chromeos::CertificateHandler* certificate_handler_;
stevenjb 2013/04/22 16:53:41 Add a comment to the effect that these are pointer
pneubeck (no reviews) 2013/04/23 18:05:25 Done.
+
DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationUpdaterImpl);
};

Powered by Google App Engine
This is Rietveld 408576698