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

Method EmitEvent

src/api/api_binding.cc:37–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void
38APIBinding::EmitEvent(
39 const std::string& type,
40 scoped_ptr<base::DictionaryValue> event)
41{
42 APIBindingRemote* remote = API::Get()->GetRemote(id_);
43 if(remote != NULL) {
44 remote->EmitEvent(type, event.Pass());
45 }
46}
47
48} // namespace thrust_shell

Callers

nothing calls this directly

Calls 1

GetRemoteMethod · 0.80

Tested by

no test coverage detected