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 #include "webkit/fileapi/file_system_operation_context.h" |
| 6 #include "webkit/fileapi/file_system_context.h" |
| 7 #include "webkit/fileapi/file_system_util.h" |
| 8 |
| 9 namespace fileapi { |
| 10 |
| 11 FileSystemOperationContext::FileSystemOperationContext( |
| 12 FileSystemContext* context, |
| 13 FileSystemFileUtil* file_system_file_util) |
| 14 : file_system_context_(context), |
| 15 file_system_file_util_(file_system_file_util), |
| 16 src_type_(kFileSystemTypeUnknown), |
| 17 dest_type_(kFileSystemTypeUnknown) { |
| 18 } |
| 19 |
| 20 GURL FileSystemOperationContext::src_root_url() const { |
| 21 return GetFileSystemRootURI(src_origin_url_, src_type_); |
| 22 } |
| 23 |
| 24 GURL FileSystemOperationContext::dest_root_url() const { |
| 25 return GetFileSystemRootURI(dest_origin_url_, dest_type_); |
| 26 } |
| 27 |
| 28 } // namespace fileapi |
OLD | NEW |