Index: chrome/browser/chromeos/drive/search_metadata.cc |
diff --git a/chrome/browser/chromeos/drive/search_metadata.cc b/chrome/browser/chromeos/drive/search_metadata.cc |
index e08463f88863c7e2653df82534e189cfe2737a4e..59d70e870b234b6a6d7f2daad3984d200ae0ff3b 100644 |
--- a/chrome/browser/chromeos/drive/search_metadata.cc |
+++ b/chrome/browser/chromeos/drive/search_metadata.cc |
@@ -14,7 +14,7 @@ |
#include "base/time/time.h" |
#include "chrome/browser/chromeos/drive/file_system_util.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" |
using content::BrowserThread; |
@@ -166,7 +166,7 @@ bool IsEligibleEntry(const ResourceEntry& entry, int options) { |
if (entry.file_specific_info().is_hosted_document()) { |
// Not all hosted documents are cached by Drive offline app. |
// http://support.google.com/drive/bin/answer.py?hl=en&answer=1628467 |
- switch (google_apis::ResourceEntry::GetEntryKindFromExtension( |
+ switch (google_apis::GetEntryKindFromExtension( |
entry.file_specific_info().document_extension())) { |
case google_apis::ENTRY_KIND_DOCUMENT: |
case google_apis::ENTRY_KIND_SPREADSHEET: |