Index: chrome/browser/extensions/api/messaging/native_messaging_test_util.h |
diff --git a/chrome/browser/extensions/api/messaging/native_messaging_test_util.h b/chrome/browser/extensions/api/messaging/native_messaging_test_util.h |
index fb3798f35a1bed70426acbaf602482561d196ff1..0757bf7029401b95c2413732a8f075d00d39e308 100644 |
--- a/chrome/browser/extensions/api/messaging/native_messaging_test_util.h |
+++ b/chrome/browser/extensions/api/messaging/native_messaging_test_util.h |
@@ -5,9 +5,10 @@ |
#ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGING_TEST_UTIL_H_ |
#define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGING_TEST_UTIL_H_ |
+#include <memory> |
+ |
#include "base/files/scoped_temp_dir.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "build/build_config.h" |
#if defined(OS_WIN) |
@@ -41,7 +42,7 @@ class ScopedTestNativeMessagingHost { |
#if defined(OS_WIN) |
registry_util::RegistryOverrideManager registry_override_; |
#else |
- scoped_ptr<base::ScopedPathOverride> path_override_; |
+ std::unique_ptr<base::ScopedPathOverride> path_override_; |
#endif |
DISALLOW_COPY_AND_ASSIGN(ScopedTestNativeMessagingHost); |