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

Unified Diff: chrome/installer/util/beacons.h

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/setup/uninstall.cc ('k') | chrome/installer/util/beacons.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/beacons.h
diff --git a/chrome/installer/util/beacons.h b/chrome/installer/util/beacons.h
index bec393e4ec09d26b0af389d46d765fe6ae28af21..e1bdaa68f9f6538be403cb8a9516314b9d0d1ae2 100644
--- a/chrome/installer/util/beacons.h
+++ b/chrome/installer/util/beacons.h
@@ -7,8 +7,9 @@
#include <windows.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "base/strings/string_piece.h"
#include "base/time/time.h"
@@ -40,19 +41,19 @@ namespace installer_util {
class Beacon;
// Returns a Beacon representing the last time the machine's OS was ugpraded.
-scoped_ptr<Beacon> MakeLastOsUpgradeBeacon(
+std::unique_ptr<Beacon> MakeLastOsUpgradeBeacon(
bool system_install,
const AppRegistrationData& registration_data);
// Returns a Beacon representing the last time Chrome was the user's default
// browser.
-scoped_ptr<Beacon> MakeLastWasDefaultBeacon(
+std::unique_ptr<Beacon> MakeLastWasDefaultBeacon(
bool system_install,
const AppRegistrationData& registration_data);
// Returns a Beacon representing the first time Chrome was not the user's
// default browser.
-scoped_ptr<Beacon> MakeFirstNotDefaultBeacon(
+std::unique_ptr<Beacon> MakeFirstNotDefaultBeacon(
bool system_install,
const AppRegistrationData& registration_data);
« no previous file with comments | « chrome/installer/setup/uninstall.cc ('k') | chrome/installer/util/beacons.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698