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

Unified Diff: chrome/installer/util/registry_key_backup.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/util/product.h ('k') | chrome/installer/util/registry_key_backup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/registry_key_backup.h
diff --git a/chrome/installer/util/registry_key_backup.h b/chrome/installer/util/registry_key_backup.h
index 6d4e9f899a41a418f9d1265255ff777f48beaa3b..df4636ff9033014770633d038b44b9545e832931 100644
--- a/chrome/installer/util/registry_key_backup.h
+++ b/chrome/installer/util/registry_key_backup.h
@@ -7,8 +7,9 @@
#include <windows.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
// A container for a registry key, its values, and its subkeys. We don't use
// more obvious methods for various reasons:
@@ -41,7 +42,7 @@ class RegistryKeyBackup {
class KeyData;
// The values and subkeys of the backed-up key.
- scoped_ptr<KeyData> key_data_;
+ std::unique_ptr<KeyData> key_data_;
DISALLOW_COPY_AND_ASSIGN(RegistryKeyBackup);
};
« no previous file with comments | « chrome/installer/util/product.h ('k') | chrome/installer/util/registry_key_backup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698