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 f05f4037b4c0980626b8c48ff7d30397a63adcfd..ee1d9038213a32b40c833db54d4096a3f444c986 100644 |
--- a/content/public/test/browser_test_utils.h |
+++ b/content/public/test/browser_test_utils.h |
@@ -194,6 +194,14 @@ bool ExecuteScriptAndExtractString(const ToRenderFrameHost& adapter, |
const std::string& script, |
std::string* result) WARN_UNUSED_RESULT; |
+// This function behaves similarly to ExecuteScriptAndExtractBool but runs the |
+// the script in the specified isolated world. |
+bool ExecuteScriptInIsolatedWorldAndExtractBool( |
+ const ToRenderFrameHost& adapter, |
+ const int world_id, |
+ const std::string& script, |
+ bool* result) WARN_UNUSED_RESULT; |
+ |
// Walks the frame tree of the specified WebContents and returns the sole frame |
// that matches the specified predicate function. This function will DCHECK if |
// no frames match the specified predicate, or if more than one frame matches. |