| 47 | /* APISERVER::CLIENT::REMOTE */ |
| 48 | /**************************************************************************/ |
| 49 | class Remote : public APIBindingRemote, |
| 50 | public base::RefCountedThreadSafe<APIServer::Client::Remote> { |
| 51 | public: |
| 52 | Remote(APIServer::Client* client, |
| 53 | unsigned int target); |
| 54 | |
| 55 | virtual void InvokeMethod(const std::string method, |
| 56 | scoped_ptr<base::DictionaryValue> args, |
| 57 | const API::MethodCallback& callback) OVERRIDE; |
| 58 | virtual void EmitEvent(const std::string type, |
| 59 | scoped_ptr<base::DictionaryValue> event) OVERRIDE; |
| 60 | |
| 61 | private: |
| 62 | APIServer::Client* client_; |
| 63 | |
| 64 | unsigned int target_; |
| 65 | |
| 66 | DISALLOW_COPY_AND_ASSIGN(Remote); |
| 67 | }; |
| 68 | |
| 69 | private: |
| 70 | void PerformAction(scoped_ptr<base::DictionaryValue> action); |
nothing calls this directly
no outgoing calls
no test coverage detected