Chromium Code Reviews| 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 d009d57653a8ff876915762f759e6341f5f46478..1393b3996367964fd4e91f72a56e7e8aee1ca42d 100644 |
| --- a/chrome/browser/ui/startup/default_browser_prompt.h |
| +++ b/chrome/browser/ui/startup/default_browser_prompt.h |
| @@ -15,6 +15,13 @@ void RegisterDefaultBrowserPromptPrefs(PrefRegistrySimple* registry); |
| // Shows a prompt UI to set the default browser if necessary. |
| void ShowDefaultBrowserPrompt(Profile* profile); |
| +// Marks the default browser prompt as having been dismissed. |
|
msw
2016/03/08 18:01:03
nit: maybe order these after the Show* function pa
grt (UTC plus 2)
2016/03/11 16:04:31
They relate only to the ShowDefaultBrowserPrompt,
|
| +void MarkDefaultBrowserPromptAsDismissed(Profile* profile); |
| + |
| +// Resets the tracking preference for the default browser prompt so that it is |
| +// re-shown if the browser ceases to be the user's chosen default. |
| +void ResetDefaultBrowserPrompt(Profile* profile); |
| + |
| // Shows a prompt UI to set the default browser on first run |
| // (if necessary and permitted). Returns true if the dialog has been launched. |
| bool ShowFirstRunDefaultBrowserPrompt(Profile* profile); |