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

Unified Diff: chrome/app/chrome_crash_reporter_client.h

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/app/chrome_crash_reporter_client.h
diff --git a/chrome/app/chrome_crash_reporter_client.h b/chrome/app/chrome_crash_reporter_client.h
index 5cdeac26459ef2f223d713ae5e71c9303d6076a8..4d184861175fdbffa51c485f8cb410e2e64fb8aa 100644
--- a/chrome/app/chrome_crash_reporter_client.h
+++ b/chrome/app/chrome_crash_reporter_client.h
@@ -7,9 +7,10 @@
#include <stddef.h>
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "build/build_config.h"
#include "components/crash/content/app/crash_reporter_client.h"
@@ -74,7 +75,8 @@ class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient {
private:
#if defined(OS_WIN)
- scoped_ptr<browser_watcher::CrashReportingMetrics> crash_reporting_metrics_;
+ std::unique_ptr<browser_watcher::CrashReportingMetrics>
+ crash_reporting_metrics_;
#endif
DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient);

Powered by Google App Engine
This is Rietveld 408576698