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

Side by Side Diff: google_apis/drive/drive_entry_kinds.h

Issue 384543004: Get rid of DriveEntryKind. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed some temporary variables and IsHostedDocumentByFileExtension(). Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « google_apis/BUILD.gn ('k') | google_apis/drive/gdata_wapi_parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 GOOGLE_APIS_DRIVE_DRIVE_ENTRY_KINDS_H_
6 #define GOOGLE_APIS_DRIVE_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 // GOOGLE_APIS_DRIVE_DRIVE_ENTRY_KINDS_H_
OLDNEW
« no previous file with comments | « google_apis/BUILD.gn ('k') | google_apis/drive/gdata_wapi_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698