| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_BROWSER_FILEAPI_TEST_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_TEST_FILE_SYSTEM_BACKEND_H_ |
| 6 #define WEBKIT_BROWSER_FILEAPI_TEST_FILE_SYSTEM_BACKEND_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_TEST_FILE_SYSTEM_BACKEND_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 require_copy_or_move_validator_ = flag; | 75 require_copy_or_move_validator_ = flag; |
| 76 } | 76 } |
| 77 | 77 |
| 78 private: | 78 private: |
| 79 class QuotaUtil; | 79 class QuotaUtil; |
| 80 | 80 |
| 81 base::FilePath base_path_; | 81 base::FilePath base_path_; |
| 82 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 82 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
| 83 scoped_ptr<AsyncFileUtilAdapter> local_file_util_; | 83 scoped_ptr<AsyncFileUtilAdapter> local_file_util_; |
| 84 scoped_ptr<QuotaUtil> quota_util_; | 84 scoped_ptr<QuotaUtil> quota_util_; |
| 85 UpdateObserverList update_observers_; | |
| 86 ChangeObserverList change_observers_; | |
| 87 | 85 |
| 88 bool require_copy_or_move_validator_; | 86 bool require_copy_or_move_validator_; |
| 89 scoped_ptr<CopyOrMoveFileValidatorFactory> | 87 scoped_ptr<CopyOrMoveFileValidatorFactory> |
| 90 copy_or_move_file_validator_factory_; | 88 copy_or_move_file_validator_factory_; |
| 91 | 89 |
| 92 DISALLOW_COPY_AND_ASSIGN(TestFileSystemBackend); | 90 DISALLOW_COPY_AND_ASSIGN(TestFileSystemBackend); |
| 93 }; | 91 }; |
| 94 | 92 |
| 95 } // namespace fileapi | 93 } // namespace fileapi |
| 96 | 94 |
| 97 #endif // WEBKIT_BROWSER_FILEAPI_TEST_FILE_SYSTEM_BACKEND_H_ | 95 #endif // WEBKIT_BROWSER_FILEAPI_TEST_FILE_SYSTEM_BACKEND_H_ |
| OLD | NEW |