Chromium Code Reviews| Index: chrome/test/base/in_process_browser_test.h |
| diff --git a/chrome/test/base/in_process_browser_test.h b/chrome/test/base/in_process_browser_test.h |
| index a64a47d349862b32cac8c1d2d9558d33ac5bce81..74d542a9852486ce8aea79ea390c18f3be319239 100644 |
| --- a/chrome/test/base/in_process_browser_test.h |
| +++ b/chrome/test/base/in_process_browser_test.h |
| @@ -171,6 +171,10 @@ class InProcessBrowserTest : public content::BrowserTestBase { |
| exit_when_last_browser_closes_ = value; |
| } |
| + void set_open_about_blank_on_browser_launch(bool value) { |
| + open_about_blank_on_browser_launch_ = value; |
| + } |
| + |
| // This must be called before RunTestOnMainThreadLoop() to have any effect. |
| void set_multi_desktop_test(bool multi_desktop_test) { |
| multi_desktop_test_ = multi_desktop_test; |
| @@ -198,6 +202,9 @@ class InProcessBrowserTest : public content::BrowserTestBase { |
| // True if we should exit the tests after the last browser instance closes. |
| bool exit_when_last_browser_closes_; |
| + // True if the about:blank should be opened when the browser is launched. |
|
Andrew T Wilson (Slow)
2014/07/09 13:37:59
nit: "the about:blank tab" or just "about:blank" -
kaliamoorthi
2014/07/11 10:05:20
Done.
|
| + bool open_about_blank_on_browser_launch_; |
| + |
| // True if this is a multi-desktop test (in which case this browser test will |
| // not ensure that Browsers are only created on the tested desktop). |
| bool multi_desktop_test_; |