Lines Matching refs:Response

218 Response V8ProfilerAgentImpl::enable() {  in enable()
219 if (m_enabled) return Response::OK(); in enable()
222 return Response::OK(); in enable()
225 Response V8ProfilerAgentImpl::disable() { in disable()
226 if (!m_enabled) return Response::OK(); in disable()
235 return Response::OK(); in disable()
238 Response V8ProfilerAgentImpl::setSamplingInterval(int interval) { in setSamplingInterval()
240 return Response::Error("Cannot change sampling interval when profiling."); in setSamplingInterval()
243 return Response::OK(); in setSamplingInterval()
266 Response V8ProfilerAgentImpl::start() { in start()
267 if (m_recordingCPUProfile) return Response::OK(); in start()
268 if (!m_enabled) return Response::Error("Profiler is not enabled"); in start()
273 return Response::OK(); in start()
276 Response V8ProfilerAgentImpl::stop( in stop()
279 return Response::Error("No recording profiles found"); in stop()
286 if (!profile->get()) return Response::Error("Profile is not found"); in stop()
290 return Response::OK(); in stop()
293 Response V8ProfilerAgentImpl::startPreciseCoverage(Maybe<bool> callCount, in startPreciseCoverage()
295 if (!m_enabled) return Response::Error("Profiler is not enabled"); in startPreciseCoverage()
312 return Response::OK(); in startPreciseCoverage()
315 Response V8ProfilerAgentImpl::stopPreciseCoverage() { in stopPreciseCoverage()
316 if (!m_enabled) return Response::Error("Profiler is not enabled"); in stopPreciseCoverage()
321 return Response::OK(); in stopPreciseCoverage()
334 Response coverageToProtocol( in coverageToProtocol()
390 return Response::OK(); in coverageToProtocol()
394 Response V8ProfilerAgentImpl::takePreciseCoverage( in takePreciseCoverage()
399 return Response::Error("Precise coverage has not been started."); in takePreciseCoverage()
406 Response V8ProfilerAgentImpl::getBestEffortCoverage( in getBestEffortCoverage()
462 Response V8ProfilerAgentImpl::startTypeProfile() { in startTypeProfile()
466 return Response::OK(); in startTypeProfile()
469 Response V8ProfilerAgentImpl::stopTypeProfile() { in stopTypeProfile()
472 return Response::OK(); in stopTypeProfile()
475 Response V8ProfilerAgentImpl::takeTypeProfile( in takeTypeProfile()
480 return Response::Error("Type profile has not been started."); in takeTypeProfile()
486 return Response::OK(); in takeTypeProfile()