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

Unified Diff: chrome/browser/extensions/extension_install_prompt_show_params.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/extension_install_prompt_show_params.h
diff --git a/chrome/browser/extensions/extension_install_prompt_show_params.h b/chrome/browser/extensions/extension_install_prompt_show_params.h
index 97cc71de5e9ee7de9a827d9b43cf3d9d9c4d39e9..9e5c67666947fa71a6b1a21e6cfc3e47d9496497 100644
--- a/chrome/browser/extensions/extension_install_prompt_show_params.h
+++ b/chrome/browser/extensions/extension_install_prompt_show_params.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_SHOW_PARAMS_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_SHOW_PARAMS_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/gfx/native_widget_types.h"
class NativeWindowTracker;
@@ -55,9 +56,10 @@ class ExtensionInstallPromptShowParams {
gfx::NativeWindow parent_window_;
class WebContentsDestructionObserver;
- scoped_ptr<WebContentsDestructionObserver> web_contents_destruction_observer_;
+ std::unique_ptr<WebContentsDestructionObserver>
+ web_contents_destruction_observer_;
- scoped_ptr<NativeWindowTracker> native_window_tracker_;
+ std::unique_ptr<NativeWindowTracker> native_window_tracker_;
DISALLOW_COPY_AND_ASSIGN(ExtensionInstallPromptShowParams);
};

Powered by Google App Engine
This is Rietveld 408576698