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

Unified Diff: chrome/utility/safe_json_parser_handler.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
« no previous file with comments | « chrome/utility/safe_browsing/mac/udif_unittest.cc ('k') | chrome/utility/shell_handler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/safe_json_parser_handler.h
diff --git a/chrome/utility/safe_json_parser_handler.h b/chrome/utility/safe_json_parser_handler.h
index 8eeaf3e7d30522107e35178caf7f27f6adb64338..efbc144b8789a35cfffa8ff6026209af7d2a75f7 100644
--- a/chrome/utility/safe_json_parser_handler.h
+++ b/chrome/utility/safe_json_parser_handler.h
@@ -5,8 +5,9 @@
#ifndef CHROME_UTILITY_SAFE_JSON_PARSER_HANDLER_H_
#define CHROME_UTILITY_SAFE_JSON_PARSER_HANDLER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/utility/utility_message_handler.h"
namespace safe_json {
@@ -26,7 +27,7 @@ class SafeJsonParserHandler : public UtilityMessageHandler {
bool OnMessageReceived(const IPC::Message& message) override;
private:
- scoped_ptr<safe_json::SafeJsonParserMessageFilter> handler_;
+ std::unique_ptr<safe_json::SafeJsonParserMessageFilter> handler_;
DISALLOW_COPY_AND_ASSIGN(SafeJsonParserHandler);
};
« no previous file with comments | « chrome/utility/safe_browsing/mac/udif_unittest.cc ('k') | chrome/utility/shell_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698