Lines Matching refs:Response

175 Response V8HeapProfilerAgentImpl::collectGarbage() {  in collectGarbage()
177 return Response::OK(); in collectGarbage()
180 Response V8HeapProfilerAgentImpl::startTrackingHeapObjects( in startTrackingHeapObjects()
187 return Response::OK(); in startTrackingHeapObjects()
190 Response V8HeapProfilerAgentImpl::stopTrackingHeapObjects( in stopTrackingHeapObjects()
195 return Response::OK(); in stopTrackingHeapObjects()
198 Response V8HeapProfilerAgentImpl::enable() { in enable()
200 return Response::OK(); in enable()
203 Response V8HeapProfilerAgentImpl::disable() { in disable()
212 return Response::OK(); in disable()
215 Response V8HeapProfilerAgentImpl::takeHeapSnapshot(Maybe<bool> reportProgress) { in takeHeapSnapshot()
217 if (!profiler) return Response::Error("Cannot access v8 heap profiler"); in takeHeapSnapshot()
225 if (!snapshot) return Response::Error("Failed to take heap snapshot"); in takeHeapSnapshot()
229 return Response::OK(); in takeHeapSnapshot()
232 Response V8HeapProfilerAgentImpl::getObjectByHeapObjectId( in getObjectByHeapObjectId()
237 if (!ok) return Response::Error("Invalid heap snapshot object id"); in getObjectByHeapObjectId()
241 if (heapObject.IsEmpty()) return Response::Error("Object is not available"); in getObjectByHeapObjectId()
244 return Response::Error("Object is not available"); in getObjectByHeapObjectId()
248 if (!*result) return Response::Error("Object is not available"); in getObjectByHeapObjectId()
249 return Response::OK(); in getObjectByHeapObjectId()
252 Response V8HeapProfilerAgentImpl::addInspectedHeapObject( in addInspectedHeapObject()
256 if (!ok) return Response::Error("Invalid heap snapshot object id"); in addInspectedHeapObject()
260 if (heapObject.IsEmpty()) return Response::Error("Object is not available"); in addInspectedHeapObject()
263 return Response::Error("Object is not available"); in addInspectedHeapObject()
266 return Response::OK(); in addInspectedHeapObject()
269 Response V8HeapProfilerAgentImpl::getHeapObjectId( in getHeapObjectId()
274 Response response = in getHeapObjectId()
277 if (value->IsUndefined()) return Response::InternalError(); in getHeapObjectId()
281 return Response::OK(); in getHeapObjectId()
319 Response V8HeapProfilerAgentImpl::startSampling( in startSampling()
322 if (!profiler) return Response::Error("Cannot access v8 heap profiler"); in startSampling()
333 return Response::OK(); in startSampling()
365 Response V8HeapProfilerAgentImpl::stopSampling( in stopSampling()
367 Response result = getSamplingProfile(profile); in stopSampling()
376 Response V8HeapProfilerAgentImpl::getSamplingProfile( in getSamplingProfile()
384 return Response::Error("V8 sampling heap profiler was not started."); in getSamplingProfile()
389 return Response::OK(); in getSamplingProfile()