blob: 06f1e693145605437dd521921438c1b7930756a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_ENTRY_KINDS_H_
#define CHROME_BROWSER_GOOGLE_APIS_DRIVE_ENTRY_KINDS_H_
namespace google_apis {
// DriveEntryKind specifies the kind of a Drive entry.
//
// kEntryKindMap in gdata_wapi_parser.cc should also be updated if you modify
// DriveEntryKind. The compiler will catch if they are not in sync.
enum DriveEntryKind {
ENTRY_KIND_UNKNOWN,
// Special entries.
ENTRY_KIND_ITEM,
ENTRY_KIND_SITE,
// Hosted Google document.
ENTRY_KIND_DOCUMENT,
ENTRY_KIND_SPREADSHEET,
ENTRY_KIND_PRESENTATION,
ENTRY_KIND_DRAWING,
ENTRY_KIND_TABLE,
// Hosted external application document.
ENTRY_KIND_EXTERNAL_APP,
// Folders; collections.
ENTRY_KIND_FOLDER,
// Regular files.
ENTRY_KIND_FILE,
ENTRY_KIND_PDF,
// This should be the last item.
ENTRY_KIND_MAX_VALUE,
};
} // namespace google_apis
#endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_ENTRY_KINDS_H_
|