OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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 CHROME_BROWSER_GOOGLE_APIS_DRIVE_ENTRY_KINDS_H_ | |
6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_ENTRY_KINDS_H_ | |
7 | |
8 namespace google_apis { | |
9 | |
10 // DriveEntryKind specifies the kind of a Drive entry. | |
11 // | |
12 // kEntryKindMap in gdata_wapi_parser.cc should also be updated if you modify | |
13 // DriveEntryKind. The compiler will catch if they are not in sync. | |
14 enum DriveEntryKind { | |
15 ENTRY_KIND_UNKNOWN, | |
16 // Special entries. | |
17 ENTRY_KIND_ITEM, | |
18 ENTRY_KIND_SITE, | |
19 // Hosted Google document. | |
20 ENTRY_KIND_DOCUMENT, | |
21 ENTRY_KIND_SPREADSHEET, | |
22 ENTRY_KIND_PRESENTATION, | |
23 ENTRY_KIND_DRAWING, | |
24 ENTRY_KIND_TABLE, | |
25 ENTRY_KIND_FORM, | |
26 // Hosted external application document. | |
27 ENTRY_KIND_EXTERNAL_APP, | |
28 // Folders; collections. | |
29 ENTRY_KIND_FOLDER, | |
30 // Regular files. | |
31 ENTRY_KIND_FILE, | |
32 ENTRY_KIND_PDF, | |
33 | |
34 // This should be the last item. | |
35 ENTRY_KIND_MAX_VALUE, | |
36 }; | |
37 | |
38 } // namespace google_apis | |
39 | |
40 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_ENTRY_KINDS_H_ | |
OLD | NEW |