Index: chrome/browser/chromeos/drive/file_system_util.cc |
diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc |
index d0b5be2fe25564a409cc770eed1f2221e9f9d4ae..360e6bba557d6be53de9e6a1f63138322f6f50e8 100644 |
--- a/chrome/browser/chromeos/drive/file_system_util.cc |
+++ b/chrome/browser/chromeos/drive/file_system_util.cc |
@@ -37,7 +37,7 @@ |
#include "chrome/common/url_constants.h" |
#include "chromeos/chromeos_constants.h" |
#include "content/public/browser/browser_thread.h" |
-#include "google_apis/drive/gdata_wapi_parser.h" |
+#include "google_apis/drive/drive_entry_kinds.h" |
#include "net/base/escape.h" |
#include "webkit/browser/fileapi/file_system_url.h" |
@@ -345,9 +345,8 @@ bool CreateGDocFile(const base::FilePath& file_path, |
} |
bool HasGDocFileExtension(const base::FilePath& file_path) { |
- return google_apis::ResourceEntry::ClassifyEntryKindByFileExtension( |
- file_path) & |
- google_apis::ResourceEntry::KIND_OF_HOSTED_DOCUMENT; |
+ return google_apis::ClassifyEntryKindByFileExtension(file_path) & |
+ google_apis::KIND_OF_HOSTED_DOCUMENT; |
} |
GURL ReadUrlFromGDocFile(const base::FilePath& file_path) { |