chromium/chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl_unittest.cc

// 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.

#include "chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.h"

#include <string>
#include <utility>

#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/test_simple_task_runner.h"
#include "components/safe_browsing/core/common/proto/csd.pb.h"
#include "net/base/load_flags.h"
#include "net/http/http_status_code.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace safe_browsing {

class IncidentReportUploaderImplTest : public testing::Test {};

TEST_F(IncidentReportUploaderImplTest, Success) {}

}  // namespace safe_browsing

// TODO(grt):
// bad status/response code
// confirm data in request is in upload test
// confirm data in response is parsed