| 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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ |
| 6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ | 6 #define STORAGE_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/files/file.h" | 13 #include "base/files/file.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.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 "storage/browser/fileapi/file_system_url.h" |
| 19 #include "webkit/browser/fileapi/open_file_system_mode.h" | 19 #include "storage/browser/fileapi/open_file_system_mode.h" |
| 20 #include "webkit/browser/fileapi/plugin_private_file_system_backend.h" | 20 #include "storage/browser/fileapi/plugin_private_file_system_backend.h" |
| 21 #include "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h" | 21 #include "storage/browser/fileapi/sandbox_file_system_backend_delegate.h" |
| 22 #include "webkit/browser/fileapi/task_runner_bound_observer_list.h" | 22 #include "storage/browser/fileapi/task_runner_bound_observer_list.h" |
| 23 #include "webkit/browser/storage_browser_export.h" | 23 #include "storage/browser/storage_browser_export.h" |
| 24 #include "webkit/common/fileapi/file_system_types.h" | 24 #include "storage/common/fileapi/file_system_types.h" |
| 25 | 25 |
| 26 namespace base { | 26 namespace base { |
| 27 class FilePath; | 27 class FilePath; |
| 28 class SequencedTaskRunner; | 28 class SequencedTaskRunner; |
| 29 class SingleThreadTaskRunner; | 29 class SingleThreadTaskRunner; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace chrome { | 32 namespace chrome { |
| 33 class NativeMediaFileUtilTest; | 33 class NativeMediaFileUtilTest; |
| 34 } | 34 } |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 }; | 418 }; |
| 419 | 419 |
| 420 struct DefaultContextDeleter { | 420 struct DefaultContextDeleter { |
| 421 static void Destruct(const FileSystemContext* context) { | 421 static void Destruct(const FileSystemContext* context) { |
| 422 context->DeleteOnCorrectThread(); | 422 context->DeleteOnCorrectThread(); |
| 423 } | 423 } |
| 424 }; | 424 }; |
| 425 | 425 |
| 426 } // namespace storage | 426 } // namespace storage |
| 427 | 427 |
| 428 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ | 428 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ |
| OLD | NEW |