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

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

Issue 2246233002: [DevTools] Move platform/v8_inspector classes under v8_inspector namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: 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 131b2dcec769477c0d919b9aa16f847f77345e6f..8553011d2b25d5ce2ac497724bc50d182093c183 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp
@@ -86,7 +86,7 @@ int WorkerThreadDebugger::contextGroupId(ExecutionContext* context)
void WorkerThreadDebugger::contextCreated(v8::Local<v8::Context> context)
{
- V8ContextInfo contextInfo(context, workerContextGroupId, "");
+ v8_inspector::V8ContextInfo contextInfo(context, workerContextGroupId, "");
contextInfo.origin = m_workerThread->globalScope()->url().getString();
v8Inspector()->contextCreated(contextInfo);
}
@@ -165,10 +165,10 @@ void WorkerThreadDebugger::resumeStartup(int contextGroupId)
m_workerThread->stopRunningDebuggerTasksOnPauseOnWorkerThread();
}
-void WorkerThreadDebugger::consoleAPIMessage(int contextGroupId, V8ConsoleAPIType type, const String16& message, const String16& url, unsigned lineNumber, unsigned columnNumber, V8StackTrace* stackTrace)
+void WorkerThreadDebugger::consoleAPIMessage(int contextGroupId, v8_inspector::V8ConsoleAPIType type, const String16& message, const String16& url, unsigned lineNumber, unsigned columnNumber, v8_inspector::V8StackTrace* stackTrace)
{
DCHECK(contextGroupId == workerContextGroupId);
- if (type == V8ConsoleAPIType::kClear)
+ if (type == v8_inspector::V8ConsoleAPIType::kClear)
m_workerThread->consoleMessageStorage()->clear();
std::unique_ptr<SourceLocation> location = SourceLocation::create(url, lineNumber, columnNumber, stackTrace ? stackTrace->clone() : nullptr, 0);
m_workerThread->workerReportingProxy().reportConsoleMessage(ConsoleAPIMessageSource, consoleAPITypeToMessageLevel(type), message, location.get());

Powered by Google App Engine
This is Rietveld 408576698