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

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

Issue 2469363002: Tech Debt Repayment for StartupBrowserCreatorImpl Refactor (Closed)
Patch Set: Session restore formatting Created 3 years, 10 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: chrome/browser/sessions/session_restore.cc
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
index c62f6205c071ad09211b8e3bab96526cb4bfc2b5..2fbabcb9fdf9555a189ebd68d7618a3587ec0767 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -746,11 +746,10 @@ class SessionRestoreImpl : public content::NotificationObserver {
// SessionRestore -------------------------------------------------------------
// static
-Browser* SessionRestore::RestoreSession(
- Profile* profile,
- Browser* browser,
- uint32_t behavior,
- const std::vector<GURL>& urls_to_open) {
+Browser* SessionRestore::RestoreSession(Profile* profile,
+ Browser* browser,
+ SessionRestore::Behavior behavior,
+ const std::vector<GURL>& urls_to_open) {
#if defined(OS_CHROMEOS)
chromeos::BootTimesRecorder::Get()->AddLoginTimeMarker(
"SessionRestore-Start", false);
@@ -775,7 +774,7 @@ Browser* SessionRestore::RestoreSession(
// static
void SessionRestore::RestoreSessionAfterCrash(Browser* browser) {
- uint32_t behavior =
+ SessionRestore::Behavior behavior =
HasSingleNewTabPage(browser) ? SessionRestore::CLOBBER_CURRENT_TAB : 0;
SessionRestore::RestoreSession(browser->profile(), browser, behavior,
std::vector<GURL>());

Powered by Google App Engine
This is Rietveld 408576698