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

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

Issue 10870040: Rename FileSystemOperationInterface to FileSystemOperation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing Created 8 years, 3 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) 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_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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 namespace webkit_blob { 26 namespace webkit_blob {
27 class FileStreamReader; 27 class FileStreamReader;
28 } 28 }
29 29
30 namespace fileapi { 30 namespace fileapi {
31 31
32 class ExternalFileSystemMountPointProvider; 32 class ExternalFileSystemMountPointProvider;
33 class FileSystemFileUtil; 33 class FileSystemFileUtil;
34 class FileSystemMountPointProvider; 34 class FileSystemMountPointProvider;
35 class FileSystemOperationInterface; 35 class FileSystemOperation;
36 class FileSystemOptions; 36 class FileSystemOptions;
37 class FileSystemQuotaUtil; 37 class FileSystemQuotaUtil;
38 class FileSystemTaskRunners; 38 class FileSystemTaskRunners;
39 class FileSystemURL; 39 class FileSystemURL;
40 class IsolatedMountPointProvider; 40 class IsolatedMountPointProvider;
41 class SandboxMountPointProvider; 41 class SandboxMountPointProvider;
42 42
43 struct DefaultContextDeleter; 43 struct DefaultContextDeleter;
44 44
45 // This class keeps and provides a file system context for FileSystem API. 45 // This class keeps and provides a file system context for FileSystem API.
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void DeleteFileSystem( 118 void DeleteFileSystem(
119 const GURL& origin_url, 119 const GURL& origin_url,
120 FileSystemType type, 120 FileSystemType type,
121 const DeleteFileSystemCallback& callback); 121 const DeleteFileSystemCallback& callback);
122 122
123 // Creates a new FileSystemOperation instance by cracking 123 // Creates a new FileSystemOperation instance by cracking
124 // the given filesystem URL |url| to get an appropriate MountPointProvider 124 // the given filesystem URL |url| to get an appropriate MountPointProvider
125 // and calling the provider's corresponding CreateFileSystemOperation method. 125 // and calling the provider's corresponding CreateFileSystemOperation method.
126 // The resolved MountPointProvider could perform further specialization 126 // The resolved MountPointProvider could perform further specialization
127 // depending on the filesystem type pointed by the |url|. 127 // depending on the filesystem type pointed by the |url|.
128 FileSystemOperationInterface* CreateFileSystemOperation( 128 FileSystemOperation* CreateFileSystemOperation(const FileSystemURL& url);
129 const FileSystemURL& url);
130 129
131 // Creates new FileStreamReader instance to read a file pointed by the given 130 // Creates new FileStreamReader instance to read a file pointed by the given
132 // filesystem URL |url| starting from |offset|. 131 // filesystem URL |url| starting from |offset|.
133 // This method internally cracks the |url|, get an appropriate 132 // This method internally cracks the |url|, get an appropriate
134 // MountPointProvider for the URL and call the provider's CreateFileReader. 133 // MountPointProvider for the URL and call the provider's CreateFileReader.
135 // The resolved MountPointProvider could perform further specialization 134 // The resolved MountPointProvider could perform further specialization
136 // depending on the filesystem type pointed by the |url|. 135 // depending on the filesystem type pointed by the |url|.
137 webkit_blob::FileStreamReader* CreateFileStreamReader( 136 webkit_blob::FileStreamReader* CreateFileStreamReader(
138 const FileSystemURL& url, 137 const FileSystemURL& url,
139 int64 offset); 138 int64 offset);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 170
172 struct DefaultContextDeleter { 171 struct DefaultContextDeleter {
173 static void Destruct(const FileSystemContext* context) { 172 static void Destruct(const FileSystemContext* context) {
174 context->DeleteOnCorrectThread(); 173 context->DeleteOnCorrectThread();
175 } 174 }
176 }; 175 };
177 176
178 } // namespace fileapi 177 } // namespace fileapi
179 178
180 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 179 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_CONTEXT_H_
OLDNEW
« no previous file with comments | « webkit/chromeos/fileapi/remote_file_system_proxy.h ('k') | webkit/fileapi/file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698