Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1123)

Unified Diff: content/public/test/browser_test_utils.h

Issue 1231083007: Expose distiller functions to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor-content
Patch Set: Address comments Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..8e20927932948dbd5bdc65c3c9d7f97b9a4daf3f 100644
--- a/content/public/test/browser_test_utils.h
+++ b/content/public/test/browser_test_utils.h
@@ -190,6 +190,11 @@ bool ExecuteScriptAndExtractInt(const ToRenderFrameHost& adapter,
bool ExecuteScriptAndExtractBool(const ToRenderFrameHost& adapter,
const std::string& script,
bool* result) WARN_UNUSED_RESULT;
+bool ExecuteScriptInIsolatedWorldAndExtractBool(
nyquist 2015/08/19 10:59:54 Should this be listed below the non-isolated world
+ const ToRenderFrameHost& adapter,
+ const int world_id,
+ const std::string& script,
+ bool* result) WARN_UNUSED_RESULT;
bool ExecuteScriptAndExtractString(const ToRenderFrameHost& adapter,
const std::string& script,
std::string* result) WARN_UNUSED_RESULT;

Powered by Google App Engine
This is Rietveld 408576698