// Copyright 2014 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_MOCK_DATA_JOB_H_ #define NET_TEST_URL_REQUEST_URL_REQUEST_MOCK_DATA_JOB_H_ #include <stddef.h> #include <optional> #include <string> #include "base/memory/weak_ptr.h" #include "net/url_request/url_request_job.h" namespace net { class URLRequest; // Mock data job, which synchronously returns data repeated multiple times. If // |request_client_certificate| is true, then this job will request client // certificate before proceeding. class URLRequestMockDataJob : public URLRequestJob { … }; } // namespace net #endif // NET_TEST_URL_REQUEST_URL_REQUEST_MOCK_DATA_JOB_H_