Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(931)

Side by Side Diff: content/browser/fileapi/browser_file_system_helper.h

Issue 11269010: Move fileapi and dom_storage directories into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 quota { 12 namespace quota {
13 class SpecialStoragePolicy; 13 class SpecialStoragePolicy;
14 } 14 }
15 15
16 namespace content {
17
16 // Helper method that returns FileSystemContext constructed for 18 // Helper method that returns FileSystemContext constructed for
17 // the browser process. 19 // the browser process.
18 CONTENT_EXPORT scoped_refptr<fileapi::FileSystemContext> 20 CONTENT_EXPORT scoped_refptr<fileapi::FileSystemContext>
19 CreateFileSystemContext( 21 CreateFileSystemContext(
20 const FilePath& profile_path, 22 const FilePath& profile_path,
21 bool is_incognito, 23 bool is_incognito,
22 quota::SpecialStoragePolicy* special_storage_policy, 24 quota::SpecialStoragePolicy* special_storage_policy,
23 quota::QuotaManagerProxy* quota_manager_proxy); 25 quota::QuotaManagerProxy* quota_manager_proxy);
24 26
27 } // namespace content
28
25 #endif // CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_ 29 #endif // CONTENT_BROWSER_FILEAPI_BROWSER_FILE_SYSTEM_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698