| Index: ios/web/navigation/crw_session_entry.h
|
| diff --git a/ios/web/navigation/crw_session_entry.h b/ios/web/navigation/crw_session_entry.h
|
| index f584712fde61cb467f768d6d01315e6fff1c72a0..1251d34f6596908d886a79dac06838fb39ea06cd 100644
|
| --- a/ios/web/navigation/crw_session_entry.h
|
| +++ b/ios/web/navigation/crw_session_entry.h
|
| @@ -8,6 +8,8 @@
|
| #import <Foundation/Foundation.h>
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/strings/string16.h"
|
| #include "base/time/time.h"
|
| #include "ui/base/page_transition_types.h"
|
| @@ -25,7 +27,7 @@ class NavigationItemImpl;
|
| // DEPRECATED, do not use this class and do not add any methods to it.
|
| // Use web::NavigationItem instead.
|
| // TODO(crbug.com/454984): Remove this class.
|
| -@interface CRWSessionEntry : NSObject
|
| +@interface CRWSessionEntry : NSObject<NSCopying>
|
|
|
| // Pointer to the NavigationItem associated with this CRWSessionEntry.
|
| // Eventually, this will replace CRWSessionEntry entirely.
|
| @@ -35,7 +37,8 @@ class NavigationItemImpl;
|
| @property(nonatomic, readonly) web::NavigationItemImpl* navigationItemImpl;
|
|
|
| // Initialize the session entry with the given NavigationItem.
|
| -- (instancetype)initWithNavigationItem:(web::NavigationItem*)item;
|
| +- (instancetype)initWithNavigationItem:
|
| + (std::unique_ptr<web::NavigationItem>)item;
|
|
|
| @end
|
|
|
|
|