| 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 CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_ | 5 #ifndef CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_ |
| 6 #define CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_ | 6 #define CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "webkit/fileapi/file_system_context.h" | 10 #include "webkit/fileapi/file_system_context.h" |
| 11 | 11 |
| 12 namespace fileapi { | 12 namespace fileapi { |
| 13 class ExternalMountPoints; | 13 class ExternalMountPoints; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace quota { | 16 namespace quota { |
| 17 class SpecialStoragePolicy; | 17 class SpecialStoragePolicy; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 | 21 |
| 22 // Helper method that returns FileSystemContext constructed for | 22 // Helper method that returns FileSystemContext constructed for |
| 23 // the browser process. | 23 // the browser process. |
| 24 CONTENT_EXPORT scoped_refptr<fileapi::FileSystemContext> | 24 CONTENT_EXPORT scoped_refptr<fileapi::FileSystemContext> |
| 25 CreateFileSystemContext( | 25 CreateFileSystemContext( |
| 26 const FilePath& profile_path, | 26 const base::FilePath& profile_path, |
| 27 bool is_incognito, | 27 bool is_incognito, |
| 28 fileapi::ExternalMountPoints* external_mount_points, | 28 fileapi::ExternalMountPoints* external_mount_points, |
| 29 quota::SpecialStoragePolicy* special_storage_policy, | 29 quota::SpecialStoragePolicy* special_storage_policy, |
| 30 quota::QuotaManagerProxy* quota_manager_proxy); | 30 quota::QuotaManagerProxy* quota_manager_proxy); |
| 31 | 31 |
| 32 } // namespace content | 32 } // namespace content |
| 33 | 33 |
| 34 #endif // CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_ | 34 #endif // CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_ |
| OLD | NEW |