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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp

Issue 2194063002: [DevTools] Move canExecuteScript to V8DebuggerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
diff --git a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
index 8fc52a8ba6203fd78ef7e5d9298c9c3e3b7d1d23..96388873e08ea510fd7b6d29ab1c09084bee9ebe 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
@@ -157,6 +157,12 @@ void WorkerThreadDebugger::endEnsureAllContextsInGroup(int contextGroupId)
DCHECK(contextGroupId == workerContextGroupId);
}
+bool WorkerThreadDebugger::canExecuteScripts(int contextGroupId)
+{
+ DCHECK(contextGroupId == workerContextGroupId);
+ return true;
+}
+
void WorkerThreadDebugger::consoleAPIMessage(int contextGroupId, V8ConsoleAPIType type, const String16& message, const String16& url, unsigned lineNumber, unsigned columnNumber, V8StackTrace* stackTrace)
{
DCHECK(contextGroupId == workerContextGroupId);

Powered by Google App Engine
This is Rietveld 408576698