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

Unified Diff: content/test/content_browser_test.h

Issue 10820007: Move all the layout tests that ran under browser_tests to run under content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 5 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: content/test/content_browser_test.h
===================================================================
--- content/test/content_browser_test.h (revision 148205)
+++ content/test/content_browser_test.h (working copy)
@@ -9,6 +9,8 @@
#include "content/public/test/browser_test.h"
#include "content/test/browser_test_base.h"
+class GURL;
+
namespace content {
class Shell;
class ShellMainDelegate;
@@ -26,11 +28,17 @@
virtual void RunTestOnMainThreadLoop() OVERRIDE;
protected:
+ // Creates a new window and loads about:blank.
+ Shell* CreateBrowser();
+
+ // Creates an off-the-record window and loads about:blank.
+ Shell* CreateOffTheRecordBrowser();
+
// Returns the window for the test.
Shell* shell() const { return shell_; }
private:
- scoped_ptr<content::ShellMainDelegate> shell_main_delegate_;
+ scoped_ptr<content::ShellMainDelegate> shell_main_delegate_;
Shell* shell_;
};

Powered by Google App Engine
This is Rietveld 408576698