Home
last modified time | relevance | path

Searched refs:InspectedContext (Results 1 – 18 of 18) sorted by relevance

/external/v8/src/inspector/
Dinspected-context.cc17 class InspectedContext::WeakCallbackData {
19 WeakCallbackData(InspectedContext* context, V8InspectorImpl* inspector, in WeakCallbackData()
44 InspectedContext* m_context;
50 InspectedContext::InspectedContext(V8InspectorImpl* inspector, in InspectedContext() function in v8_inspector::InspectedContext
63 &InspectedContext::WeakCallbackData::resetContext, in InspectedContext()
78 InspectedContext::~InspectedContext() { in ~InspectedContext()
85 int InspectedContext::contextId(v8::Local<v8::Context> context) { in contextId()
89 v8::Local<v8::Context> InspectedContext::context() const { in context()
93 v8::Isolate* InspectedContext::isolate() const { in isolate()
97 bool InspectedContext::isReported(int sessionId) const { in isReported()
[all …]
Dinspected-context.h27 class InspectedContext {
29 ~InspectedContext();
56 InspectedContext(V8InspectorImpl*, const V8ContextInfo&, int contextId);
72 DISALLOW_COPY_AND_ASSIGN(InspectedContext);
Dv8-runtime-agent-impl.h46 class InspectedContext; variable
123 void addBindings(InspectedContext* context);
126 void reportExecutionContextCreated(InspectedContext*);
127 void reportExecutionContextDestroyed(InspectedContext*);
139 void addBinding(InspectedContext* context, const String16& name);
Dv8-inspector-impl.h48 class InspectedContext; variable
122 InspectedContext* getContext(int groupId, int contextId) const;
123 InspectedContext* getContext(int contextId) const;
126 const std::function<void(InspectedContext*)>& callback);
165 std::unordered_map<int, std::unique_ptr<InspectedContext>>;
Dv8-inspector-impl.cc76 return contextGroupId(InspectedContext::contextId(context)); in contextGroupId()
171 InspectedContext* V8InspectorImpl::getContext(int groupId, in getContext()
184 InspectedContext* V8InspectorImpl::getContext(int contextId) const { in getContext()
189 InspectedContext* context = getContext(contextId); in contextById()
195 auto* context = new InspectedContext(this, info, contextId); in contextCreated()
217 int contextId = InspectedContext::contextId(context); in contextDestroyed()
229 InspectedContext* inspectedContext = getContext(groupId, contextId); in contextCollected()
243 [&contextIdsToClear](InspectedContext* context) { in resetContextGroup()
270 InspectedContext::contextId(context), exception, exceptionId); in exceptionThrown()
390 const std::function<void(InspectedContext*)>& callback) { in forEachContext()
Dv8-inspector-session-impl.cc83 return InspectedContext::contextId(context); in executionContextId()
219 [&sessionId](InspectedContext* context) { in discardInjectedScripts()
227 InspectedContext* context = in findInjectedScript()
254 m_contextGroupId, [&objectGroup, &sessionId](InspectedContext* context) { in releaseObjectGroup()
309 findInjectedScript(InspectedContext::contextId(context), injectedScript); in wrapObject()
323 findInjectedScript(InspectedContext::contextId(context), injectedScript); in wrapTable()
332 m_contextGroupId, [&enabled, &sessionId](InspectedContext* context) { in setCustomObjectFormatterEnabled()
341 [&agent](InspectedContext* context) { in reportAllContexts()
Dv8-runtime-agent-impl.cc216 *contextId = InspectedContext::contextId(defaultContext); in ensureContext()
687 InspectedContext* context = in addBinding()
716 [&name, &executionContextName, this](InspectedContext* context) { in addBinding()
735 int contextId = InspectedContext::contextId(isolate->GetCurrentContext()); in bindingCallback()
750 void V8RuntimeAgentImpl::addBinding(InspectedContext* context, in addBinding()
782 void V8RuntimeAgentImpl::addBindings(InspectedContext* context) { in addBindings()
813 [this](InspectedContext* context) { addBindings(context); }); in restore()
853 [&sessionId](InspectedContext* context) { in reset()
861 InspectedContext* context) { in reportExecutionContextCreated()
882 InspectedContext* context) { in reportExecutionContextDestroyed()
Dinjected-script.h70 InjectedScript(InspectedContext*, int sessionId);
73 InspectedContext* context() const { return m_context; } in context()
234 InspectedContext* m_context;
Dcustom-preview.cc26 int contextId = InspectedContext::contextId(context); in reportError()
55 InspectedContext* inspectedContext = in getInjectedScript()
56 inspector->getContext(InspectedContext::contextId(context)); in getInjectedScript()
Dv8-console-message.h20 class InspectedContext; variable
Dv8-heap-profiler-agent-impl.cc57 InspectedContext* context = m_session->inspector()->getContext( in GetName()
59 InspectedContext::contextId(object->CreationContext())); in GetName()
Dv8-console.h15 class InspectedContext; variable
Dv8-debugger.cc471 InspectedContext::contextId(pausedContext), exception, in handleProgramBreak()
1126 int contextId = InspectedContext::contextId(context); in addInternalObject()
1127 InspectedContext* inspectedContext = m_inspector->getContext(contextId); in addInternalObject()
Dv8-console-message.cc252 InspectedContext* inspectedContext = in wrapArguments()
386 InspectedContext* inspectedContext = in wrapException()
Dinjected-script.cc336 InjectedScript::InjectedScript(InspectedContext* context, int sessionId) in InjectedScript()
1022 InspectedContext* inspectedContext = in bindRemoteObjectIfNeeded()
1023 inspector->getContext(InspectedContext::contextId(context)); in bindRemoteObjectIfNeeded()
Dv8-debugger-agent-impl.cc749 InspectedContext* inspected = m_inspector->getContext(contextId); in getPossibleBreakpoints()
794 InspectedContext* inspected = m_inspector->getContext(contextId); in continueToLocation()
917 InspectedContext* inspected = m_inspector->getContext(contextId); in setBreakpointImpl()
981 InspectedContext* inspected = m_inspector->getContext(contextId); in setScriptSource()
1602 InspectedContext* inspected = in didParseSource()
Dv8-console.cc43 m_contextId(InspectedContext::contextId(m_context)), in ConsoleHelper()
50 InspectedContext* context = m_inspector->getContext(m_groupId, m_contextId); in injectedScript()
Dvalue-mirror.cc36 int contextId = InspectedContext::contextId(context); in v8InternalValueTypeFrom()
37 InspectedContext* inspectedContext = inspector->getContext(contextId); in v8InternalValueTypeFrom()