Index: chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h |
diff --git a/chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h b/chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h |
index b2b601bfa28541a6c373b0a625ad4a39701a450a..5257812be8e03a635ba1e0ed6b255e0e4cee0071 100644 |
--- a/chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h |
+++ b/chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h |
@@ -5,8 +5,9 @@ |
#ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGING_POLICY_HANDLER_H_ |
#define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGING_POLICY_HANDLER_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/values.h" |
#include "components/policy/core/browser/configuration_policy_handler.h" |
@@ -39,7 +40,7 @@ class NativeMessagingHostListPolicyHandler |
// Runs sanity checks on the policy value and returns it in |extension_ids|. |
bool CheckAndGetList(const policy::PolicyMap& policies, |
policy::PolicyErrorMap* errors, |
- scoped_ptr<base::ListValue>* extension_ids); |
+ std::unique_ptr<base::ListValue>* extension_ids); |
private: |
const char* pref_path_; |