| 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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ |
| 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "storage/browser/fileapi/task_runner_bound_observer_list.h" | 25 #include "storage/browser/fileapi/task_runner_bound_observer_list.h" |
| 26 #include "storage/browser/storage_browser_export.h" | 26 #include "storage/browser/storage_browser_export.h" |
| 27 #include "storage/common/fileapi/file_system_types.h" | 27 #include "storage/common/fileapi/file_system_types.h" |
| 28 | 28 |
| 29 namespace base { | 29 namespace base { |
| 30 class FilePath; | 30 class FilePath; |
| 31 class SequencedTaskRunner; | 31 class SequencedTaskRunner; |
| 32 class SingleThreadTaskRunner; | 32 class SingleThreadTaskRunner; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace chrome { | |
| 36 class NativeMediaFileUtilTest; | |
| 37 } | |
| 38 | |
| 39 namespace storage { | 35 namespace storage { |
| 40 class QuotaManagerProxy; | 36 class QuotaManagerProxy; |
| 41 class SpecialStoragePolicy; | 37 class SpecialStoragePolicy; |
| 42 } | 38 } |
| 43 | 39 |
| 44 namespace net { | 40 namespace net { |
| 45 class URLRequest; | 41 class URLRequest; |
| 46 } | 42 } |
| 47 | 43 |
| 48 namespace storage { | 44 namespace storage { |
| 49 class BlobURLRequestJobTest; | |
| 50 class FileStreamReader; | 45 class FileStreamReader; |
| 51 } | 46 } |
| 52 | 47 |
| 53 namespace storage { | 48 namespace storage { |
| 54 | 49 |
| 55 class AsyncFileUtil; | 50 class AsyncFileUtil; |
| 56 class CopyOrMoveFileValidatorFactory; | 51 class CopyOrMoveFileValidatorFactory; |
| 57 class ExternalFileSystemBackend; | 52 class ExternalFileSystemBackend; |
| 58 class ExternalMountPoints; | 53 class ExternalMountPoints; |
| 59 class FileStreamWriter; | 54 class FileStreamWriter; |
| 60 class FileSystemBackend; | 55 class FileSystemBackend; |
| 61 class FileSystemFileUtil; | |
| 62 class FileSystemOperation; | 56 class FileSystemOperation; |
| 63 class FileSystemOperationRunner; | 57 class FileSystemOperationRunner; |
| 64 class FileSystemOptions; | 58 class FileSystemOptions; |
| 65 class FileSystemQuotaUtil; | 59 class FileSystemQuotaUtil; |
| 66 class FileSystemURL; | 60 class FileSystemURL; |
| 67 class IsolatedFileSystemBackend; | 61 class IsolatedFileSystemBackend; |
| 68 class MountPoints; | 62 class MountPoints; |
| 69 class QuotaReservation; | 63 class QuotaReservation; |
| 70 class SandboxFileSystemBackend; | 64 class SandboxFileSystemBackend; |
| 71 class WatchManager; | |
| 72 | 65 |
| 73 struct DefaultContextDeleter; | 66 struct DefaultContextDeleter; |
| 74 struct FileSystemInfo; | 67 struct FileSystemInfo; |
| 75 | 68 |
| 76 // An auto mount handler will attempt to mount the file system requested in | 69 // An auto mount handler will attempt to mount the file system requested in |
| 77 // |url_request|. If the URL is for this auto mount handler, it returns true | 70 // |url_request|. If the URL is for this auto mount handler, it returns true |
| 78 // and calls |callback| when the attempt is complete. If the auto mounter | 71 // and calls |callback| when the attempt is complete. If the auto mounter |
| 79 // does not recognize the URL, it returns false and does not call |callback|. | 72 // does not recognize the URL, it returns false and does not call |callback|. |
| 80 // Called on the IO thread. | 73 // Called on the IO thread. |
| 81 typedef base::Callback<bool( | 74 typedef base::Callback<bool( |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 | 413 |
| 421 struct DefaultContextDeleter { | 414 struct DefaultContextDeleter { |
| 422 static void Destruct(const FileSystemContext* context) { | 415 static void Destruct(const FileSystemContext* context) { |
| 423 context->DeleteOnCorrectThread(); | 416 context->DeleteOnCorrectThread(); |
| 424 } | 417 } |
| 425 }; | 418 }; |
| 426 | 419 |
| 427 } // namespace storage | 420 } // namespace storage |
| 428 | 421 |
| 429 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ | 422 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ |
| OLD | NEW |