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

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

Issue 10702097: Adds browser preferences to configure first-run flow on Windows 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed grt@'s remarks. Created 8 years, 5 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/default_browser_prompt.h
diff --git a/chrome/browser/ui/startup/default_browser_prompt.h b/chrome/browser/ui/startup/default_browser_prompt.h
index 947ceb9db05cfa5bb20c89b6dbead15d46f28fb7..4376bf93fb802cd58571c36cef4143545ee14b55 100644
--- a/chrome/browser/ui/startup/default_browser_prompt.h
+++ b/chrome/browser/ui/startup/default_browser_prompt.h
@@ -10,7 +10,10 @@ class Profile;
namespace chrome {
// Shows a prompt UI to set the default browser if necessary.
-void ShowDefaultBrowserPrompt(Profile* profile);
+// Unless |permit_prompt_on_first_run| is true, this function is a noop on
+// first run.
+void ShowDefaultBrowserPrompt(Profile* profile,
+ bool permit_prompt_on_first_run);
sky 2012/07/25 16:09:57 Why is this taking a boolean indicating if does an
motek. 2012/07/26 12:11:04 Well, mainly because I wanted to preserve the call
// Shows a prompt UI to set the default browser on first run
// (if necessary and permitted).

Powered by Google App Engine
This is Rietveld 408576698