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

Unified Diff: chrome/installer/util/chromium_binaries_distribution.cc

Issue 1878313003: Convert //chrome/installer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert decompress.cc in mini_installer. 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/installer/util/chromium_binaries_distribution.cc
diff --git a/chrome/installer/util/chromium_binaries_distribution.cc b/chrome/installer/util/chromium_binaries_distribution.cc
index c1a278c9d17dacd42c70e79895dc5f76f48a8dec..e4570632e6a5cc7e1d664632e4d550e45561065d 100644
--- a/chrome/installer/util/chromium_binaries_distribution.cc
+++ b/chrome/installer/util/chromium_binaries_distribution.cc
@@ -19,16 +19,16 @@ const wchar_t kChromiumBinariesName[] = L"Chromium Binaries";
} // namespace
ChromiumBinariesDistribution::ChromiumBinariesDistribution()
- : BrowserDistribution(
- CHROME_BINARIES,
- scoped_ptr<AppRegistrationData>(new NonUpdatingAppRegistrationData(
- base::string16(L"Software\\").append(kChromiumBinariesName)))),
+ : BrowserDistribution(CHROME_BINARIES,
+ std::unique_ptr<AppRegistrationData>(
+ new NonUpdatingAppRegistrationData(
+ base::string16(L"Software\\")
+ .append(kChromiumBinariesName)))),
browser_distribution_(
- BrowserDistribution::GetSpecificDistribution(CHROME_BROWSER)) {
-}
+ BrowserDistribution::GetSpecificDistribution(CHROME_BROWSER)) {}
ChromiumBinariesDistribution::ChromiumBinariesDistribution(
- scoped_ptr<AppRegistrationData> app_reg_data)
+ std::unique_ptr<AppRegistrationData> app_reg_data)
: BrowserDistribution(CHROME_BINARIES, std::move(app_reg_data)),
browser_distribution_(
BrowserDistribution::GetSpecificDistribution(CHROME_BROWSER)) {}
« no previous file with comments | « chrome/installer/util/chromium_binaries_distribution.h ('k') | chrome/installer/util/conditional_work_item_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698