OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/fileapi/file_system_operation_context.h" | 5 #include "webkit/fileapi/file_system_operation_context.h" |
6 | 6 |
7 #include "webkit/fileapi/file_system_context.h" | 7 #include "webkit/fileapi/file_system_context.h" |
8 | 8 |
9 namespace fileapi { | 9 namespace fileapi { |
10 | 10 |
11 FileSystemOperationContext::FileSystemOperationContext( | 11 FileSystemOperationContext::FileSystemOperationContext( |
12 FileSystemContext* context) | 12 FileSystemContext* context) |
13 : file_system_context_(context), | 13 : file_system_context_(context), |
14 allowed_bytes_growth_(0) {} | 14 allowed_bytes_growth_(0) {} |
15 | 15 |
16 FileSystemOperationContext::~FileSystemOperationContext() {} | 16 FileSystemOperationContext::~FileSystemOperationContext() {} |
17 | 17 |
| 18 base::SequencedTaskRunner* |
| 19 FileSystemOperationContext::file_task_runner() const { |
| 20 return file_system_context_->file_task_runner(); |
| 21 } |
| 22 |
18 } // namespace fileapi | 23 } // namespace fileapi |
OLD | NEW |