chromium/components/crash/content/browser/error_reporting/mock_crash_endpoint.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/crash/content/browser/error_reporting/mock_crash_endpoint.h"

#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/threading/scoped_blocking_call.h"
#include "build/build_config.h"
#include "components/crash/core/app/crash_reporter_client.h"
#include "net/http/http_status_code.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "net/test/embedded_test_server/http_request.h"
#include "net/test/embedded_test_server/http_response.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"

namespace {
constexpr const char* kTestCrashEndpoint =;
}

class MockCrashEndpoint::Client : public crash_reporter::CrashReporterClient {};

MockCrashEndpoint::Report::Report(std::string query_value,
                                  std::string content_value)
    :{}

MockCrashEndpoint::MockCrashEndpoint(
    net::test_server::EmbeddedTestServer* test_server)
    :{}

MockCrashEndpoint::~MockCrashEndpoint() {}

std::string MockCrashEndpoint::GetCrashEndpointURL() const {}

MockCrashEndpoint::Report MockCrashEndpoint::WaitForReport() {}

std::unique_ptr<net::test_server::HttpResponse>
MockCrashEndpoint::HandleRequest(const net::test_server::HttpRequest& request) {}

std::ostream& operator<<(std::ostream& out,
                         const MockCrashEndpoint::Report& report) {}