| Index: content/browser/frame_host/navigation_handle_impl.cc
|
| diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc
|
| index a5459d616a3ec8087786bbe6be27ca47b1aa541f..9195f11849db28291f8aab6375626bda9ecf0197 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.cc
|
| +++ b/content/browser/frame_host/navigation_handle_impl.cc
|
| @@ -108,6 +108,7 @@ NavigationHandleImpl::NavigationHandleImpl(
|
| is_stream_(false),
|
| started_from_context_menu_(started_from_context_menu),
|
| reload_type_(ReloadType::NONE),
|
| + restore_type_(RestoreType::NONE),
|
| navigation_type_(NAVIGATION_TYPE_UNKNOWN),
|
| weak_factory_(this) {
|
| DCHECK(!navigation_start.is_null());
|
| @@ -130,8 +131,10 @@ NavigationHandleImpl::NavigationHandleImpl(
|
| nav_entry = nav_controller->GetPendingEntry();
|
| }
|
|
|
| - if (nav_entry)
|
| + if (nav_entry) {
|
| reload_type_ = nav_entry->reload_type();
|
| + restore_type_ = nav_entry->restore_type();
|
| + }
|
| }
|
|
|
| if (!IsRendererDebugURL(url_))
|
| @@ -452,6 +455,10 @@ ReloadType NavigationHandleImpl::GetReloadType() {
|
| return reload_type_;
|
| }
|
|
|
| +RestoreType NavigationHandleImpl::GetRestoreType() {
|
| + return restore_type_;
|
| +}
|
| +
|
| NavigationData* NavigationHandleImpl::GetNavigationData() {
|
| return navigation_data_.get();
|
| }
|
|
|