| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_NETWORK_CONFIGURATION_UPDATER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_NETWORK_CONFIGURATION_UPDATER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_NETWORK_CONFIGURATION_UPDATER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_NETWORK_CONFIGURATION_UPDATER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/callback_list.h" | 11 #include "base/callback_list.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "chrome/browser/chromeos/policy/network_configuration_updater.h" | 15 #include "chrome/browser/chromeos/policy/network_configuration_updater.h" |
| 16 #include "components/onc/onc_constants.h" | 16 #include "components/onc/onc_constants.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class DictionaryValue; | 19 class DictionaryValue; |
| 20 class ListValue; | 20 class ListValue; |
| 21 class Value; | |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace chromeos { | 23 namespace chromeos { |
| 25 class CrosSettings; | 24 class CrosSettings; |
| 26 class ManagedNetworkConfigurationHandler; | 25 class ManagedNetworkConfigurationHandler; |
| 27 class NetworkDeviceHandler; | 26 class NetworkDeviceHandler; |
| 28 | |
| 29 namespace onc { | |
| 30 class CertificateImporter; | |
| 31 } | |
| 32 } | 27 } |
| 33 | 28 |
| 34 namespace policy { | 29 namespace policy { |
| 35 | 30 |
| 36 class PolicyService; | 31 class PolicyService; |
| 37 | 32 |
| 38 // Implements addtional special handling of ONC device policies, which requires | 33 // Implements addtional special handling of ONC device policies, which requires |
| 39 // listening for notifications from CrosSettings. | 34 // listening for notifications from CrosSettings. |
| 40 class DeviceNetworkConfigurationUpdater : public NetworkConfigurationUpdater { | 35 class DeviceNetworkConfigurationUpdater : public NetworkConfigurationUpdater { |
| 41 public: | 36 public: |
| (...skipping 30 matching lines...) Expand all Loading... |
| 72 | 67 |
| 73 base::WeakPtrFactory<DeviceNetworkConfigurationUpdater> weak_factory_; | 68 base::WeakPtrFactory<DeviceNetworkConfigurationUpdater> weak_factory_; |
| 74 | 69 |
| 75 DISALLOW_COPY_AND_ASSIGN(DeviceNetworkConfigurationUpdater); | 70 DISALLOW_COPY_AND_ASSIGN(DeviceNetworkConfigurationUpdater); |
| 76 }; | 71 }; |
| 77 | 72 |
| 78 } // namespace policy | 73 } // namespace policy |
| 79 | 74 |
| 80 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_NETWORK_CONFIGURATION_UPDATER_H
_ | 75 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_NETWORK_CONFIGURATION_UPDATER_H
_ |
| 81 | 76 |
| OLD | NEW |