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

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

Issue 1924913002: [DevTools] Move API methods from V8DebuggerAgent to V8InspectorSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/InspectorSession.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorSession.cpp b/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
index 762fa10641d9f41a74237a096acbfd0ec17d4a0c..43b349d98ffd4c3ffe82a06b94203e923f629a10 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
@@ -139,43 +139,43 @@ void InspectorSession::scriptExecutionBlockedByCSP(const String& directiveText)
ASSERT(isInstrumenting());
OwnPtr<protocol::DictionaryValue> directive = protocol::DictionaryValue::create();
directive->setString("directiveText", directiveText);
- m_v8Session->debuggerAgent()->breakProgramOnException(protocol::Debugger::Paused::ReasonEnum::CSPViolation, directive.release());
+ m_v8Session->breakProgramOnException(protocol::Debugger::Paused::ReasonEnum::CSPViolation, directive.release());
}
void InspectorSession::asyncTaskScheduled(const String& taskName, void* task)
{
ASSERT(isInstrumenting());
- m_v8Session->debuggerAgent()->asyncTaskScheduled(taskName, task, false);
+ m_v8Session->asyncTaskScheduled(taskName, task, false);
}
void InspectorSession::asyncTaskScheduled(const String& operationName, void* task, bool recurring)
{
ASSERT(isInstrumenting());
- m_v8Session->debuggerAgent()->asyncTaskScheduled(operationName, task, recurring);
+ m_v8Session->asyncTaskScheduled(operationName, task, recurring);
}
void InspectorSession::asyncTaskCanceled(void* task)
{
ASSERT(isInstrumenting());
- m_v8Session->debuggerAgent()->asyncTaskCanceled(task);
+ m_v8Session->asyncTaskCanceled(task);
}
void InspectorSession::allAsyncTasksCanceled()
{
ASSERT(isInstrumenting());
- m_v8Session->debuggerAgent()->allAsyncTasksCanceled();
+ m_v8Session->allAsyncTasksCanceled();
}
void InspectorSession::asyncTaskStarted(void* task)
{
ASSERT(isInstrumenting());
- m_v8Session->debuggerAgent()->asyncTaskStarted(task);
+ m_v8Session->asyncTaskStarted(task);
}
void InspectorSession::asyncTaskFinished(void* task)
{
ASSERT(isInstrumenting());
- m_v8Session->debuggerAgent()->asyncTaskFinished(task);
+ m_v8Session->asyncTaskFinished(task);
}
void InspectorSession::didStartProvisionalLoad(LocalFrame* frame)

Powered by Google App Engine
This is Rietveld 408576698