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

Unified Diff: content/public/browser/restore_type.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
« no previous file with comments | « content/public/browser/reload_type.h ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/restore_type.h
diff --git a/content/public/browser/restore_type.h b/content/public/browser/restore_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..5aae159ebf6ab60b839bc38366d5b33e167cae4c
--- /dev/null
+++ b/content/public/browser/restore_type.h
@@ -0,0 +1,26 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_BROWSER_RESTORE_TYPE_H_
+#define CONTENT_PUBLIC_BROWSER_RESTORE_TYPE_H_
+
+namespace content {
+
+// Enumerations of the possible restore types.
+enum class RestoreType {
+ // Restore from the previous session.
+ LAST_SESSION_EXITED_CLEANLY,
+ LAST_SESSION_CRASHED,
+
+ // The entry has been restored from the current session. This is used when
+ // the user issues 'reopen closed tab'.
+ CURRENT_SESSION,
+
+ // The entry was not restored.
+ NONE
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_RESTORE_TYPE_H_
« no previous file with comments | « content/public/browser/reload_type.h ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698