Lines Matching defs:Request
12 MockAsyncProxyResolverBase::Request::Request(
24 void MockAsyncProxyResolverBase::Request::CompleteNow(int rv) {
33 MockAsyncProxyResolverBase::Request::~Request() {}
64 scoped_refptr<Request> request = new Request(this, url, results, callback);
65 pending_requests_.push_back(request);
68 *request_handle = reinterpret_cast<RequestHandle>(request.get());
70 // Test code completes the request by calling request->CompleteNow().
75 scoped_refptr<Request> request = reinterpret_cast<Request*>(request_handle);
76 cancelled_requests_.push_back(request);
77 RemovePendingRequest(request);
91 // Do nothing (caller was responsible for completing the request).
99 void MockAsyncProxyResolverBase::RemovePendingRequest(Request* request) {
101 pending_requests_.begin(), pending_requests_.end(), request);
107 SetPacScriptRequest* request) {
108 DCHECK_EQ(request, pending_set_pac_script_request());