MCPcopy Create free account
hub / github.com/breach/thrust / EmitEvent

Method EmitEvent

src/api/api_server.cc:53–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void APIServer::Client::Remote::EmitEvent(
54 const std::string type,
55 scoped_ptr<base::DictionaryValue> event)
56{
57 /* Runs on UI Thread. */
58 //LOG(INFO) << "Remote::Client::EmitEvent [" << target_ << "] " << this;
59
60 content::BrowserThread::PostTask(
61 content::BrowserThread::IO, FROM_HERE,
62 base::Bind(&APIServer::Client::SendEvent, client_,
63 target_, type, base::Passed(event.Pass())));
64}
65
66/******************************************************************************/
67/* APISERVER::CLIENT */

Callers 12

CookiesAddMethod · 0.45
CookiesDeleteMethod · 0.45
ExecuteCommandMethod · 0.45
EmitClosedMethod · 0.45
EmitBlurMethod · 0.45
EmitFocusMethod · 0.45
EmitUnresponsiveMethod · 0.45
EmitResponsiveMethod · 0.45
EmitWorkerCrashedMethod · 0.45
RemoteSendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected