Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: chrome/browser/chromeos/drive/file_system_interface.h

Issue 14884015: drive: Remove DriveFileType (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/drive/file_system_interface.h
diff --git a/chrome/browser/chromeos/drive/file_system_interface.h b/chrome/browser/chromeos/drive/file_system_interface.h
index 804e26079f5bb03ee9754ec8f9ed9441f6ac89d4..c231bfabe2748676350c6318c6c3e875b0fa9311 100644
--- a/chrome/browser/chromeos/drive/file_system_interface.h
+++ b/chrome/browser/chromeos/drive/file_system_interface.h
@@ -25,13 +25,6 @@ class FileSystemObserver;
typedef std::vector<ResourceEntry> ResourceEntryVector;
-// File type on the drive file system can be either a regular file or
-// a hosted document.
-enum DriveFileType {
- REGULAR_FILE,
- HOSTED_DOCUMENT,
-};
-
// Information about search result returned by Search Async callback.
// This is data needed to create a file system entry that will be used by file
// browser.
@@ -77,8 +70,7 @@ typedef std::vector<MetadataSearchResult> MetadataSearchResultVector;
// Used to get files from the file system.
typedef base::Callback<void(FileError error,
const base::FilePath& file_path,
- const std::string& mime_type,
- DriveFileType file_type)> GetFileCallback;
+ scoped_ptr<ResourceEntry> entry)> GetFileCallback;
// Used to get file content from the file system.
// If the file content is available in local cache, |local_file| is filled with
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/copy_operation.cc ('k') | chrome/browser/chromeos/drive/file_system_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698