MCPcopy Create free account
hub / github.com/ChromiumWebApps/chromium / MayForce

Method MayForce

ppapi/cpp/completion_callback.h:159–165  ·  view source on GitHub ↗

MayForce() is used when implementing functions taking callbacks. If the callback is required and result indicates that it has not been scheduled, it will be forced on the main thread. Example: @code int32_t OpenURL(pp::URLLoader* loader, pp::URLRequestInfo* url_request_info, const CompletionCallback& cc) { if (loader == NULL || url_request_info == NULL) return cc.M

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

LockMouseMethod · 0.80
ConfigureMethod · 0.80
GetFrameMethod · 0.80
OpenMethod · 0.80
FlushMethod · 0.80
GetProxyForURLMethod · 0.80
ResolveMethod · 0.80
BindMethod · 0.80
RecvFromMethod · 0.80
SendToMethod · 0.80
SetOptionMethod · 0.80
UpdateNetworkListMethod · 0.80

Calls 3

CallOnMainThreadMethod · 0.80
GetFunction · 0.50
coreMethod · 0.45

Tested by

no test coverage detected