Index: third_party/WebKit/Source/bindings/core/v8/ScriptController.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h |
index 901afc394b9646e902fdf793997407fb252f6681..87e09753270f61f5c1ca4285b7a5ba9178c83ec4 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h |
@@ -111,6 +111,11 @@ class CORE_EXPORT ScriptController final |
// Returns true if argument is a JavaScript URL. |
bool ExecuteScriptIfJavaScriptURL(const KURL&, Element*); |
+ // Creates a new isolated world for DevTools with the given human readable |
+ // |world_name| and returns it's id or DOMWrapperWorld::kInvalidWorldId on |
+ // failure. |
+ int CreateNewDevToolsIsolatedWorld(const String& world_name); |
+ |
// Returns true if the current world is isolated, and has its own Content |
// Security Policy. In this case, the policy of the main world should be |
// ignored when evaluating resources injected into the DOM. |