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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « google_apis/BUILD.gn ('k') | google_apis/drive/gdata_wapi_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/drive_entry_kinds.h
diff --git a/google_apis/drive/drive_entry_kinds.h b/google_apis/drive/drive_entry_kinds.h
deleted file mode 100644
index 27e0f69d046192ef13ea6dcd57454cf36032b079..0000000000000000000000000000000000000000
--- a/google_apis/drive/drive_entry_kinds.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// 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 GOOGLE_APIS_DRIVE_DRIVE_ENTRY_KINDS_H_
-#define GOOGLE_APIS_DRIVE_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,
- ENTRY_KIND_FORM,
- // 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 // GOOGLE_APIS_DRIVE_DRIVE_ENTRY_KINDS_H_
« 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