| Index: webkit/fileapi/file_system_operation_unittest.cc
|
| ===================================================================
|
| --- webkit/fileapi/file_system_operation_unittest.cc (revision 82028)
|
| +++ webkit/fileapi/file_system_operation_unittest.cc (working copy)
|
| @@ -39,6 +39,8 @@
|
|
|
| FileSystemOperation* operation();
|
|
|
| + void set_local_path(const FilePath& path) { local_path_ = path; }
|
| + const FilePath& local_path() const { return local_path_; }
|
| void set_status(int status) { status_ = status; }
|
| int status() const { return status_; }
|
| void set_info(const base::PlatformFileInfo& info) { info_ = info; }
|
| @@ -70,6 +72,7 @@
|
| int status_;
|
| base::PlatformFileInfo info_;
|
| FilePath path_;
|
| + FilePath local_path_;
|
| std::vector<base::FileUtilProxy::Entry> entries_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FileSystemOperationTest);
|
| @@ -87,6 +90,10 @@
|
| test_->set_status(kFileOperationSucceeded);
|
| }
|
|
|
| + virtual void DidGetLocalPath(const FilePath& local_path) {
|
| + test_->set_local_path(local_path);
|
| + }
|
| +
|
| virtual void DidReadMetadata(
|
| const base::PlatformFileInfo& info,
|
| const FilePath& platform_path) {
|
|
|