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

Unified Diff: chrome/browser/ui/webui/extensions/install_extension_handler.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/ui/webui/extensions/install_extension_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/install_extension_handler.cc b/chrome/browser/ui/webui/extensions/install_extension_handler.cc
index 2d504f3a0172bd0c5bffa470be87bdee59c7e775..0291d7fe662939836beda03025f9d1b9ed615bf4 100644
--- a/chrome/browser/ui/webui/extensions/install_extension_handler.cc
+++ b/chrome/browser/ui/webui/extensions/install_extension_handler.cc
@@ -105,7 +105,7 @@ void InstallExtensionHandler::HandleInstallMessage(
ZipFileInstaller::Create(ExtensionSystem::Get(profile)->extension_service())
->LoadFromZipFile(file_to_install_);
} else {
- scoped_ptr<ExtensionInstallPrompt> prompt(
+ std::unique_ptr<ExtensionInstallPrompt> prompt(
new ExtensionInstallPrompt(web_ui()->GetWebContents()));
scoped_refptr<CrxInstaller> crx_installer(CrxInstaller::Create(
ExtensionSystem::Get(profile)->extension_service(), std::move(prompt)));
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc ('k') | chrome/browser/ui/webui/fallback_icon_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698