OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_FILE_SYSTEM_BROWSER_FILE_SYSTEM_HELPER_H_ | 5 #ifndef CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_ |
6 #define CONTENT_BROWSER_FILE_SYSTEM_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 "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "webkit/fileapi/file_system_context.h" | 11 #include "webkit/fileapi/file_system_context.h" |
12 | 12 |
13 namespace quota { | 13 namespace quota { |
14 class SpecialStoragePolicy; | 14 class SpecialStoragePolicy; |
15 } | 15 } |
16 | 16 |
17 // Helper method that returns FileSystemContext constructed for | 17 // Helper method that returns FileSystemContext constructed for |
18 // the browser process. | 18 // the browser process. |
19 CONTENT_EXPORT scoped_refptr<fileapi::FileSystemContext> | 19 CONTENT_EXPORT scoped_refptr<fileapi::FileSystemContext> |
20 CreateFileSystemContext( | 20 CreateFileSystemContext( |
21 const FilePath& profile_path, | 21 const FilePath& profile_path, |
22 bool is_incognito, | 22 bool is_incognito, |
23 quota::SpecialStoragePolicy* special_storage_policy, | 23 quota::SpecialStoragePolicy* special_storage_policy, |
24 quota::QuotaManagerProxy* quota_manager_proxy); | 24 quota::QuotaManagerProxy* quota_manager_proxy); |
25 | 25 |
26 #endif // CONTENT_BROWSER_FILE_SYSTEM_BROWSER_FILE_SYSTEM_HELPER_H_ | 26 #endif // CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_ |
OLD | NEW |