| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ |
| 6 #define CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ | 6 #define CONTENT_PUBLIC_TEST_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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 void set_require_copy_or_move_validator(bool flag) { | 84 void set_require_copy_or_move_validator(bool flag) { |
| 85 require_copy_or_move_validator_ = flag; | 85 require_copy_or_move_validator_ = flag; |
| 86 } | 86 } |
| 87 | 87 |
| 88 private: | 88 private: |
| 89 class QuotaUtil; | 89 class QuotaUtil; |
| 90 | 90 |
| 91 base::FilePath base_path_; | 91 base::FilePath base_path_; |
| 92 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 92 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
| 93 scoped_ptr<storage::AsyncFileUtilAdapter> file_util_; | 93 scoped_ptr<storage::AsyncFileUtilAdapter> file_util_; |
| 94 scoped_ptr<storage::WatcherManager> watcher_manager_; | |
| 95 scoped_ptr<QuotaUtil> quota_util_; | 94 scoped_ptr<QuotaUtil> quota_util_; |
| 96 storage::UpdateObserverList update_observers_; | 95 storage::UpdateObserverList update_observers_; |
| 97 storage::ChangeObserverList change_observers_; | 96 storage::ChangeObserverList change_observers_; |
| 98 | 97 |
| 99 bool require_copy_or_move_validator_; | 98 bool require_copy_or_move_validator_; |
| 100 scoped_ptr<storage::CopyOrMoveFileValidatorFactory> | 99 scoped_ptr<storage::CopyOrMoveFileValidatorFactory> |
| 101 copy_or_move_file_validator_factory_; | 100 copy_or_move_file_validator_factory_; |
| 102 | 101 |
| 103 DISALLOW_COPY_AND_ASSIGN(TestFileSystemBackend); | 102 DISALLOW_COPY_AND_ASSIGN(TestFileSystemBackend); |
| 104 }; | 103 }; |
| 105 | 104 |
| 106 } // namespace content | 105 } // namespace content |
| 107 | 106 |
| 108 #endif // CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ | 107 #endif // CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ |
| OLD | NEW |