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_FILE_SYSTEM_OPERATION_CONTEXT_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/supports_user_data.h" | 9 #include "base/supports_user_data.h" |
10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
11 #include "webkit/browser/fileapi/task_runner_bound_observer_list.h" | 11 #include "storage/browser/fileapi/task_runner_bound_observer_list.h" |
12 #include "webkit/browser/storage_browser_export.h" | 12 #include "storage/browser/storage_browser_export.h" |
13 #include "webkit/common/quota/quota_types.h" | 13 #include "storage/common/quota/quota_types.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class SequencedTaskRunner; | 16 class SequencedTaskRunner; |
17 } | 17 } |
18 | 18 |
19 namespace storage { | 19 namespace storage { |
20 | 20 |
21 class FileSystemContext; | 21 class FileSystemContext; |
22 | 22 |
23 // A context class which is carried around by FileSystemOperation and | 23 // A context class which is carried around by FileSystemOperation and |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 UpdateObserverList update_observers_; | 87 UpdateObserverList update_observers_; |
88 | 88 |
89 // Used to check its setters are not called on arbitrary thread. | 89 // Used to check its setters are not called on arbitrary thread. |
90 base::ThreadChecker setter_thread_checker_; | 90 base::ThreadChecker setter_thread_checker_; |
91 | 91 |
92 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationContext); | 92 DISALLOW_COPY_AND_ASSIGN(FileSystemOperationContext); |
93 }; | 93 }; |
94 | 94 |
95 } // namespace storage | 95 } // namespace storage |
96 | 96 |
97 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_ | 97 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_ |
OLD | NEW |