Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_FILE_SYSTEM_OPERATION_CONTEXT_H_ | |
| 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_ | |
| 7 | |
| 8 #include "webkit/fileapi/file_system_file_util.h" | |
| 9 | |
| 10 namespace fileapi { | |
| 11 | |
| 12 class FileSystemOperationContext { | |
| 13 public: | |
| 14 FileSystemOperationContext(FileSystemFileUtil* file_system_file_util) | |
| 15 : file_system_file_util_(file_system_file_util) { | |
| 16 } | |
| 17 ~FileSystemOperationContext() { | |
|
kinuko
2011/03/03 21:29:22
nit: do we need this?
Dai Mikurube (google.com)
2011/03/03 22:19:10
Done.
| |
| 18 } | |
| 19 | |
| 20 FileSystemFileUtil* file_system_file_util() const { | |
| 21 return file_system_file_util_; | |
| 22 } | |
| 23 | |
| 24 private: | |
| 25 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.
| |
| 26 }; | |
| 27 | |
| 28 } // namespace fileapi | |
| 29 | |
| 30 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_ | |
| OLD | NEW |