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_CONTEXT_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
16 #include "base/platform_file.h" | 16 #include "base/platform_file.h" |
17 #include "base/sequenced_task_runner_helpers.h" | 17 #include "base/sequenced_task_runner_helpers.h" |
18 #include "webkit/browser/fileapi/file_system_url.h" | 18 #include "webkit/browser/fileapi/file_system_url.h" |
19 #include "webkit/browser/fileapi/task_runner_bound_observer_list.h" | 19 #include "webkit/browser/fileapi/task_runner_bound_observer_list.h" |
20 #include "webkit/fileapi/file_system_types.h" | 20 #include "webkit/common/fileapi/file_system_types.h" |
21 #include "webkit/storage/webkit_storage_export.h" | 21 #include "webkit/storage/webkit_storage_export.h" |
22 | 22 |
23 namespace base { | 23 namespace base { |
24 class FilePath; | 24 class FilePath; |
25 } | 25 } |
26 | 26 |
27 namespace chrome { | 27 namespace chrome { |
28 class NativeMediaFileUtilTest; | 28 class NativeMediaFileUtilTest; |
29 } | 29 } |
30 | 30 |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 300 |
301 struct DefaultContextDeleter { | 301 struct DefaultContextDeleter { |
302 static void Destruct(const FileSystemContext* context) { | 302 static void Destruct(const FileSystemContext* context) { |
303 context->DeleteOnCorrectThread(); | 303 context->DeleteOnCorrectThread(); |
304 } | 304 } |
305 }; | 305 }; |
306 | 306 |
307 } // namespace fileapi | 307 } // namespace fileapi |
308 | 308 |
309 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ | 309 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ |
OLD | NEW |