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..8e6e2f43f8ef787109010fe5d9d03334437a7188 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() { |
sky
2012/08/08 21:24:13
const
motek.
2012/08/09 14:26:56
Done.
|
+ 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.) |