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

Unified Diff: webkit/fileapi/sandboxed_file_system_context.h

Issue 6286038: Add initial code to do filename munging in the FileSystem.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
Index: webkit/fileapi/sandboxed_file_system_context.h
===================================================================
--- webkit/fileapi/sandboxed_file_system_context.h (revision 72915)
+++ webkit/fileapi/sandboxed_file_system_context.h (working copy)
@@ -12,6 +12,7 @@
class GURL;
namespace base {
+class FileUtilProxyBase;
class MessageLoopProxy;
}
@@ -19,6 +20,7 @@
class FileSystemPathManager;
class FileSystemQuotaManager;
+class ObfuscatedFileUtilProxy;
class SandboxedFileSystemContext;
struct DefaultContextDeleter;
@@ -34,7 +36,8 @@
const FilePath& profile_path,
bool is_incognito,
bool allow_file_access_from_files,
- bool unlimited_quota);
+ bool unlimited_quota,
+ bool obfuscate = false);
~SandboxedFileSystemContext();
void Shutdown();
@@ -47,7 +50,7 @@
FileSystemPathManager* path_manager() { return path_manager_.get(); }
FileSystemQuotaManager* quota_manager() { return quota_manager_.get(); }
-
+ base::FileUtilProxyBase* file_util_proxy() { return file_util_proxy_; }
private:
friend struct DefaultContextDeleter;
void DeleteOnCorrectThread() const;
@@ -57,6 +60,8 @@
scoped_refptr<base::MessageLoopProxy> io_message_loop_;
scoped_ptr<FileSystemPathManager> path_manager_;
scoped_ptr<FileSystemQuotaManager> quota_manager_;
+ base::FileUtilProxyBase* file_util_proxy_;
+ bool delete_file_util_proxy_;
DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxedFileSystemContext);
};

Powered by Google App Engine
This is Rietveld 408576698