#ifndef COMPONENTS_PAINT_PREVIEW_COMMON_RECORDING_MAP_H_
#define COMPONENTS_PAINT_PREVIEW_COMMON_RECORDING_MAP_H_
#include <utility>
#include "base/containers/flat_map.h"
#include "base/files/file.h"
#include "components/paint_preview/common/capture_result.h"
#include "components/paint_preview/common/proto/paint_preview.pb.h"
#include "components/paint_preview/common/serialized_recording.h"
#include "third_party/skia/include/core/SkPicture.h"
#include "third_party/skia/include/core/SkRefCnt.h"
namespace paint_preview {
RecordingMap;
std::pair<RecordingMap, PaintPreviewProto> RecordingMapFromCaptureResult(
CaptureResult&& result);
RecordingMap RecordingMapFromPaintPreviewProto(const PaintPreviewProto& proto);
}
#endif