| 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..61a8f3a61ebd2e4a8f0fbd3657fef6f7afe45390 100644
|
| --- a/chrome/browser/chromeos/drive/file_system_util.cc
|
| +++ b/chrome/browser/chromeos/drive/file_system_util.cc
|
| @@ -29,6 +29,7 @@
|
| #include "chrome/browser/chromeos/drive/write_on_cache_file.h"
|
| #include "chrome/browser/chromeos/profiles/profile_helper.h"
|
| #include "chrome/browser/chromeos/profiles/profile_util.h"
|
| +#include "chrome/browser/drive/drive_api_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/common/chrome_constants.h"
|
| @@ -37,7 +38,6 @@
|
| #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 "net/base/escape.h"
|
| #include "webkit/browser/fileapi/file_system_url.h"
|
|
|
| @@ -345,9 +345,7 @@ 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 IsHostedDocumentByFileExtension(file_path);
|
| }
|
|
|
| GURL ReadUrlFromGDocFile(const base::FilePath& file_path) {
|
|
|