blob: cd6d1f60138a2bb1bc6e9371b080c0355a8aadd5 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/paint_preview/common/test_utils.h"
std::string PersistenceParamToString(
const ::testing::TestParamInfo<paint_preview::RecordingPersistence>&
persistence) {
switch (persistence.param) {
case paint_preview::RecordingPersistence::kFileSystem:
return "FileSystem";
case paint_preview::RecordingPersistence::kMemoryBuffer:
return "MemoryBuffer";
}
}