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

Unified Diff: chrome/installer/util/uninstall_metrics.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/shell_util_unittest.cc ('k') | chrome/installer/util/uninstall_metrics_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/uninstall_metrics.cc
diff --git a/chrome/installer/util/uninstall_metrics.cc b/chrome/installer/util/uninstall_metrics.cc
index 606b132d929fe9c586b29a8eb95fbf5f84d75326..3be41c4f1cc48592b3222f641e4fabfee36d2c97 100644
--- a/chrome/installer/util/uninstall_metrics.cc
+++ b/chrome/installer/util/uninstall_metrics.cc
@@ -4,12 +4,12 @@
#include "chrome/installer/util/uninstall_metrics.h"
+#include <memory>
#include <string>
#include "base/files/file_path.h"
#include "base/json/json_file_value_serializer.h"
#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/common/pref_names.h"
#include "chrome/installer/util/util_constants.h"
@@ -78,7 +78,7 @@ bool ExtractUninstallMetricsFromFile(const base::FilePath& file_path,
JSONFileValueDeserializer json_deserializer(file_path);
std::string json_error_string;
- scoped_ptr<base::Value> root = json_deserializer.Deserialize(NULL, NULL);
+ std::unique_ptr<base::Value> root = json_deserializer.Deserialize(NULL, NULL);
if (!root.get())
return false;
« no previous file with comments | « chrome/installer/util/shell_util_unittest.cc ('k') | chrome/installer/util/uninstall_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698