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_; |
}; |