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

Unified Diff: chrome/installer/util/beacons_unittest.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
« no previous file with comments | « chrome/installer/util/beacons.cc ('k') | chrome/installer/util/browser_distribution.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/beacons_unittest.cc
diff --git a/chrome/installer/util/beacons_unittest.cc b/chrome/installer/util/beacons_unittest.cc
index 2465dd3cc9c97212caac063db33f01bb271930fb..2553912e1f1747c6337ae139d98e6790dc6ceba9 100644
--- a/chrome/installer/util/beacons_unittest.cc
+++ b/chrome/installer/util/beacons_unittest.cc
@@ -223,9 +223,9 @@ class DefaultBrowserBeaconTest
// Tests that the default browser beacons work as expected.
TEST_P(DefaultBrowserBeaconTest, All) {
- scoped_ptr<Beacon> last_was_default(MakeLastWasDefaultBeacon(
+ std::unique_ptr<Beacon> last_was_default(MakeLastWasDefaultBeacon(
system_install_, distribution_->GetAppRegistrationData()));
- scoped_ptr<Beacon> first_not_default(MakeFirstNotDefaultBeacon(
+ std::unique_ptr<Beacon> first_not_default(MakeFirstNotDefaultBeacon(
system_install_, distribution_->GetAppRegistrationData()));
ASSERT_TRUE(last_was_default->Get().is_null());
« no previous file with comments | « chrome/installer/util/beacons.cc ('k') | chrome/installer/util/browser_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698