| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "chrome/browser/media_galleries/fileapi/media_file_system_mount_point_p
rovider.h" | 5 #include "chrome/browser/media_galleries/fileapi/media_file_system_mount_point_p
rovider.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/message_loop/message_loop_proxy.h" | 12 #include "base/message_loop/message_loop_proxy.h" |
| 13 #include "base/platform_file.h" | 13 #include "base/platform_file.h" |
| 14 #include "base/sequenced_task_runner.h" | 14 #include "base/sequenced_task_runner.h" |
| 15 #include "chrome/browser/media_galleries/fileapi/itunes/itunes_file_util.h" | 15 #include "chrome/browser/media_galleries/fileapi/itunes/itunes_file_util.h" |
| 16 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h" | 16 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h" |
| 17 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h" | 17 #include "chrome/browser/media_galleries/fileapi/native_media_file_util.h" |
| 18 #include "webkit/blob/local_file_stream_reader.h" | 18 #include "webkit/blob/local_file_stream_reader.h" |
| 19 #include "webkit/fileapi/async_file_util_adapter.h" | 19 #include "webkit/fileapi/async_file_util_adapter.h" |
| 20 #include "webkit/fileapi/copy_or_move_file_validator.h" | 20 #include "webkit/fileapi/copy_or_move_file_validator.h" |
| 21 #include "webkit/fileapi/file_system_callback_dispatcher.h" | |
| 22 #include "webkit/fileapi/file_system_context.h" | 21 #include "webkit/fileapi/file_system_context.h" |
| 23 #include "webkit/fileapi/file_system_file_stream_reader.h" | 22 #include "webkit/fileapi/file_system_file_stream_reader.h" |
| 24 #include "webkit/fileapi/file_system_operation_context.h" | 23 #include "webkit/fileapi/file_system_operation_context.h" |
| 25 #include "webkit/fileapi/file_system_task_runners.h" | 24 #include "webkit/fileapi/file_system_task_runners.h" |
| 26 #include "webkit/fileapi/file_system_types.h" | 25 #include "webkit/fileapi/file_system_types.h" |
| 27 #include "webkit/fileapi/file_system_util.h" | 26 #include "webkit/fileapi/file_system_util.h" |
| 28 #include "webkit/fileapi/isolated_context.h" | 27 #include "webkit/fileapi/isolated_context.h" |
| 29 #include "webkit/fileapi/isolated_file_util.h" | 28 #include "webkit/fileapi/isolated_file_util.h" |
| 30 #include "webkit/fileapi/local_file_stream_writer.h" | 29 #include "webkit/fileapi/local_file_stream_writer.h" |
| 31 #include "webkit/fileapi/local_file_system_operation.h" | 30 #include "webkit/fileapi/local_file_system_operation.h" |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 void MediaFileSystemMountPointProvider::DeleteFileSystem( | 218 void MediaFileSystemMountPointProvider::DeleteFileSystem( |
| 220 const GURL& origin_url, | 219 const GURL& origin_url, |
| 221 FileSystemType type, | 220 FileSystemType type, |
| 222 FileSystemContext* context, | 221 FileSystemContext* context, |
| 223 const DeleteFileSystemCallback& callback) { | 222 const DeleteFileSystemCallback& callback) { |
| 224 NOTREACHED(); | 223 NOTREACHED(); |
| 225 callback.Run(base::PLATFORM_FILE_ERROR_INVALID_OPERATION); | 224 callback.Run(base::PLATFORM_FILE_ERROR_INVALID_OPERATION); |
| 226 } | 225 } |
| 227 | 226 |
| 228 } // namespace chrome | 227 } // namespace chrome |
| OLD | NEW |