| Index: chrome/browser/ui/webui/web_ui_browsertest.h
|
| diff --git a/chrome/browser/ui/webui/web_ui_browsertest.h b/chrome/browser/ui/webui/web_ui_browsertest.h
|
| index 13b2c4096acdb3c0b527b00a2f21d71404b94ea1..79b77309b8cc5860184282841e483de1b3bc7411 100644
|
| --- a/chrome/browser/ui/webui/web_ui_browsertest.h
|
| +++ b/chrome/browser/ui/webui/web_ui_browsertest.h
|
| @@ -59,7 +59,8 @@ class WebUIBrowserTest
|
| const ConstValueVector& function_arguments);
|
|
|
| // Runs a test fixture that may include calls to functions in test_api.js.
|
| - bool RunJavascriptTestF(const std::string& test_fixture,
|
| + bool RunJavascriptTestF(bool is_async,
|
| + const std::string& test_fixture,
|
| const std::string& test_name);
|
|
|
| // Runs a test that may include calls to functions in test_api.js.
|
| @@ -107,10 +108,16 @@ class WebUIBrowserTest
|
| const std::string& preload_test_name);
|
|
|
| protected:
|
| + // URL to dummy WebUI page for testing framework.
|
| + static const char kDummyURL[];
|
| +
|
| WebUIBrowserTest();
|
|
|
| - // Setup test path.
|
| - virtual void SetUpInProcessBrowserTestFixture();
|
| + // Set up test path & override for |kDummyURL|.
|
| + virtual void SetUpInProcessBrowserTestFixture() OVERRIDE;
|
| +
|
| + // Tear down override for |kDummyURL|.
|
| + virtual void TearDownInProcessBrowserTestFixture() OVERRIDE;
|
|
|
| // Returns a mock WebUI object under test (if any).
|
| virtual WebUIMessageHandler* GetMockMessageHandler();
|
|
|