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

Side by Side Diff: webkit/fileapi/file_system_context.h

Issue 6604020: Introduce FileSystemFileUtil and -Proxy to decorate base::file_util in webkit/fileapi. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Reflected comments. Created 9 years, 9 months 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "webkit/quota/special_storage_policy.h" 10 #include "webkit/quota/special_storage_policy.h"
11 11
12 class FilePath; 12 class FilePath;
13 class GURL; 13 class GURL;
14 14
15 namespace base { 15 namespace base {
16 class MessageLoopProxy; 16 class MessageLoopProxy;
17 } 17 }
18 18
19 namespace fileapi { 19 namespace fileapi {
20 20
21 class FileSystemContext;
21 class FileSystemPathManager; 22 class FileSystemPathManager;
22 class FileSystemQuotaManager; 23 class FileSystemQuotaManager;
23 class FileSystemUsageTracker; 24 class FileSystemUsageTracker;
24 class FileSystemContext;
25 25
26 struct DefaultContextDeleter; 26 struct DefaultContextDeleter;
27 27
28 // This class keeps and provides a file system context for FileSystem API. 28 // This class keeps and provides a file system context for FileSystem API.
29 class FileSystemContext 29 class FileSystemContext
30 : public base::RefCountedThreadSafe<FileSystemContext, 30 : public base::RefCountedThreadSafe<FileSystemContext,
31 DefaultContextDeleter> { 31 DefaultContextDeleter> {
32 public: 32 public:
33 FileSystemContext( 33 FileSystemContext(
34 scoped_refptr<base::MessageLoopProxy> file_message_loop, 34 scoped_refptr<base::MessageLoopProxy> file_message_loop,
(...skipping 26 matching lines...) Expand all
61 61
62 struct DefaultContextDeleter { 62 struct DefaultContextDeleter {
63 static void Destruct(const FileSystemContext* context) { 63 static void Destruct(const FileSystemContext* context) {
64 context->DeleteOnCorrectThread(); 64 context->DeleteOnCorrectThread();
65 } 65 }
66 }; 66 };
67 67
68 } // namespace fileapi 68 } // namespace fileapi
69 69
70 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 70 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/fileapi/file_system_file_util.h » ('j') | webkit/fileapi/file_system_file_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698