| 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_SANDBOX_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ |
| 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.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 "webkit/browser/fileapi/file_system_backend.h" | 15 #include "webkit/browser/fileapi/file_system_backend.h" |
| 16 #include "webkit/browser/fileapi/file_system_quota_util.h" | 16 #include "webkit/browser/fileapi/file_system_quota_util.h" |
| 17 #include "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h" | 17 #include "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h" |
| 18 #include "webkit/browser/fileapi/task_runner_bound_observer_list.h" | 18 #include "webkit/browser/fileapi/task_runner_bound_observer_list.h" |
| 19 #include "webkit/browser/quota/special_storage_policy.h" | 19 #include "webkit/browser/quota/special_storage_policy.h" |
| 20 #include "webkit/browser/storage_export.h" | 20 #include "webkit/common/storage_export.h" |
| 21 | 21 |
| 22 namespace storage { | 22 namespace storage { |
| 23 | 23 |
| 24 // TEMPORARY or PERSISTENT filesystems, which are placed under the user's | 24 // TEMPORARY or PERSISTENT filesystems, which are placed under the user's |
| 25 // profile directory in a sandboxed way. | 25 // profile directory in a sandboxed way. |
| 26 // This interface also lets one enumerate and remove storage for the origins | 26 // This interface also lets one enumerate and remove storage for the origins |
| 27 // that use the filesystem. | 27 // that use the filesystem. |
| 28 class STORAGE_EXPORT SandboxFileSystemBackend | 28 class STORAGE_EXPORT SandboxFileSystemBackend |
| 29 : public FileSystemBackend { | 29 : public FileSystemBackend { |
| 30 public: | 30 public: |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 SandboxFileSystemBackendDelegate* delegate_; // Not owned. | 76 SandboxFileSystemBackendDelegate* delegate_; // Not owned. |
| 77 | 77 |
| 78 bool enable_temporary_file_system_in_incognito_; | 78 bool enable_temporary_file_system_in_incognito_; |
| 79 | 79 |
| 80 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackend); | 80 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackend); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 } // namespace storage | 83 } // namespace storage |
| 84 | 84 |
| 85 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ | 85 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ |
| OLD | NEW |