Index: google_apis/drive/gdata_wapi_parser.h |
diff --git a/google_apis/drive/gdata_wapi_parser.h b/google_apis/drive/gdata_wapi_parser.h |
index 0c89c11b09ea9cc1c9614ca64350d086d9746f0d..a7ac493d2c6ceeec5ab5fcad190763c129256c68 100644 |
--- a/google_apis/drive/gdata_wapi_parser.h |
+++ b/google_apis/drive/gdata_wapi_parser.h |
@@ -509,6 +509,9 @@ class ResourceEntry : public CommonMetadata { |
KIND_OF_FILE = 1 << 4, |
}; |
+ // Returns the kind enum corresponding to the extension in form ".xxx". |
+ static DriveEntryKind GetEntryKindFromExtension(const std::string& extension); |
+ |
// Classifies the EntryKind. The returned value is a bitmask of |
// EntryKindClass. For example, DOCUMENT is classified as |
// KIND_OF_HOSTED_DOCUMENT and KIND_OF_GOOGLE_DOCUMENT, hence the returned |