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

Unified Diff: chrome/browser/sessions/session_restore_android.cc

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 | « chrome/browser/net/predictor_tab_helper.cc ('k') | chrome/browser/ssl/ssl_browser_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_restore_android.cc
diff --git a/chrome/browser/sessions/session_restore_android.cc b/chrome/browser/sessions/session_restore_android.cc
index 68b3734ee50d3995d9824c3fda1384a4f2e8cfc7..1f1d6e175554535ac2aec0fce83cb566ac1b1edf 100644
--- a/chrome/browser/sessions/session_restore_android.cc
+++ b/chrome/browser/sessions/session_restore_android.cc
@@ -14,8 +14,8 @@
#include "chrome/browser/ui/browser_finder.h"
#include "components/sessions/content/content_serialized_navigation_builder.h"
#include "components/sessions/core/session_types.h"
-#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
+#include "content/public/browser/restore_type.h"
#include "content/public/browser/web_contents.h"
// The android implementation does not do anything "foreign session" specific.
@@ -37,8 +37,7 @@ content::WebContents* SessionRestore::RestoreForeignSessionTab(
content::WebContents::CreateParams(context));
int selected_index = session_tab.normalized_navigation_index();
new_web_contents->GetController().Restore(
- selected_index,
- content::NavigationController::RESTORE_LAST_SESSION_EXITED_CLEANLY,
+ selected_index, content::RestoreType::LAST_SESSION_EXITED_CLEANLY,
&entries);
TabAndroid* current_tab = TabAndroid::FromWebContents(web_contents);
« no previous file with comments | « chrome/browser/net/predictor_tab_helper.cc ('k') | chrome/browser/ssl/ssl_browser_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698