Index: headless/test/headless_browser_test.h |
diff --git a/headless/test/headless_browser_test.h b/headless/test/headless_browser_test.h |
index ca000dcdbf3f8d40ca7644f66294fb440a59a989..0249cee7198eb0ed57271e7f5430bb30122e3fc3 100644 |
--- a/headless/test/headless_browser_test.h |
+++ b/headless/test/headless_browser_test.h |
@@ -14,9 +14,6 @@ |
} |
namespace headless { |
-namespace runtime { |
-class EvaluateResult; |
-} |
class HeadlessWebContents; |
// Base class for tests which require a full instance of the headless browser. |
@@ -47,11 +44,6 @@ |
// Synchronously waits for a tab to finish loading. |
bool WaitForLoad(HeadlessWebContents* web_contents); |
- // Synchronously evaluates a script and returns the result. |
- std::unique_ptr<runtime::EvaluateResult> EvaluateScript( |
- HeadlessWebContents* web_contents, |
- const std::string& script); |
- |
protected: |
// Returns the browser for the test. |
HeadlessBrowser* browser() const; |