blob: adefa38c253737ecaf097fe7f66b887725bc491e [file]
// 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"
#include <string_view>
namespace paint_preview {
std::string_view PersistenceToString(RecordingPersistence persistence) {
switch (persistence) {
case RecordingPersistence::kFileSystem:
return "FileSystem";
case RecordingPersistence::kMemoryBuffer:
return "MemoryBuffer";
}
}
} // namespace paint_preview