| 51 | } |
| 52 | |
| 53 | void 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 */ |
no outgoing calls
no test coverage detected