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

Method InvokeMethod

src/api/api_server.cc:38–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void
39APIServer::Client::Remote::InvokeMethod(
40 const std::string method,
41 scoped_ptr<base::DictionaryValue> args,
42 const API::MethodCallback& callback)
43{
44 /* Runs on UI Thread. */
45 LOG(INFO) << "Remote::Client::InvokeMethod [" << target_ << "] " << this;
46
47 content::BrowserThread::PostTask(
48 content::BrowserThread::IO, FROM_HERE,
49 base::Bind(&APIServer::Client::SendInvoke, client_,
50 callback, target_, method, base::Passed(args.Pass())));
51}
52
53void APIServer::Client::Remote::EmitEvent(
54 const std::string type,

Callers 1

InvokeRemoteMethodMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected