Chromium Code Reviews| Index: content/browser/frame_host/navigation_entry_impl.h |
| diff --git a/content/browser/frame_host/navigation_entry_impl.h b/content/browser/frame_host/navigation_entry_impl.h |
| index 04162896b4793be53730fc0817eeb24e33b95314..d88b401cfea67d3b15800ccc91f495b6543a7fc9 100644 |
| --- a/content/browser/frame_host/navigation_entry_impl.h |
| +++ b/content/browser/frame_host/navigation_entry_impl.h |
| @@ -20,6 +20,8 @@ |
| #include "content/public/browser/favicon_status.h" |
| #include "content/public/browser/global_request_id.h" |
| #include "content/public/browser/navigation_entry.h" |
| +#include "content/public/browser/navigation_type.h" |
|
Charlie Reis
2016/09/09 05:41:05
I don't think we need this, do we?
Takashi Toyoshima
2016/09/09 07:31:30
Oh, right. We only need restore_type.h here.
|
| +#include "content/public/browser/restore_type.h" |
| #include "content/public/common/page_state.h" |
| #include "content/public/common/ssl_status.h" |
| @@ -301,20 +303,6 @@ class CONTENT_EXPORT NavigationEntryImpl |
| user_typed_url_ = user_typed_url; |
| } |
| - // Enumerations of the possible restore types. |
| - enum RestoreType { |
| - // Restore from the previous session. |
| - RESTORE_LAST_SESSION_EXITED_CLEANLY, |
| - RESTORE_LAST_SESSION_CRASHED, |
| - |
| - // The entry has been restored from the current session. This is used when |
| - // the user issues 'reopen closed tab'. |
| - RESTORE_CURRENT_SESSION, |
| - |
| - // The entry was not restored. |
| - RESTORE_NONE |
| - }; |
| - |
| // The RestoreType for this entry. This is set if the entry was retored. This |
| // is set to RESTORE_NONE once the entry is loaded. |
| void set_restore_type(RestoreType type) { |