#include "third_party/blink/renderer/platform/media/testing/test_response_generator.h"
#include "base/format_macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "net/base/net_errors.h"
#include "third_party/blink/public/platform/web_string.h"
namespace blink {
TestResponseGenerator::TestResponseGenerator(const GURL& gurl,
int64_t content_length)
: … { … }
WebURLError TestResponseGenerator::GenerateError() { … }
WebURLResponse TestResponseGenerator::Generate200() { … }
WebURLResponse TestResponseGenerator::Generate206(int64_t first_byte_offset) { … }
WebURLResponse TestResponseGenerator::Generate206(int64_t first_byte_offset,
Flags flags) { … }
WebURLResponse TestResponseGenerator::GeneratePartial206(
int64_t first_byte_offset,
int64_t last_byte_offset) { … }
WebURLResponse TestResponseGenerator::GeneratePartial206(
int64_t first_byte_offset,
int64_t last_byte_offset,
Flags flags) { … }
WebURLResponse TestResponseGenerator::GenerateResponse(int code) { … }
WebURLResponse TestResponseGenerator::Generate404() { … }
WebURLResponse TestResponseGenerator::GenerateFileResponse(
int64_t first_byte_offset) { … }
}