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

Unified Diff: components/sessions/ios/ios_serialized_navigation_builder.h

Issue 1912843002: Convert //components/sessions 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: components/sessions/ios/ios_serialized_navigation_builder.h
diff --git a/components/sessions/ios/ios_serialized_navigation_builder.h b/components/sessions/ios/ios_serialized_navigation_builder.h
index 816d6223d206d6be2f69e6a6ec77dba5bdec950f..a52285b8c488a559871d562ec9fd543e8da216b9 100644
--- a/components/sessions/ios/ios_serialized_navigation_builder.h
+++ b/components/sessions/ios/ios_serialized_navigation_builder.h
@@ -5,9 +5,9 @@
#ifndef COMPONENTS_SESSIONS_IOS_IOS_SERIALIZED_NAVIGATION_BUILDER_H_
#define COMPONENTS_SESSIONS_IOS_IOS_SERIALIZED_NAVIGATION_BUILDER_H_
+#include <memory>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
namespace web {
@@ -29,7 +29,7 @@ class IOSSerializedNavigationBuilder {
// Convert the given SerializedNavigationEntry into a NavigationItem with the
// given page ID. The NavigationItem will have a transition type of
// PAGE_TRANSITION_RELOAD and a new unique ID.
- static scoped_ptr<web::NavigationItem> ToNavigationItem(
+ static std::unique_ptr<web::NavigationItem> ToNavigationItem(
const SerializedNavigationEntry* navigation);
// Converts a set of SerializedNavigationEntrys into a list of
« no previous file with comments | « components/sessions/core/tab_restore_service_helper.cc ('k') | components/sessions/ios/ios_serialized_navigation_builder.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698