| 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 namespace fileapi { |
| 9 |
| 10 class FileSystemContext; |
| 11 class FileSystemFileUtil; |
| 12 |
| 13 class FileSystemOperationContext { |
| 14 public: |
| 15 FileSystemOperationContext(FileSystemContext* file_system_context) : |
| 16 file_system_context_(file_system_context) { |
| 17 } |
| 18 ~FileSystemOperationContext() { |
| 19 } |
| 20 |
| 21 FileSystemContext* file_system_context() { |
| 22 return file_system_context_.get(); |
| 23 } |
| 24 |
| 25 private: |
| 26 scoped_refptr<FileSystemContext> file_system_context_; |
| 27 }; |
| 28 |
| 29 } // namespace fileapi |
| 30 |
| 31 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_CONTEXT_H_ |
| 32 |
| OLD | NEW |