#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) { … }
}