Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: components/offline_content/core/offline_item_file_extension.h

Issue 2690333002: Initial checkin of OfflineContentProvider. (Closed)
Patch Set: ItemsAvailable -> AreItemsAvailable Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698