Searched refs:callback_info (Results 1 – 3 of 3) sorted by relevance
131 CallbackInfo* callback_info = reinterpret_cast<CallbackInfo*>(user_data); in CallbackWrapper() local132 PP_RunCompletionCallback(&callback_info->user_callback, result); in CallbackWrapper()133 ReportCallbackInvocationToJS(callback_info->callback_name.c_str()); in CallbackWrapper()134 delete callback_info; in CallbackWrapper()146 CallbackInfo* callback_info = new(std::nothrow) CallbackInfo; in MakeTestableCompletionCallback() local147 CHECK(callback_info != NULL); in MakeTestableCompletionCallback()148 callback_info->callback_name = callback_name; in MakeTestableCompletionCallback()149 callback_info->user_callback = in MakeTestableCompletionCallback()152 return PP_MakeOptionalCompletionCallback(CallbackWrapper, callback_info); in MakeTestableCompletionCallback()
2335 Handle<CallHandlerInfo> callback_info = in RunMicrotasks() local2338 v8::ToCData<v8::MicrotaskCallback>(callback_info->callback()); in RunMicrotasks()2339 void* data = v8::ToCData<void*>(callback_info->data()); in RunMicrotasks()
6691 i::Handle<i::CallHandlerInfo> callback_info = in EnqueueMicrotask() local6694 SET_FIELD_WRAPPED(callback_info, set_callback, microtask); in EnqueueMicrotask()6695 SET_FIELD_WRAPPED(callback_info, set_data, data); in EnqueueMicrotask()6696 isolate->EnqueueMicrotask(callback_info); in EnqueueMicrotask()