#include "content/browser/background_fetch/storage/database_helpers.h"
#include <string>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "url/gurl.h"
namespace content {
namespace background_fetch {
namespace {
constexpr char kExampleUniqueId[] = …;
bool CacheUrlRoundTrip(const std::string& url) { … }
TEST(BackgroundFetchDatabaseHelpers, CacheUrlRoundTrip) { … }
TEST(BackgroundFetchDatabaseHelpers, GetMetadataStorageKeyFromStorageKey) { … }
TEST(BackgroundFetchDatabaseHelpers, GetMetadataStorageKeyFromOrigin) { … }
TEST(BackgroundFetchDatabaseHelpers, GetMetadataStorageKeyNoData) { … }
}
}
}