Lines Matching defs:Response
19 class Response;
46 // Creates success response. Takes ownership of |result|.
47 scoped_ptr<Response> SuccessResponse(base::DictionaryValue* result);
49 // Creates error response.
50 scoped_ptr<Response> InvalidParamResponse(const std::string& param);
58 class Response {
60 virtual ~Response();
71 Response(int id, int error_code, const std::string error_message);
72 Response(int id, base::DictionaryValue* result);
78 DISALLOW_COPY_AND_ASSIGN(Response);
102 static Response* ParseResponse(const std::string& json);