// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_TEST_URL_REQUEST_URL_REQUEST_FAILED_JOB_H_ #define NET_TEST_URL_REQUEST_URL_REQUEST_FAILED_JOB_H_ #include <string> #include "base/compiler_specific.h" #include "base/memory/weak_ptr.h" #include "net/url_request/url_request_job.h" #include "url/gurl.h" namespace net { // This class simulates a URLRequestJob failing with a given error code at // a particular phase while trying to connect. class URLRequestFailedJob : public URLRequestJob { … }; } // namespace net #endif // NET_TEST_URL_REQUEST_URL_REQUEST_FAILED_JOB_H_