| 23 | } |
| 24 | |
| 25 | void |
| 26 | APIBinding::InvokeRemoteMethod( |
| 27 | const std::string& method, |
| 28 | scoped_ptr<base::DictionaryValue> args, |
| 29 | const API::MethodCallback& callback) |
| 30 | { |
| 31 | APIBindingRemote* remote = API::Get()->GetRemote(id_); |
| 32 | if(remote != NULL) { |
| 33 | remote->InvokeMethod(method, args.Pass(), callback); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | void |
| 38 | APIBinding::EmitEvent( |
no test coverage detected