Chromium Code Reviews| 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 c879683bafd6e28f5a268108bb91d0f06684116e..195f9f98ff012c77417890e85a703bf63071d29c 100644 |
| --- a/chrome/browser/ui/startup/startup_browser_creator.h |
| +++ b/chrome/browser/ui/startup/startup_browser_creator.h |
| @@ -136,12 +136,16 @@ class StartupBrowserCreator { |
| FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorWinTest, |
| GetURLsFromCommandLineWithDesktopSearchURL); |
| - // Returns the list of URLs to open from the command line. The returned |
| - // vector is empty if the user didn't specify any URLs on the command line. |
| + // Returns the list of URLs to open from the command line. The returned vector |
| + // is empty if the user didn't specify any URLs on the command line. |
| + // |should_show_desktop_search_infobar| is set to true if an infobar should |
| + // be shown to inform the user that a desktop search has been redirected to |
| + // the default search engine. |
| static std::vector<GURL> GetURLsFromCommandLine( |
| const base::CommandLine& command_line, |
| const base::FilePath& cur_dir, |
| - Profile* profile); |
| + Profile* profile, |
| + bool* should_show_desktop_search_infobar); |
|
Peter Kasting
2016/01/20 03:03:01
Nit: I might name this |show_search_redirection_in
fdoray
2016/01/21 21:02:33
Done.
|
| static bool ProcessCmdLineImpl(const base::CommandLine& command_line, |
| const base::FilePath& cur_dir, |