Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_OFFLINE_CONTENT_CORE_OFFLINE_ITEM_FILE_EXTENSION_H_ | |
| 6 #define COMPONENTS_OFFLINE_CONTENT_CORE_OFFLINE_ITEM_FILE_EXTENSION_H_ | |
| 7 | |
| 8 namespace offline_content { | |
| 9 | |
| 10 // A Java counterpart will be generated for this enum. | |
| 11 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.offline_content.core.item | |
| 12 enum OfflineItemFileExtension { | |
| 13 FILE_EXTENSION_OTHER = 0, | |
|
qinmin
2017/02/14 07:37:20
are these extensions for FILTER_DOCUMENT? Why not
David Trainor- moved to gerrit
2017/02/22 01:23:13
I pulled this (practically all) of the fields from
| |
| 14 FILE_EXTENSION_APK = 1, | |
|
qinmin
2017/02/14 07:37:20
you can remove all the numbers here and below
David Trainor- moved to gerrit
2017/02/22 01:23:13
Done.
| |
| 15 FILE_EXTENSION_CSV = 2, | |
| 16 FILE_EXTENSION_DOC = 3, | |
| 17 FILE_EXTENSION_DOCX = 4, | |
| 18 FILE_EXTENSION_EXE = 5, | |
| 19 FILE_EXTENSION_PDF = 6, | |
| 20 FILE_EXTENSION_PPT = 7, | |
| 21 FILE_EXTENSION_PPTX = 8, | |
| 22 FILE_EXTENSION_PSD = 9, | |
| 23 FILE_EXTENSION_RTF = 10, | |
| 24 FILE_EXTENSION_TXT = 11, | |
| 25 FILE_EXTENSION_XLS = 12, | |
| 26 FILE_EXTENSION_XLSX = 13, | |
| 27 FILE_EXTENSION_ZIP = 14, | |
| 28 FILE_EXTENSION_BOUNDARY = 15, | |
| 29 }; | |
| 30 | |
| 31 } // namespace offline_content | |
| 32 | |
| 33 #endif // COMPONENTS_OFFLINE_CONTENT_CORE_OFFLINE_ITEM_FILE_EXTENSION_H_ | |
| OLD | NEW |