Lines Matching refs:helper

278   ConsoleHelper helper(info, consoleContext, m_inspector);  in Clear()  local
279 if (!helper.groupId()) return; in Clear()
280 m_inspector->client()->consoleClear(helper.groupId()); in Clear()
281 helper.reportCallWithDefaultArgument(ConsoleAPIType::kClear, in Clear()
286 const String16& title, const ConsoleHelper& helper, in identifierFromTitleOrStackTrace() argument
292 V8StackTraceImpl::capture(inspector->debugger(), helper.groupId(), 1); in identifierFromTitleOrStackTrace()
308 ConsoleHelper helper(info, consoleContext, m_inspector); in Count() local
309 String16 title = helper.firstArgToString(String16("default"), false); in Count()
311 title, helper, consoleContext, m_inspector); in Count()
314 helper.consoleMessageStorage()->count(helper.contextId(), identifier); in Count()
316 helper.reportCallWithArgument( in Count()
323 ConsoleHelper helper(info, consoleContext, m_inspector); in CountReset() local
324 String16 title = helper.firstArgToString(String16("default"), false); in CountReset()
326 title, helper, consoleContext, m_inspector); in CountReset()
328 if (!helper.consoleMessageStorage()->countReset(helper.contextId(), in CountReset()
330 helper.reportCallWithArgument(ConsoleAPIType::kWarning, in CountReset()
337 ConsoleHelper helper(info, consoleContext, m_inspector); in Assert() local
338 DCHECK(!helper.firstArgToBoolean(false)); in Assert()
345 helper.reportCall(ConsoleAPIType::kAssert, arguments); in Assert()
346 m_inspector->debugger()->breakProgramOnAssert(helper.groupId()); in Assert()
351 ConsoleHelper helper(info, consoleContext, m_inspector); in Profile() local
352 helper.forEachSession([&helper](V8InspectorSessionImpl* session) { in Profile()
354 helper.firstArgToString(String16())); in Profile()
360 ConsoleHelper helper(info, consoleContext, m_inspector); in ProfileEnd() local
361 helper.forEachSession([&helper](V8InspectorSessionImpl* session) { in ProfileEnd()
363 helper.firstArgToString(String16())); in ProfileEnd()
370 ConsoleHelper helper(info, consoleContext, inspector); in timeFunction() local
371 String16 protocolTitle = helper.firstArgToString("default", false); in timeFunction()
376 if (helper.consoleMessageStorage()->hasTimer(helper.contextId(), timerId)) { in timeFunction()
377 helper.reportCallWithArgument( in timeFunction()
383 helper.consoleMessageStorage()->time(helper.contextId(), timerId); in timeFunction()
389 ConsoleHelper helper(info, consoleContext, inspector); in timeEndFunction() local
390 String16 protocolTitle = helper.firstArgToString("default", false); in timeEndFunction()
395 if (!helper.consoleMessageStorage()->hasTimer(helper.contextId(), timerId)) { in timeEndFunction()
396 helper.reportCallWithArgument( in timeEndFunction()
402 double elapsed = helper.consoleMessageStorage()->timeEnd( in timeEndFunction()
403 helper.contextId(), in timeEndFunction()
408 helper.reportCallWithArgument(ConsoleAPIType::kTimeEnd, message); in timeEndFunction()
423 ConsoleHelper helper(info, consoleContext, m_inspector); in TimeStamp() local
424 String16 title = helper.firstArgToString(String16()); in TimeStamp()
452 ConsoleHelper helper(args, v8::debug::ConsoleContext(), m_inspector); in keysCallback() local
454 if (!helper.firstArgAsObject().ToLocal(&obj)) return; in keysCallback()
467 ConsoleHelper helper(args, v8::debug::ConsoleContext(), m_inspector); in valuesCallback() local
469 if (!helper.firstArgAsObject().ToLocal(&obj)) return; in valuesCallback()
484 static void setFunctionBreakpoint(ConsoleHelper& helper, int sessionId, in setFunctionBreakpoint() argument
489 V8InspectorSessionImpl* session = helper.session(sessionId); in setFunctionBreakpoint()
502 ConsoleHelper helper(args, v8::debug::ConsoleContext(), m_inspector); in debugFunctionCallback() local
505 if (!helper.firstArgAsFunction().ToLocal(&function)) return; in debugFunctionCallback()
509 setFunctionBreakpoint(helper, sessionId, function, in debugFunctionCallback()
517 ConsoleHelper helper(args, v8::debug::ConsoleContext(), m_inspector); in undebugFunctionCallback() local
519 if (!helper.firstArgAsFunction().ToLocal(&function)) return; in undebugFunctionCallback()
520 setFunctionBreakpoint(helper, sessionId, function, in undebugFunctionCallback()
528 ConsoleHelper helper(args, v8::debug::ConsoleContext(), m_inspector); in monitorFunctionCallback() local
530 if (!helper.firstArgAsFunction().ToLocal(&function)) return; in monitorFunctionCallback()
545 setFunctionBreakpoint(helper, sessionId, function, in monitorFunctionCallback()
554 ConsoleHelper helper(args, v8::debug::ConsoleContext(), m_inspector); in unmonitorFunctionCallback() local
556 if (!helper.firstArgAsFunction().ToLocal(&function)) return; in unmonitorFunctionCallback()
557 setFunctionBreakpoint(helper, sessionId, function, in unmonitorFunctionCallback()
565 ConsoleHelper helper(args, v8::debug::ConsoleContext(), m_inspector); in lastEvaluationResultCallback() local
566 InjectedScript* injectedScript = helper.injectedScript(sessionId); in lastEvaluationResultCallback()
577 ConsoleHelper helper(args, v8::debug::ConsoleContext(), inspector); in inspectImpl() local
578 InjectedScript* injectedScript = helper.injectedScript(sessionId); in inspectImpl()
593 if (V8InspectorSessionImpl* session = helper.session(sessionId)) { in inspectImpl()
638 ConsoleHelper helper(args, v8::debug::ConsoleContext(), m_inspector); in inspectedObject() local
639 if (V8InspectorSessionImpl* session = helper.session(sessionId)) { in inspectedObject()