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 494d30e4ceb23d3aab51e2d9c710ea90ac6f9d11..4e3bec5ba0a4c2660c2475fee2159fbd722c7707 100644 |
--- a/content/public/test/browser_test_utils.h |
+++ b/content/public/test/browser_test_utils.h |
@@ -206,6 +206,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; |