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

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

Issue 9564047: Add FileUtileHelper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/DeletePath/Delete/g Created 8 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
« no previous file with comments | « webkit/fileapi/file_system_file_util_proxy.cc ('k') | webkit/fileapi/file_util_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_FILEAPI_FILE_UTIL_HELPER_H_
6 #define WEBKIT_FILEAPI_FILE_UTIL_HELPER_H_
7
8 #include "base/platform_file.h"
9
10 namespace fileapi {
11
12 class FileSystemFileUtil;
13 class FileSystemOperationContext;
14 class FileSystemPath;
15
16 // A collection of static methods that are usually called by
17 // FileSystemFileUtilProxy. The method should be called on FILE thread.
18 class FileUtilHelper {
19 public:
20 static base::PlatformFileError Delete(
21 FileSystemOperationContext* context,
22 FileSystemFileUtil* file_util,
23 const FileSystemPath& path,
24 bool recursive);
25
26 private:
27 static base::PlatformFileError DeleteDirectoryRecursive(
28 FileSystemOperationContext* context,
29 FileSystemFileUtil* file_util,
30 const FileSystemPath& path);
31 };
32
33 } // namespace fileapi
34
35 #endif // WEBKIT_FILEAPI_FILE_UTIL_HELPER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_file_util_proxy.cc ('k') | webkit/fileapi/file_util_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698