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

Unified Diff: chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h

Issue 258783006: [fsp] Add the getMetadata operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed a lot. Created 6 years, 8 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/file_system_provider/provided_file_system_interface.h
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
index 2af2430c7a1874a2a0e4ee50be84d4d811f02f43..7cf174d8a21ebf7aceacc63d1810a11301cb3d38 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
@@ -31,6 +31,12 @@ class ProvidedFileSystemInterface {
virtual void RequestUnmount(
const fileapi::AsyncFileUtil::StatusCallback& callback) = 0;
+ // Requests metadata of the passed |entry_path|. It can be either a file
+ // or a directory.
+ virtual void GetMetadata(
+ const base::FilePath& entry_path,
+ const fileapi::AsyncFileUtil::GetFileInfoCallback& callback) = 0;
+
// Returns a provided file system info for this file system.
virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0;

Powered by Google App Engine
This is Rietveld 408576698