Lines Matching defs:method
31 Method method = GetMethodEnum(request.GetMethod());
33 switch (method) {
71 SendResponse(request, DispatchResponse::Fail("Unknown method: " + request.GetMethod()));
76 HeapProfilerImpl::DispatcherImpl::Method HeapProfilerImpl::DispatcherImpl::GetMethodEnum(const std::string& method)
78 if (method == "addInspectedHeapObject") {
80 } else if (method == "collectGarbage") {
82 } else if (method == "enable") {
84 } else if (method == "disable") {
86 } else if (method == "getHeapObjectId") {
88 } else if (method == "getObjectByHeapObjectId") {
90 } else if (method == "getSamplingProfile") {
92 } else if (method == "startSampling") {
94 } else if (method == "startTrackingHeapObjects") {
96 } else if (method == "stopSampling") {
98 } else if (method == "stopTrackingHeapObjects") {
100 } else if (method == "takeHeapSnapshot") {