Index: chrome/browser/chromeos/policy/device_network_configuration_updater.cc |
diff --git a/chrome/browser/chromeos/policy/device_network_configuration_updater.cc b/chrome/browser/chromeos/policy/device_network_configuration_updater.cc |
index d2eedd7060b758f1cc3fa7267f62cb10463b664a..0bb63b2ea9758f4603c1604e0e3e0a522743931d 100644 |
--- a/chrome/browser/chromeos/policy/device_network_configuration_updater.cc |
+++ b/chrome/browser/chromeos/policy/device_network_configuration_updater.cc |
@@ -22,17 +22,16 @@ namespace policy { |
DeviceNetworkConfigurationUpdater::~DeviceNetworkConfigurationUpdater() {} |
// static |
-scoped_ptr<DeviceNetworkConfigurationUpdater> |
+std::unique_ptr<DeviceNetworkConfigurationUpdater> |
DeviceNetworkConfigurationUpdater::CreateForDevicePolicy( |
PolicyService* policy_service, |
chromeos::ManagedNetworkConfigurationHandler* network_config_handler, |
chromeos::NetworkDeviceHandler* network_device_handler, |
chromeos::CrosSettings* cros_settings) { |
- scoped_ptr<DeviceNetworkConfigurationUpdater> updater( |
- new DeviceNetworkConfigurationUpdater(policy_service, |
- network_config_handler, |
- network_device_handler, |
- cros_settings)); |
+ std::unique_ptr<DeviceNetworkConfigurationUpdater> updater( |
+ new DeviceNetworkConfigurationUpdater( |
+ policy_service, network_config_handler, network_device_handler, |
+ cros_settings)); |
updater->Init(); |
return updater; |
} |