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

Unified Diff: webkit/fileapi/obfuscated_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/fileapi/file_system_url_request_job.cc ('k') | webkit/fileapi/obfuscated_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/obfuscated_file_util.h
diff --git a/webkit/fileapi/obfuscated_file_util.h b/webkit/fileapi/obfuscated_file_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..8ed95534ef74d476f17eb87888df8911d9e72bcb
--- /dev/null
+++ b/webkit/fileapi/obfuscated_file_util.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
+#define WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
+
+namespace fileapi {
+
+class ObfuscatedFileUtil : public FileSystemFileUtilBase {
+ public:
+ static ObfuscatedFileUtil* GetInstance();
+ virtual ~ObfuscatedFileUtil() {}
+
+ base::PlatformFileError CreateDirectory(
+ const FileSystemOperationContext& fs_context,
+ const FilePath& file_path,
+ bool exclusive,
+ bool recursive);
+
+ protected:
+ ObfuscatedFileUtil() {}
+
+ private:
+ friend struct DefaultSingletonTraits<ObfuscatedFileUtilBase>;
+ DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil);
+
+ FileSystemFileUtilBase* next_file_util_to_obfuscation;
+};
+
+} // namespace fileapi
+
+#endif // WEBKIT_FILEAPI_OBFUSCATED_FILE_UTIL_H_
« no previous file with comments | « webkit/fileapi/file_system_url_request_job.cc ('k') | webkit/fileapi/obfuscated_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698