| 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..fbca179b4fccf84df96950a4627c0cb8190bedfe 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.h
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.h
|
| @@ -62,6 +62,12 @@ class StartupBrowserCreatorImpl {
|
| bool process_startup,
|
| const std::vector<GURL>& urls);
|
|
|
| + // Opens |urls| after session will be restored.
|
| + // When startup |urls| are availible and need to be stored for later opening,
|
| + // StartupBrowserCreatorImpl which will do the job may be not availible yet -
|
| + // so it better be static.
|
| + static void OpenURLsAfterSessionRestore(const std::vector<GURL>& urls);
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(BrowserTest, RestorePinnedTabs);
|
| FRIEND_TEST_ALL_PREFIXES(BrowserTest, AppIdSwitch);
|
| @@ -237,6 +243,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_;
|
|
|