#include "cc/test/lottie_test_data.h"
#include "base/check.h"
#include "base/containers/flat_map.h"
#include "base/strings/string_util.h"
#include "cc/test/skia_common.h"
namespace cc {
namespace {
std::string ReplaceNamesInAnimation(
std::string_view animation_json,
const base::flat_map<std::string_view, std::string_view>& replacements) { … }
}
std::string CreateCustomLottieDataWith2ColorNodes(
std::string_view color_node_1,
std::string_view color_node_2) { … }
std::string CreateCustomLottieDataWith2Assets(
std::string_view custom_asset_id_0,
std::string_view custom_asset_id_1) { … }
std::string CreateCustomLottieDataWith2TextNodes(
std::string_view custom_text_node_name_0,
std::string_view custom_text_node_name_1) { … }
}