Index: remoting/host/usage_stats_consent_mac.cc |
diff --git a/remoting/host/usage_stats_consent_mac.cc b/remoting/host/usage_stats_consent_mac.cc |
index 2a7f86aba636b4177380477bf54d87ee4e50d411..50f3ce4d5968ab5b6f3ad6bf178d126e55433f3c 100644 |
--- a/remoting/host/usage_stats_consent_mac.cc |
+++ b/remoting/host/usage_stats_consent_mac.cc |
@@ -4,12 +4,12 @@ |
#include "remoting/host/usage_stats_consent.h" |
+#include <memory> |
#include <string> |
#include "base/command_line.h" |
#include "base/files/file_path.h" |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/values.h" |
#include "remoting/host/config_file_watcher.h" |
#include "remoting/host/host_config.h" |
@@ -27,7 +27,7 @@ bool GetUsageStatsConsent(bool* allowed, bool* set_by_policy) { |
if (command_line->HasSwitch(kHostConfigSwitchName)) { |
base::FilePath config_file_path = |
command_line->GetSwitchValuePath(kHostConfigSwitchName); |
- scoped_ptr<base::DictionaryValue> host_config( |
+ std::unique_ptr<base::DictionaryValue> host_config( |
HostConfigFromJsonFile(config_file_path)); |
if (host_config) { |
return host_config->GetBoolean(kUsageStatsConsentConfigPath, allowed); |