chromium/content/browser/background_fetch/background_fetch_scheduler_unittest.cc

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

#include "content/browser/background_fetch/background_fetch_scheduler.h"

#include <vector>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/string_number_conversions.h"
#include "base/uuid.h"
#include "content/browser/background_fetch/background_fetch_job_controller.h"
#include "content/browser/background_fetch/background_fetch_request_info.h"
#include "content/browser/background_fetch/background_fetch_test_base.h"
#include "content/browser/background_fetch/background_fetch_test_data_manager.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
#include "content/browser/storage_partition_impl.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/test_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "third_party/blink/public/mojom/fetch/fetch_api_request.mojom.h"
#include "url/origin.h"

namespace content {

class FakeController : public BackgroundFetchJobController {};

class BackgroundFetchSchedulerTest : public BackgroundFetchTestBase {};

TEST_F(BackgroundFetchSchedulerTest, SingleControllerSynchronous) {}

TEST_F(BackgroundFetchSchedulerTest, SingleControllerConcurrent) {}

TEST_F(BackgroundFetchSchedulerTest, TwoControllersSynchronous) {}

TEST_F(BackgroundFetchSchedulerTest, TwoControllersConcurrent) {}

TEST_F(BackgroundFetchSchedulerTest, TwoControllersConcurrentSameOrigin) {}

}  // namespace content