Index: content/public/test/browser_test_utils.h |
diff --git a/content/public/test/browser_test_utils.h b/content/public/test/browser_test_utils.h |
index fed1e73ddc671f7e182458c8d453a5908f89806b..6b2adffa3bf69b7ba6ad4f2e961b0e8ad9277de4 100644 |
--- a/content/public/test/browser_test_utils.h |
+++ b/content/public/test/browser_test_utils.h |
@@ -203,6 +203,9 @@ bool ExecuteScript(const ToRenderFrameHost& adapter, |
// sets |result| to the value passed to "window.domAutomationController.send" by |
// the executed script. They return true on success, false if the script |
// execution failed or did not evaluate to the expected type. |
+bool ExecuteScriptAndExtractDouble(const ToRenderFrameHost& adapter, |
+ const std::string& script, |
+ double* result) WARN_UNUSED_RESULT; |
bool ExecuteScriptAndExtractInt(const ToRenderFrameHost& adapter, |
const std::string& script, |
int* result) WARN_UNUSED_RESULT; |