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

Unified Diff: components/crash/content/app/crash_keys_win.h

Issue 1884743002: Convert a few components from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lint 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 | « components/crash/content/app/breakpad_win.cc ('k') | components/crash/content/app/crashpad_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/content/app/crash_keys_win.h
diff --git a/components/crash/content/app/crash_keys_win.h b/components/crash/content/app/crash_keys_win.h
index 0bfd5ef54b82403cd2ea56f7b427b4662c67bd1a..7c005ae8c8893dd06684a12ae938e1213dadc3d8 100644
--- a/components/crash/content/app/crash_keys_win.h
+++ b/components/crash/content/app/crash_keys_win.h
@@ -8,11 +8,11 @@
#include <stddef.h>
#include <map>
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
namespace base {
@@ -70,7 +70,8 @@ class CrashKeysWin {
void SetBreakpadDumpPath(crash_reporter::CrashReporterClient* crash_client);
// Must not be resized after GetCustomInfo is invoked.
- scoped_ptr<std::vector<google_breakpad::CustomInfoEntry>> custom_entries_;
+ std::unique_ptr<std::vector<google_breakpad::CustomInfoEntry>>
+ custom_entries_;
typedef std::map<std::wstring, google_breakpad::CustomInfoEntry*>
DynamicEntriesMap;
« no previous file with comments | « components/crash/content/app/breakpad_win.cc ('k') | components/crash/content/app/crashpad_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698