// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ASH_FILE_MANAGER_UMA_ENUMS_GEN_H_
#define CHROME_BROWSER_ASH_FILE_MANAGER_UMA_ENUMS_GEN_H_
#include "base/files/file_path.h"
// File generated by //ui/file_manager/base/gn/uma_enums_generate.py.
namespace file_manager::file_tasks {
/**
* List of file extensions to record in UMA, from enums.xml ViewFileType.
*/
enum class ViewFileType {
{% for e in enums %}
k{{e.strip('.').title().replace(' ', '')}},
{% endfor %}
kMaxValue = k{{enums[-1].strip('.').title().replace(' ', '')}},
};
ViewFileType GetViewFileType(const base::FilePath& path);
} // namespace file_manager::file_tasks
#endif // CHROME_BROWSER_ASH_FILE_MANAGER_UMA_ENUMS_GEN_H_