Chromium Code Reviews| Index: chrome/test/in_process_browser_test.h |
| diff --git a/chrome/test/in_process_browser_test.h b/chrome/test/in_process_browser_test.h |
| index fc7d34fdcf49eef1eda4622497c1b236b95bd81e..8dd586cf753c71ea5a4f7e65739a1e39d251ea52 100644 |
| --- a/chrome/test/in_process_browser_test.h |
| +++ b/chrome/test/in_process_browser_test.h |
| @@ -70,7 +70,7 @@ class InProcessBrowserTest : public testing::Test { |
| protected: |
| // Returns the browser created by CreateBrowser. |
| - Browser* browser() const { return browser_; } |
| + virtual Browser* browser() const { return browser_; } |
|
Paweł Hajdan Jr.
2011/01/05 08:05:52
nit: This shouldn't be needed now, right?
ahendrickson
2011/01/06 16:47:29
You are correct. Removed.
|
| // Convenience methods for adding tabs to a Browser. |
| void AddTabAtIndexToBrowser(Browser* browser, |
| @@ -122,6 +122,9 @@ class InProcessBrowserTest : public testing::Test { |
| // This is invoked from Setup. |
| virtual Browser* CreateBrowser(Profile* profile); |
| + // Similar to |CreateBrowser|, but creates an incognito browser. |
| + virtual Browser* CreateIncognitoBrowser(); |
| + |
| // Creates a browser for a popup window with a single tab (about:blank), waits |
| // for the tab to finish loading, and shows the browser. |
| Browser* CreateBrowserForPopup(Profile* profile); |