Chromium Code Reviews| 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..56ba0998e04c305916b08f0682f8183f7893800d |
| --- /dev/null |
| +++ b/webkit/fileapi/file_system_operation_context.h |
| @@ -0,0 +1,30 @@ |
| +// 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_ |
| + |
| +#include "webkit/fileapi/file_system_file_util.h" |
| + |
| +namespace fileapi { |
| + |
| +class FileSystemOperationContext { |
| + public: |
| + FileSystemOperationContext(FileSystemFileUtil* file_system_file_util) |
| + : file_system_file_util_(file_system_file_util) { |
| + } |
| + ~FileSystemOperationContext() { |
|
kinuko
2011/03/03 21:29:22
nit: do we need this?
Dai Mikurube (google.com)
2011/03/03 22:19:10
Done.
|
| + } |
| + |
| + FileSystemFileUtil* file_system_file_util() const { |
| + return file_system_file_util_; |
| + } |
| + |
| + private: |
| + FileSystemFileUtil* file_system_file_util_; |
|
kinuko
2011/03/03 21:29:22
Please add a comment to clarify it's not owned (an
Dai Mikurube (google.com)
2011/03/03 22:19:10
Done.
|
| +}; |
| + |
| +} // namespace fileapi |
| + |
| +#endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_ |