| 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 7d5b786958f107705129fca70e55fce0719a4c21..ea6b24fb705b4d3ae2d21e7b9b35c17ee35618fc 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator.h
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator.h
|
| @@ -91,6 +91,14 @@ class StartupBrowserCreator {
|
| return is_default_browser_dialog_suppressed_;
|
| }
|
|
|
| + void set_show_main_browser_window(bool show_main_browser_window) {
|
| + show_main_browser_window_ = show_main_browser_window;
|
| + }
|
| +
|
| + bool show_main_browser_window() const {
|
| + return show_main_browser_window_;
|
| + }
|
| +
|
| private:
|
| friend class CloudPrintProxyPolicyTest;
|
| friend class CloudPrintProxyPolicyStartupTest;
|
| @@ -131,6 +139,10 @@ class StartupBrowserCreator {
|
| // first-run when the dialog has been suppressed.
|
| bool is_default_browser_dialog_suppressed_;
|
|
|
| + // Whether the browser window should be shown immediately after it has been
|
| + // created. Default is true.
|
| + bool show_main_browser_window_;
|
| +
|
| // True if we have already read and reset the preference kWasRestarted. (A
|
| // member variable instead of a static variable inside WasRestarted because
|
| // of testing.)
|
|
|