Index: chrome/browser/chromeos/gdata/drive_api_parser.h |
diff --git a/chrome/browser/chromeos/gdata/drive_api_parser.h b/chrome/browser/chromeos/gdata/drive_api_parser.h |
index 7472677d09dce551cc434dba01a06d0c63dfcb8c..01a48ea6b6f1403159d6e666817790679565769d 100644 |
--- a/chrome/browser/chromeos/gdata/drive_api_parser.h |
+++ b/chrome/browser/chromeos/gdata/drive_api_parser.h |
@@ -15,6 +15,9 @@ |
#include "base/string_piece.h" |
#include "base/time.h" |
#include "googleurl/src/gurl.h" |
+// TODO(kochi): Eliminate this dependency once dependency to EntryKind is gone. |
+// http://crbug.com/142293 |
+#include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" |
namespace base { |
class Value; |
@@ -315,6 +318,11 @@ class FileResource { |
// but outside this file we use "directory" to match HTML5 filesystem API. |
bool IsDirectory() const; |
+ // Returns EntryKind for this file. |
+ // TODO(kochi): Remove this once FileResource is directly converted to proto. |
+ // http://crbug.com/142293 |
+ DocumentEntry::EntryKind GetKind() const; |
+ |
// Returns file ID. This is unique in all files in Google Drive. |
const std::string& file_id() const { return file_id_; } |