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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator.h

Issue 2644663003: Offer to open the startup pages after a crash. (Closed)
Patch Set: Rebase Created 3 years, 11 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/ui/startup/startup_browser_creator.h
diff --git a/chrome/browser/ui/startup/startup_browser_creator.h b/chrome/browser/ui/startup/startup_browser_creator.h
index 73f6853339209ee5e6142737e1d9f56aa561382d..4cd2359194a83c6dbdf21cedbe22b81d711f1c75 100644
--- a/chrome/browser/ui/startup/startup_browser_creator.h
+++ b/chrome/browser/ui/startup/startup_browser_creator.h
@@ -18,6 +18,7 @@
#include "chrome/browser/ui/startup/startup_types.h"
#include "url/gurl.h"
+class Browser;
class GURL;
class PrefRegistrySimple;
@@ -57,6 +58,9 @@ class StartupBrowserCreator {
const base::FilePath& cur_dir,
const base::FilePath& startup_profile_dir);
+ // Opens the set of startup pages from the current session startup prefs.
+ static void OpenStartupPages(Browser* browser, bool process_startup);
+
// Returns true if we're launching a profile synchronously. In that case, the
// opened window should not cause a session restore.
static bool InSynchronousProfileLaunch();
« no previous file with comments | « chrome/browser/sessions/session_restore_browsertest.cc ('k') | chrome/browser/ui/startup/startup_browser_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698