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

Unified Diff: content/browser/frame_host/navigation_entry_impl.h

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [rebase] Created 4 years, 3 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: 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..bb0c91bda98e13dc72f340e4805d69be4cb93c4c 100644
--- a/content/browser/frame_host/navigation_entry_impl.h
+++ b/content/browser/frame_host/navigation_entry_impl.h
@@ -20,6 +20,7 @@
#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/restore_type.h"
#include "content/public/common/page_state.h"
#include "content/public/common/ssl_status.h"
@@ -301,20 +302,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) {
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl_unittest.cc ('k') | content/browser/frame_host/navigation_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698