chromium/components/safe_browsing/core/browser/db/v4_update_protocol_manager_unittest.cc

// Copyright 2016 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/safe_browsing/core/browser/db/v4_update_protocol_manager.h"

#include <memory>
#include <utility>
#include <vector>

#include "base/base64.h"
#include "base/functional/bind.h"
#include "base/strings/escape.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/test_simple_task_runner.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "components/safe_browsing/buildflags.h"
#include "components/safe_browsing/core/browser/db/safebrowsing.pb.h"
#include "components/safe_browsing/core/browser/db/util.h"
#include "components/safe_browsing/core/browser/db/v4_test_util.h"
#include "net/base/load_flags.h"
#include "net/base/net_errors.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"
#include "testing/platform_test.h"

#if !BUILDFLAG(FULL_SAFE_BROWSING)
#include "base/system/sys_info.h"
#endif

Time;

namespace safe_browsing {

using enum ExtendedReportingLevel;

class V4UpdateProtocolManagerTest : public PlatformTest {};

TEST_F(V4UpdateProtocolManagerTest, TestGetUpdatesErrorHandlingNetwork) {}

TEST_F(V4UpdateProtocolManagerTest, TestGetUpdatesErrorHandlingResponseCode) {}

TEST_F(V4UpdateProtocolManagerTest, TestGetUpdatesNoError) {}

TEST_F(V4UpdateProtocolManagerTest, TestGetUpdatesWithOneBackoff) {}

TEST_F(V4UpdateProtocolManagerTest, TestBase64EncodingUsesUrlEncoding) {}

TEST_F(V4UpdateProtocolManagerTest, TestDisableAutoUpdates) {}

TEST_F(V4UpdateProtocolManagerTest, TestGetUpdatesHasTimeout) {}

TEST_F(V4UpdateProtocolManagerTest, TestExtendedReportingLevelIncluded) {}

}  // namespace safe_browsing