#include "content/browser/background_fetch/background_fetch_event_dispatcher.h"
#include <stdint.h>
#include <memory>
#include "base/run_loop.h"
#include "base/test/metrics/histogram_tester.h"
#include "content/browser/background_fetch/background_fetch_registration_id.h"
#include "content/browser/background_fetch/background_fetch_test_base.h"
#include "content/browser/background_fetch/background_fetch_test_service_worker.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
#include "content/browser/storage_partition_impl.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/background_fetch/background_fetch.mojom.h"
namespace content {
namespace {
const char kExampleDeveloperId[] = …;
const char kExampleDeveloperId2[] = …;
const char kExampleUniqueId[] = …;
const char kExampleUniqueId2[] = …;
class BackgroundFetchEventDispatcherTest : public BackgroundFetchTestBase { … };
TEST_F(BackgroundFetchEventDispatcherTest, DispatchAbortEvent) { … }
TEST_F(BackgroundFetchEventDispatcherTest, DispatchClickEvent) { … }
TEST_F(BackgroundFetchEventDispatcherTest, DispatchFailEvent) { … }
TEST_F(BackgroundFetchEventDispatcherTest, DispatchFetchSuccessEvent) { … }
}
}