| 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 "storage/browser/fileapi/file_system_context.h" | 5 #include "storage/browser/fileapi/file_system_context.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
| 9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
| 10 #include "base/task_runner_util.h" | 10 #include "base/task_runner_util.h" |
| 11 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
| 12 #include "net/url_request/url_request.h" | 12 #include "net/url_request/url_request.h" |
| 13 #include "storage/browser/fileapi/copy_or_move_file_validator.h" | 13 #include "storage/browser/fileapi/copy_or_move_file_validator.h" |
| 14 #include "storage/browser/fileapi/external_mount_points.h" | 14 #include "storage/browser/fileapi/external_mount_points.h" |
| 15 #include "storage/browser/fileapi/file_permission_policy.h" | 15 #include "storage/browser/fileapi/file_permission_policy.h" |
| 16 #include "storage/browser/fileapi/file_stream_reader.h" | 16 #include "storage/browser/fileapi/file_stream_reader.h" |
| 17 #include "storage/browser/fileapi/file_stream_writer.h" | 17 #include "storage/browser/fileapi/file_stream_writer.h" |
| 18 #include "storage/browser/fileapi/file_system_file_util.h" | 18 #include "storage/browser/fileapi/file_system_file_util.h" |
| 19 #include "storage/browser/fileapi/file_system_operation.h" | 19 #include "storage/browser/fileapi/file_system_operation.h" |
| 20 #include "storage/browser/fileapi/file_system_operation_runner.h" | 20 #include "storage/browser/fileapi/file_system_operation_runner.h" |
| 21 #include "storage/browser/fileapi/file_system_options.h" | 21 #include "storage/browser/fileapi/file_system_options.h" |
| 22 #include "storage/browser/fileapi/file_system_quota_client.h" | 22 #include "storage/browser/fileapi/file_system_quota_client.h" |
| 23 #include "storage/browser/fileapi/file_system_url.h" | |
| 24 #include "storage/browser/fileapi/isolated_context.h" | 23 #include "storage/browser/fileapi/isolated_context.h" |
| 25 #include "storage/browser/fileapi/isolated_file_system_backend.h" | 24 #include "storage/browser/fileapi/isolated_file_system_backend.h" |
| 26 #include "storage/browser/fileapi/mount_points.h" | 25 #include "storage/browser/fileapi/mount_points.h" |
| 27 #include "storage/browser/fileapi/quota/quota_reservation.h" | 26 #include "storage/browser/fileapi/quota/quota_reservation.h" |
| 28 #include "storage/browser/fileapi/sandbox_file_system_backend.h" | 27 #include "storage/browser/fileapi/sandbox_file_system_backend.h" |
| 29 #include "storage/browser/quota/quota_manager_proxy.h" | 28 #include "storage/browser/quota/quota_manager_proxy.h" |
| 30 #include "storage/browser/quota/special_storage_policy.h" | 29 #include "storage/browser/quota/special_storage_policy.h" |
| 31 #include "storage/common/fileapi/file_system_info.h" | 30 #include "storage/common/fileapi/file_system_info.h" |
| 32 #include "storage/common/fileapi/file_system_util.h" | 31 #include "storage/common/fileapi/file_system_util.h" |
| 33 #include "url/gurl.h" | 32 #include "url/gurl.h" |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 } else if (parent != child) { | 624 } else if (parent != child) { |
| 626 bool result = parent.AppendRelativePath(child, &path); | 625 bool result = parent.AppendRelativePath(child, &path); |
| 627 DCHECK(result); | 626 DCHECK(result); |
| 628 } | 627 } |
| 629 | 628 |
| 630 operation_runner()->GetMetadata( | 629 operation_runner()->GetMetadata( |
| 631 url, base::Bind(&DidGetMetadataForResolveURL, path, callback, info)); | 630 url, base::Bind(&DidGetMetadataForResolveURL, path, callback, info)); |
| 632 } | 631 } |
| 633 | 632 |
| 634 } // namespace storage | 633 } // namespace storage |
| OLD | NEW |