| 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 96bdbedb700878d2c68cf4cbb0f24356907b6ac4..b454a17109914681b26ef0006a1e6dc47ce095d4 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator.h
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator.h
|
| @@ -83,6 +83,14 @@ class StartupBrowserCreator {
|
| const CommandLine& command_line,
|
| Profile* profile);
|
|
|
| + void set_is_default_browser_dialog_suppressed(bool new_value) {
|
| + is_default_browser_dialog_suppressed_ = new_value;
|
| + }
|
| +
|
| + bool is_default_browser_dialog_suppressed() const {
|
| + return is_default_browser_dialog_suppressed_;
|
| + }
|
| +
|
| private:
|
| friend class CloudPrintProxyPolicyTest;
|
| friend class CloudPrintProxyPolicyStartupTest;
|
| @@ -118,6 +126,11 @@ class StartupBrowserCreator {
|
| // Additional tabs to open during first run.
|
| std::vector<GURL> first_run_tabs_;
|
|
|
| + // True if the set-as-default dialog has been explicitly supressed.
|
| + // This information is used to allow the default browser prompt to show on
|
| + // first-run when the dialog has been suppressed.
|
| + bool is_default_browser_dialog_suppressed_;
|
| +
|
| // True if we have already read and reset the preference kWasRestarted. (A
|
| // member variable instead of a static variable inside WasRestarted because
|
| // of testing.)
|
|
|