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

Side by Side Diff: webkit/browser/fileapi/obfuscated_file_util.h

Issue 18344013: fileapi: Rename FileSystemMountProvider to FileSystemBackend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 5 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_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_
6 #define WEBKIT_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 6 #define WEBKIT_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 FileSystemType type, 152 FileSystemType type,
153 bool create, 153 bool create,
154 base::PlatformFileError* error_code); 154 base::PlatformFileError* error_code);
155 155
156 // Deletes the topmost directory specific to this origin and type. This will 156 // Deletes the topmost directory specific to this origin and type. This will
157 // delete its directory database. 157 // delete its directory database.
158 bool DeleteDirectoryForOriginAndType(const GURL& origin, FileSystemType type); 158 bool DeleteDirectoryForOriginAndType(const GURL& origin, FileSystemType type);
159 159
160 // TODO(ericu): This doesn't really feel like it belongs in this class. 160 // TODO(ericu): This doesn't really feel like it belongs in this class.
161 // The previous version lives in FileSystemPathManager, but perhaps 161 // The previous version lives in FileSystemPathManager, but perhaps
162 // SandboxMountPointProvider would be better? 162 // SandboxFileSystemBackend would be better?
163 static base::FilePath::StringType GetDirectoryNameForType( 163 static base::FilePath::StringType GetDirectoryNameForType(
164 FileSystemType type); 164 FileSystemType type);
165 165
166 // This method and all methods of its returned class must be called only on 166 // This method and all methods of its returned class must be called only on
167 // the FILE thread. The caller is responsible for deleting the returned 167 // the FILE thread. The caller is responsible for deleting the returned
168 // object. 168 // object.
169 AbstractOriginEnumerator* CreateOriginEnumerator(); 169 AbstractOriginEnumerator* CreateOriginEnumerator();
170 170
171 // Deletes a directory database from the database list in the ObfuscatedFSFU 171 // Deletes a directory database from the database list in the ObfuscatedFSFU
172 // and destroys the database on the disk. 172 // and destroys the database on the disk.
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // If this instance is initialized for an isolated partition, this should 285 // If this instance is initialized for an isolated partition, this should
286 // only see a single origin. 286 // only see a single origin.
287 GURL isolated_origin_; 287 GURL isolated_origin_;
288 288
289 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil); 289 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil);
290 }; 290 };
291 291
292 } // namespace fileapi 292 } // namespace fileapi
293 293
294 #endif // WEBKIT_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 294 #endif // WEBKIT_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698