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" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "webkit/browser/fileapi/copy_or_move_file_validator.h" | 22 #include "webkit/browser/fileapi/copy_or_move_file_validator.h" |
23 #include "webkit/browser/fileapi/file_system_context.h" | 23 #include "webkit/browser/fileapi/file_system_context.h" |
24 #include "webkit/browser/fileapi/file_system_file_stream_reader.h" | 24 #include "webkit/browser/fileapi/file_system_file_stream_reader.h" |
25 #include "webkit/browser/fileapi/file_system_operation_context.h" | 25 #include "webkit/browser/fileapi/file_system_operation_context.h" |
26 #include "webkit/browser/fileapi/file_system_task_runners.h" | 26 #include "webkit/browser/fileapi/file_system_task_runners.h" |
27 #include "webkit/browser/fileapi/isolated_context.h" | 27 #include "webkit/browser/fileapi/isolated_context.h" |
28 #include "webkit/browser/fileapi/isolated_file_util.h" | 28 #include "webkit/browser/fileapi/isolated_file_util.h" |
29 #include "webkit/browser/fileapi/local_file_stream_writer.h" | 29 #include "webkit/browser/fileapi/local_file_stream_writer.h" |
30 #include "webkit/browser/fileapi/local_file_system_operation.h" | 30 #include "webkit/browser/fileapi/local_file_system_operation.h" |
31 #include "webkit/browser/fileapi/native_file_util.h" | 31 #include "webkit/browser/fileapi/native_file_util.h" |
32 #include "webkit/fileapi/file_system_types.h" | 32 #include "webkit/common/fileapi/file_system_types.h" |
33 #include "webkit/fileapi/file_system_util.h" | 33 #include "webkit/common/fileapi/file_system_util.h" |
34 | |
35 | 34 |
36 using fileapi::FileSystemContext; | 35 using fileapi::FileSystemContext; |
37 using fileapi::FileSystemURL; | 36 using fileapi::FileSystemURL; |
38 | 37 |
39 namespace chrome { | 38 namespace chrome { |
40 | 39 |
41 const char MediaFileSystemMountPointProvider::kMediaPathFilterKey[] = | 40 const char MediaFileSystemMountPointProvider::kMediaPathFilterKey[] = |
42 "MediaPathFilterKey"; | 41 "MediaPathFilterKey"; |
43 const char MediaFileSystemMountPointProvider::kMTPDeviceDelegateURLKey[] = | 42 const char MediaFileSystemMountPointProvider::kMTPDeviceDelegateURLKey[] = |
44 "MTPDeviceDelegateKey"; | 43 "MTPDeviceDelegateKey"; |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 void MediaFileSystemMountPointProvider::DeleteFileSystem( | 212 void MediaFileSystemMountPointProvider::DeleteFileSystem( |
214 const GURL& origin_url, | 213 const GURL& origin_url, |
215 fileapi::FileSystemType type, | 214 fileapi::FileSystemType type, |
216 FileSystemContext* context, | 215 FileSystemContext* context, |
217 const DeleteFileSystemCallback& callback) { | 216 const DeleteFileSystemCallback& callback) { |
218 NOTREACHED(); | 217 NOTREACHED(); |
219 callback.Run(base::PLATFORM_FILE_ERROR_INVALID_OPERATION); | 218 callback.Run(base::PLATFORM_FILE_ERROR_INVALID_OPERATION); |
220 } | 219 } |
221 | 220 |
222 } // namespace chrome | 221 } // namespace chrome |
OLD | NEW |