| Index: chrome/browser/ui/startup/startup_browser_creator_impl.h
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.h b/chrome/browser/ui/startup/startup_browser_creator_impl.h
|
| index 7094147882f49397964f3df8924f3f438110fa3c..37e2ccaf4f288296be0a4e4ea103dae7b319aea6 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.h
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.h
|
| @@ -62,6 +62,16 @@ class StartupBrowserCreatorImpl {
|
| bool process_startup,
|
| const std::vector<GURL>& urls);
|
|
|
| + // Opens |urls| after session will be restored.
|
| + void OpenURLsAfterSessionRestore(Browser* browser,
|
| + bool process_startup,
|
| + const std::vector<GURL>& urls);
|
| + // TODO(eugenebng): this likely have to be refactored before comminting
|
| + bool WillRestoreSession(Browser* browser,
|
| + Profile* profile,
|
| + bool process_startup,
|
| + const std::vector<GURL>& urls);
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(BrowserTest, RestorePinnedTabs);
|
| FRIEND_TEST_ALL_PREFIXES(BrowserTest, AppIdSwitch);
|
| @@ -237,6 +247,9 @@ class StartupBrowserCreatorImpl {
|
| // Checks whether |profile_| has a reset trigger set.
|
| bool ProfileHasResetTrigger() const;
|
|
|
| + // Open URLs that are saved for delayed opening after restore session
|
| + void OpenDeferredURLs(Browser* browser);
|
| +
|
| const base::FilePath cur_dir_;
|
| const base::CommandLine& command_line_;
|
| Profile* profile_;
|
|
|