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

Unified Diff: content/renderer/history_serialization.h

Issue 1873783003: Convert //content/renderer 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 | « content/renderer/history_entry.h ('k') | content/renderer/history_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/history_serialization.h
diff --git a/content/renderer/history_serialization.h b/content/renderer/history_serialization.h
index e9752af048e27d525c1d017153a79aca38f1f129..c9f4fe9df33c7c4045696445d298bbced3e6babb 100644
--- a/content/renderer/history_serialization.h
+++ b/content/renderer/history_serialization.h
@@ -5,9 +5,9 @@
#ifndef CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
#define CONTENT_RENDERER_HISTORY_SERIALIZATION_H_
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
namespace blink {
@@ -21,7 +21,7 @@ class PageState;
CONTENT_EXPORT PageState HistoryEntryToPageState(HistoryEntry* entry);
CONTENT_EXPORT PageState SingleHistoryItemToPageState(
const blink::WebHistoryItem& item);
-CONTENT_EXPORT scoped_ptr<HistoryEntry> PageStateToHistoryEntry(
+CONTENT_EXPORT std::unique_ptr<HistoryEntry> PageStateToHistoryEntry(
const PageState& state);
} // namespace content
« no previous file with comments | « content/renderer/history_entry.h ('k') | content/renderer/history_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698