| 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 8103e208e2145bb205fba476f4540029cfd4c912..4a96ac6e4a2b2a235ccbb4488184ea7923d5aa30 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.h
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.h
|
| @@ -101,19 +101,19 @@ class StartupBrowserCreatorImpl {
|
| // . If |process_startup| is false, restore the last session if necessary,
|
| // or invoke ProcessSpecifiedURLs.
|
| // . Open the urls directly.
|
| - void ProcessLaunchURLs(bool process_startup,
|
| - const std::vector<GURL>& urls_to_open,
|
| - chrome::HostDesktopType desktop_type);
|
| + // Returns the Browser that processed |urls_to_open|.
|
| + Browser* ProcessLaunchURLs(bool process_startup,
|
| + const std::vector<GURL>& urls_to_open,
|
| + chrome::HostDesktopType desktop_type);
|
|
|
| // Does the following:
|
| // . If the user's startup pref is to restore the last session (or the
|
| // command line flag is present to force using last session), it is
|
| // restored.
|
| // . Otherwise invoke ProcessSpecifiedURLs
|
| - // If a browser was created, true is returned. Otherwise returns false and
|
| - // the caller must create a new browser.
|
| - bool ProcessStartupURLs(const std::vector<GURL>& urls_to_open,
|
| - chrome::HostDesktopType desktop_type);
|
| + // Returns a pointer to a Browser if one was created, otherwise nullptr.
|
| + Browser* ProcessStartupURLs(const std::vector<GURL>& urls_to_open,
|
| + chrome::HostDesktopType desktop_type);
|
|
|
| // Invoked from either ProcessLaunchURLs or ProcessStartupURLs to handle
|
| // processing of URLs where the behavior is common between process startup
|
|
|