| 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_CHROMEOS_GDATA_DRIVE_ENTRY_KINDS_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_ENTRY_KINDS_H_ | |
| 7 | |
| 8 namespace gdata { | |
| 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 // Hosted external application document. | |
| 26 ENTRY_KIND_EXTERNAL_APP, | |
| 27 // Folders; collections. | |
| 28 ENTRY_KIND_FOLDER, | |
| 29 // Regular files. | |
| 30 ENTRY_KIND_FILE, | |
| 31 ENTRY_KIND_PDF, | |
| 32 | |
| 33 // This should be the last item. | |
| 34 ENTRY_KIND_MAX_VALUE, | |
| 35 }; | |
| 36 | |
| 37 } // namespace gdata | |
| 38 | |
| 39 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_ENTRY_KINDS_H_ | |
| OLD | NEW |