Index: chrome/browser/chromeos/policy/device_local_account.cc |
diff --git a/chrome/browser/chromeos/policy/device_local_account.cc b/chrome/browser/chromeos/policy/device_local_account.cc |
index e8cfa2cef5c490950f304db486cbe72f89efae4c..7f9672f9af236b2e7bcab67b5735794da463e188 100644 |
--- a/chrome/browser/chromeos/policy/device_local_account.cc |
+++ b/chrome/browser/chromeos/policy/device_local_account.cc |
@@ -6,11 +6,11 @@ |
#include <stddef.h> |
+#include <memory> |
#include <set> |
#include "base/logging.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_util.h" |
#include "base/values.h" |
@@ -101,7 +101,7 @@ void SetDeviceLocalAccounts(chromeos::OwnerSettingsServiceChromeOS* service, |
base::ListValue list; |
for (std::vector<DeviceLocalAccount>::const_iterator it = accounts.begin(); |
it != accounts.end(); ++it) { |
- scoped_ptr<base::DictionaryValue> entry(new base::DictionaryValue); |
+ std::unique_ptr<base::DictionaryValue> entry(new base::DictionaryValue); |
entry->SetStringWithoutPathExpansion( |
chromeos::kAccountsPrefDeviceLocalAccountsKeyId, |
it->account_id); |