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

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

Issue 1598553003: Implement the Windows desktop search redirection feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't assume that a Browser exists + fix nits Created 4 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 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,

Powered by Google App Engine
This is Rietveld 408576698