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

Unified Diff: webkit/fileapi/file_system_operation_context.h

Issue 6604020: Introduce FileSystemFileUtil and -Proxy to decorate base::file_util in webkit/fileapi. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
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/file_system_operation_context.h
diff --git a/webkit/fileapi/file_system_operation_context.h b/webkit/fileapi/file_system_operation_context.h
new file mode 100644
index 0000000000000000000000000000000000000000..29cc1eb8080cd84a6c43b7797cd059ee14716995
--- /dev/null
+++ b/webkit/fileapi/file_system_operation_context.h
@@ -0,0 +1,32 @@
+// 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_FILE_SYSTEM_OPERATION_CONTEXT_H_
+#define WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_
+
+namespace fileapi {
+
+class FileSystemContext;
+class FileSystemFileUtil;
+
+class FileSystemOperationContext {
+ public:
+ FileSystemOperationContext(FileSystemContext* file_system_context) :
+ file_system_context_(file_system_context) {
+ }
+ ~FileSystemOperationContext() {
+ }
+
+ FileSystemContext* file_system_context() {
+ return file_system_context_.get();
+ }
+
+ private:
+ scoped_refptr<FileSystemContext> file_system_context_;
+};
+
+} // namespace fileapi
+
+#endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_
+

Powered by Google App Engine
This is Rietveld 408576698