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

Unified Diff: third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.cpp

Issue 1696513002: DevTools: move protocol-related generators into inspector subfolder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/v8/V8DebuggerImpl.cpp
diff --git a/third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.cpp b/third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.cpp
index e7a67b8e186b020b21a9764524bcf49bc07b6c52..8e6a7316d538ecd34301956f41c13296fcdc1cdd 100644
--- a/third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.cpp
+++ b/third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.cpp
@@ -378,7 +378,7 @@ void V8DebuggerImpl::clearStepping()
callDebuggerMethod("clearStepping", 0, argv);
}
-bool V8DebuggerImpl::setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>& errorData, v8::Global<v8::Object>* newCallFrames, TypeBuilder::OptOutput<bool>* stackChanged)
+bool V8DebuggerImpl::setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<protocol::TypeBuilder::Debugger::SetScriptSourceError>& errorData, v8::Global<v8::Object>* newCallFrames, protocol::TypeBuilder::OptOutput<bool>* stackChanged)
{
class EnableLiveEditScope {
public:
@@ -436,14 +436,14 @@ bool V8DebuggerImpl::setScriptSource(const String& sourceID, const String& newCo
// Compile error.
case 1:
{
- RefPtr<TypeBuilder::Debugger::SetScriptSourceError::CompileError> compileError =
- TypeBuilder::Debugger::SetScriptSourceError::CompileError::create()
+ RefPtr<protocol::TypeBuilder::Debugger::SetScriptSourceError::CompileError> compileError =
+ protocol::TypeBuilder::Debugger::SetScriptSourceError::CompileError::create()
.setMessage(toWTFStringWithTypeCheck(resultTuple->Get(2)))
.setLineNumber(resultTuple->Get(3)->ToInteger(m_isolate)->Value())
.setColumnNumber(resultTuple->Get(4)->ToInteger(m_isolate)->Value());
*error = toWTFStringWithTypeCheck(resultTuple->Get(1));
- errorData = TypeBuilder::Debugger::SetScriptSourceError::create();
+ errorData = protocol::TypeBuilder::Debugger::SetScriptSourceError::create();
errorData->setCompileError(compileError);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698