Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Unified Diff: chrome/browser/extensions/api/messaging/native_process_launcher.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/messaging/native_process_launcher.h
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher.h b/chrome/browser/extensions/api/messaging/native_process_launcher.h
index 6f6e653e864b8a9927d8f0b7912f0daa8f1575ee..8ebf09c3bd1cb6997d266b028aaed553e892a63b 100644
--- a/chrome/browser/extensions/api/messaging/native_process_launcher.h
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher.h
@@ -5,10 +5,11 @@
#ifndef CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_PROCESS_LAUNCHER_H_
#define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_PROCESS_LAUNCHER_H_
+#include <memory>
+
#include "base/callback_forward.h"
#include "base/files/file.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/process/process.h"
#include "ui/gfx/native_widget_types.h"
@@ -42,7 +43,7 @@ class NativeProcessLauncher {
// Creates default launcher for the current OS. |native_view| refers to the
// window that contains calling page. Can be nullptr, e.g. for background
// pages.
- static scoped_ptr<NativeProcessLauncher> CreateDefault(
+ static std::unique_ptr<NativeProcessLauncher> CreateDefault(
bool allow_user_level_hosts,
gfx::NativeView native_view);

Powered by Google App Engine
This is Rietveld 408576698