Home | History | Annotate | Download | only in devtools

Lines Matching defs:Response

26   class Response;
55 // Creates success response. Takes ownership of |result|.
56 scoped_refptr<Response> SuccessResponse(base::DictionaryValue* result);
58 // Creates error response.
59 scoped_refptr<Response> InternalErrorResponse(const std::string& message);
61 // Creates error response.
62 scoped_refptr<Response> InvalidParamResponse(const std::string& param);
64 // Creates error response.
65 scoped_refptr<Response> NoSuchMethodErrorResponse();
67 // Creates error response.
68 scoped_refptr<Response> ServerErrorResponse(const std::string& message);
70 // Creates async response promise.
71 scoped_refptr<Response> AsyncResponsePromise();
86 class Response : public base::RefCountedThreadSafe<Response> {
93 friend class base::RefCountedThreadSafe<Response>;
96 virtual ~Response();
98 Response(int id, base::DictionaryValue* result);
99 Response(int id, int error_code, const std::string& error_message);
107 DISALLOW_COPY_AND_ASSIGN(Response);
128 typedef base::Callback<scoped_refptr<DevToolsProtocol::Response>(
133 virtual scoped_refptr<DevToolsProtocol::Response> HandleCommand(
148 void SendAsyncResponse(scoped_refptr<DevToolsProtocol::Response> response);
180 CONTENT_EXPORT static scoped_refptr<Response> ParseResponse(