#include <memory>
#include <string>
#include "base/containers/contains.h"
#include "extensions/browser/extensions_test.h"
#include "extensions/browser/service_worker/worker_id_set.h"
#include "extensions/common/extension_id.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
namespace {
constexpr char kIdA[] = …;
constexpr char kIdB[] = …;
constexpr char kIdC[] = …;
constexpr char kIdD[] = …;
constexpr char kIdE[] = …;
constexpr char kIdF[] = …;
constexpr char kIdG[] = …;
constexpr char kIdX[] = …;
class VectorWorkerIdListImpl { … };
std::vector<WorkerId> GenerateWorkerIds(
const std::vector<ExtensionId>& extension_ids,
const std::vector<int>& render_process_ids,
const std::vector<int64_t>& worker_version_ids,
const std::vector<int>& worker_thread_ids) { … }
}
class WorkerIdSetTest : public ExtensionsTest { … };
TEST_F(WorkerIdSetTest, GetAllForExtension) { … }
TEST_F(WorkerIdSetTest, RemoveAllForExtension) { … }
TEST_F(WorkerIdSetTest, ExtensiveCases) { … }
}