Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8510)

Unified Diff: chrome/test/in_process_browser_test.h

Issue 5610006: Converted download UI tests to Browser tests. (Closed) Base URL: http://git.chromium.org/git/chromium.git@browser_tests
Patch Set: Changes per Pawel & Brett's comments. Created 9 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698