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

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

Issue 2469363002: Tech Debt Repayment for StartupBrowserCreatorImpl Refactor (Closed)
Patch Set: sky comments 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..0e4d12174b1f35ac32dc100bf098a805cf4d2c5a 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -747,9 +747,8 @@ class SessionRestoreImpl : public content::NotificationObserver {
// static
Browser* SessionRestore::RestoreSession(
- Profile* profile,
- Browser* browser,
- uint32_t behavior,
+ Profile* profile, Browser* browser,
+ SessionRestore::BehaviorBitmask behavior,
const std::vector<GURL>& urls_to_open) {
#if defined(OS_CHROMEOS)
chromeos::BootTimesRecorder::Get()->AddLoginTimeMarker(
@@ -775,7 +774,7 @@ Browser* SessionRestore::RestoreSession(
// static
void SessionRestore::RestoreSessionAfterCrash(Browser* browser) {
- uint32_t behavior =
+ SessionRestore::BehaviorBitmask behavior =
HasSingleNewTabPage(browser) ? SessionRestore::CLOBBER_CURRENT_TAB : 0;
SessionRestore::RestoreSession(browser->profile(), browser, behavior,
std::vector<GURL>());
« no previous file with comments | « chrome/browser/sessions/session_restore.h ('k') | chrome/browser/ui/startup/startup_browser_creator_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698