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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 chromeos::NetworkDeviceHandler* network_device_handler, | 50 chromeos::NetworkDeviceHandler* network_device_handler, |
51 chromeos::CrosSettings* cros_settings); | 51 chromeos::CrosSettings* cros_settings); |
52 | 52 |
53 private: | 53 private: |
54 DeviceNetworkConfigurationUpdater( | 54 DeviceNetworkConfigurationUpdater( |
55 PolicyService* policy_service, | 55 PolicyService* policy_service, |
56 chromeos::ManagedNetworkConfigurationHandler* network_config_handler, | 56 chromeos::ManagedNetworkConfigurationHandler* network_config_handler, |
57 chromeos::NetworkDeviceHandler* network_device_handler, | 57 chromeos::NetworkDeviceHandler* network_device_handler, |
58 chromeos::CrosSettings* cros_settings); | 58 chromeos::CrosSettings* cros_settings); |
59 | 59 |
60 virtual void Init() OVERRIDE; | 60 virtual void Init() override; |
61 virtual void ImportCertificates(const base::ListValue& certificates_onc) | 61 virtual void ImportCertificates(const base::ListValue& certificates_onc) |
62 OVERRIDE; | 62 override; |
63 virtual void ApplyNetworkPolicy(base::ListValue* network_configs_onc, | 63 virtual void ApplyNetworkPolicy(base::ListValue* network_configs_onc, |
64 base::DictionaryValue* global_network_config) | 64 base::DictionaryValue* global_network_config) |
65 OVERRIDE; | 65 override; |
66 void OnDataRoamingSettingChanged(); | 66 void OnDataRoamingSettingChanged(); |
67 | 67 |
68 chromeos::NetworkDeviceHandler* network_device_handler_; | 68 chromeos::NetworkDeviceHandler* network_device_handler_; |
69 chromeos::CrosSettings* cros_settings_; | 69 chromeos::CrosSettings* cros_settings_; |
70 scoped_ptr<base::CallbackList<void(void)>::Subscription> | 70 scoped_ptr<base::CallbackList<void(void)>::Subscription> |
71 data_roaming_setting_subscription_; | 71 data_roaming_setting_subscription_; |
72 | 72 |
73 base::WeakPtrFactory<DeviceNetworkConfigurationUpdater> weak_factory_; | 73 base::WeakPtrFactory<DeviceNetworkConfigurationUpdater> weak_factory_; |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(DeviceNetworkConfigurationUpdater); | 75 DISALLOW_COPY_AND_ASSIGN(DeviceNetworkConfigurationUpdater); |
76 }; | 76 }; |
77 | 77 |
78 } // namespace policy | 78 } // namespace policy |
79 | 79 |
80 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_NETWORK_CONFIGURATION_UPDATER_H
_ | 80 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_NETWORK_CONFIGURATION_UPDATER_H
_ |
81 | 81 |
OLD | NEW |