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 ca85c5297d918d70701181377b91b7754a9a829e..f20dbf7bf9b0ef000fe3d25a78308be90eab1a7c 100644 |
--- a/chrome/browser/chromeos/drive/file_system_util.cc |
+++ b/chrome/browser/chromeos/drive/file_system_util.cc |
@@ -29,7 +29,6 @@ |
#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" |
@@ -344,11 +343,6 @@ bool CreateGDocFile(const base::FilePath& file_path, |
static_cast<int>(content.size()); |
} |
-bool HasGDocFileExtension(const base::FilePath& file_path) { |
- std::string extension = base::FilePath(file_path.Extension()).AsUTF8Unsafe(); |
- return IsHostedDocumentByExtension(extension); |
-} |
- |
GURL ReadUrlFromGDocFile(const base::FilePath& file_path) { |
return GURL(ReadStringFromGDocFile(file_path, "url")); |
} |