1 // Copyright 2022 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PDF_FILE_EXTENSION_H_
6 #define PDF_FILE_EXTENSION_H_
10 namespace chrome_pdf {
12 // The indexes should always match `ViewFileType` in
13 // tools/metrics/histograms/enums.xml and should never be renumbered.
14 enum class ExtensionIndex : int {
94 enum ExtensionIndex FileNameToExtensionIndex(const std::u16string& file_name);
96 } // namespace chrome_pdf
98 #endif // PDF_FILE_EXTENSION_H_