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