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

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

Issue 6471019: Stackable file_util for FileAPIs. Sample code for discussion. Incomplete. Cannot be compiled. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed the Patch Set 3 before reflecting the comments. -UtilBase can be built and works. Created 9 years, 10 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/obfuscated_file_util.cc ('k') | webkit/fileapi/quota_file_util.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) 2011 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_QUOTA_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_
7
8 namespace fileapi {
9
10 class QuotaFileUtil : public FileSystemFileUtilBase {
11 public:
12 static QuotaFileUtil* GetInstance();
13 virtual ~QuotaFileUtil() {}
14
15 base::PlatformFileError Copy(
16 const FileSystemOperationContext& fs_context,
17 const FilePath& src_file_path,
18 const FilePath& dest_file_path);
19
20 protected:
21 QuotaFileUtil() {}
22
23 private:
24 friend struct DefaultSingletonTraits<QuotaFileUtilBase>;
25 DISALLOW_COPY_AND_ASSIGN(QuotaFileUtil);
26
27 FileSystemFileUtilBase* next_file_util_to_quota;
28 };
29
30 } // namespace fileapi
31
32 #endif // WEBKIT_FILEAPI_QUOTA_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/obfuscated_file_util.cc ('k') | webkit/fileapi/quota_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698