Index: chrome/browser/chromeos/file_system_provider/operations/read_directory.h |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/get_metadata.h b/chrome/browser/chromeos/file_system_provider/operations/read_directory.h |
similarity index 75% |
copy from chrome/browser/chromeos/file_system_provider/operations/get_metadata.h |
copy to chrome/browser/chromeos/file_system_provider/operations/read_directory.h |
index 804bc3e901274d9547ae90594dfaa742c28b4a5e..68176d978c22579c4a3761ec5434df978d168a5a 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/get_metadata.h |
+++ b/chrome/browser/chromeos/file_system_provider/operations/read_directory.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_GET_METADATA_H_ |
-#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_GET_METADATA_H_ |
+#ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_READ_DIRECTORY_H_ |
+#define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_READ_DIRECTORY_H_ |
#include "base/files/file.h" |
#include "base/memory/scoped_ptr.h" |
@@ -26,13 +26,13 @@ namespace operations { |
// Bridge between fileapi read directory operation and providing extension's |
// read directory request. Created per request. |
-class GetMetadata : public Operation { |
+class ReadDirectory : public Operation { |
public: |
- GetMetadata(extensions::EventRouter* event_router, |
- const ProvidedFileSystemInfo& file_system_info, |
- const base::FilePath& directory_path, |
- const fileapi::AsyncFileUtil::GetFileInfoCallback& callback); |
- virtual ~GetMetadata(); |
+ ReadDirectory(extensions::EventRouter* event_router, |
+ const ProvidedFileSystemInfo& file_system_info, |
+ const base::FilePath& directory_path, |
+ const fileapi::AsyncFileUtil::ReadDirectoryCallback& callback); |
+ virtual ~ReadDirectory(); |
// Operation overrides. |
virtual bool Execute(int request_id) OVERRIDE; |
@@ -43,13 +43,13 @@ class GetMetadata : public Operation { |
private: |
base::FilePath directory_path_; |
- const fileapi::AsyncFileUtil::GetFileInfoCallback callback_; |
+ const fileapi::AsyncFileUtil::ReadDirectoryCallback callback_; |
- DISALLOW_COPY_AND_ASSIGN(GetMetadata); |
+ DISALLOW_COPY_AND_ASSIGN(ReadDirectory); |
}; |
} // namespace operations |
} // namespace file_system_provider |
} // namespace chromeos |
-#endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_GET_METADATA_H_ |
+#endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_READ_DIRECTORY_H_ |