Home
last modified time | relevance | path

Searched refs:fileapi (Results 1 – 25 of 585) sorted by relevance

12345678910>>...24

/external/chromium_org/webkit/browser/
DBUILD.gn77 "fileapi/async_file_util.h",
78 "fileapi/async_file_util_adapter.cc",
79 "fileapi/async_file_util_adapter.h",
80 "fileapi/copy_or_move_file_validator.h",
81 "fileapi/copy_or_move_operation_delegate.cc",
82 "fileapi/copy_or_move_operation_delegate.h",
83 "fileapi/dragged_file_util.cc",
84 "fileapi/dragged_file_util.h",
85 "fileapi/external_mount_points.cc",
86 "fileapi/external_mount_points.h",
[all …]
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Dnative_media_file_util.h21 class NativeMediaFileUtil : public fileapi::AsyncFileUtil {
38 const fileapi::AsyncFileUtil::CreateOrOpenCallback& callback,
46 scoped_ptr<fileapi::FileSystemOperationContext> context,
47 const fileapi::FileSystemURL& url,
51 scoped_ptr<fileapi::FileSystemOperationContext> context,
52 const fileapi::FileSystemURL& url,
55 scoped_ptr<fileapi::FileSystemOperationContext> context,
56 const fileapi::FileSystemURL& url,
61 scoped_ptr<fileapi::FileSystemOperationContext> context,
62 const fileapi::FileSystemURL& url,
[all …]
Ddevice_media_async_file_util.h16 namespace fileapi {
30 class DeviceMediaAsyncFileUtil : public fileapi::AsyncFileUtil {
39 bool SupportsStreaming(const fileapi::FileSystemURL& url);
43 scoped_ptr<fileapi::FileSystemOperationContext> context,
44 const fileapi::FileSystemURL& url,
48 scoped_ptr<fileapi::FileSystemOperationContext> context,
49 const fileapi::FileSystemURL& url,
52 scoped_ptr<fileapi::FileSystemOperationContext> context,
53 const fileapi::FileSystemURL& url,
58 scoped_ptr<fileapi::FileSystemOperationContext> context,
[all …]
Dmedia_file_system_backend.h21 namespace fileapi {
32 class MediaFileSystemBackend : public fileapi::FileSystemBackend {
52 const fileapi::FileSystemURL& filesystem_url,
57 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
58 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE;
59 virtual void ResolveURL(const fileapi::FileSystemURL& url,
60 fileapi::OpenFileSystemMode mode,
62 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
63 fileapi::FileSystemType type) OVERRIDE;
64 virtual fileapi::CopyOrMoveFileValidatorFactory*
[all …]
Ditunes_file_util.h31 scoped_ptr<fileapi::FileSystemOperationContext> context,
32 const fileapi::FileSystemURL& url,
35 scoped_ptr<fileapi::FileSystemOperationContext> context,
36 const fileapi::FileSystemURL& url,
39 scoped_ptr<fileapi::FileSystemOperationContext> context,
40 const fileapi::FileSystemURL& url,
43 fileapi::FileSystemOperationContext* context,
44 const fileapi::FileSystemURL& url,
48 fileapi::FileSystemOperationContext* context,
49 const fileapi::FileSystemURL& url,
[all …]
Diphoto_file_util.h40 scoped_ptr<fileapi::FileSystemOperationContext> context,
41 const fileapi::FileSystemURL& url,
44 scoped_ptr<fileapi::FileSystemOperationContext> context,
45 const fileapi::FileSystemURL& url,
48 scoped_ptr<fileapi::FileSystemOperationContext> context,
49 const fileapi::FileSystemURL& url,
52 fileapi::FileSystemOperationContext* context,
53 const fileapi::FileSystemURL& url,
57 fileapi::FileSystemOperationContext* context,
58 const fileapi::FileSystemURL& url,
[all …]
/external/chromium_org/chrome/browser/chromeos/fileapi/
Dfile_system_backend.cc26 bool FileSystemBackend::CanHandleURL(const fileapi::FileSystemURL& url) { in CanHandleURL()
29 return url.type() == fileapi::kFileSystemTypeNativeLocal || in CanHandleURL()
30 url.type() == fileapi::kFileSystemTypeRestrictedNativeLocal || in CanHandleURL()
31 url.type() == fileapi::kFileSystemTypeDrive || in CanHandleURL()
32 url.type() == fileapi::kFileSystemTypeProvided || in CanHandleURL()
33 url.type() == fileapi::kFileSystemTypeDeviceMediaAsFileStorage; in CanHandleURL()
41 scoped_refptr<fileapi::ExternalMountPoints> mount_points, in FileSystemBackend()
42 fileapi::ExternalMountPoints* system_mount_points) in FileSystemBackend()
45 local_file_util_(fileapi::AsyncFileUtil::CreateForLocalFileSystem()), in FileSystemBackend()
61 fileapi::kFileSystemTypeNativeLocal, in AddSystemMountPoints()
[all …]
Dfile_system_backend.h18 namespace fileapi {
61 class FileSystemBackend : public fileapi::ExternalFileSystemBackend {
63 using fileapi::FileSystemBackend::OpenFileSystemCallback;
75 scoped_refptr<fileapi::ExternalMountPoints> mount_points,
76 fileapi::ExternalMountPoints* system_mount_points);
86 static bool CanHandleURL(const fileapi::FileSystemURL& url);
89 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
90 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE;
91 virtual void ResolveURL(const fileapi::FileSystemURL& url,
92 fileapi::OpenFileSystemMode mode,
[all …]
/external/chromium_org/webkit/
Dstorage_browser.gyp92 'browser/fileapi/async_file_util.h',
93 'browser/fileapi/async_file_util_adapter.cc',
94 'browser/fileapi/async_file_util_adapter.h',
95 'browser/fileapi/copy_or_move_file_validator.h',
96 'browser/fileapi/copy_or_move_operation_delegate.cc',
97 'browser/fileapi/copy_or_move_operation_delegate.h',
98 'browser/fileapi/dragged_file_util.cc',
99 'browser/fileapi/dragged_file_util.h',
100 'browser/fileapi/external_mount_points.cc',
101 'browser/fileapi/external_mount_points.h',
[all …]
/external/chromium_org/content/browser/fileapi/
Dexternal_mount_points_unittest.cc21 using fileapi::FileSystemURL;
26 scoped_refptr<fileapi::ExternalMountPoints> mount_points( in TEST()
27 fileapi::ExternalMountPoints::CreateRefCounted()); in TEST()
113 fileapi::kFileSystemTypeNativeLocal, in TEST()
114 fileapi::FileSystemMountOption(), in TEST()
135 scoped_refptr<fileapi::ExternalMountPoints> mount_points( in TEST()
136 fileapi::ExternalMountPoints::CreateRefCounted()); in TEST()
139 fileapi::kFileSystemTypeNativeLocal, in TEST()
140 fileapi::FileSystemMountOption(), in TEST()
144 fileapi::kFileSystemTypeNativeLocal, in TEST()
[all …]
Dfile_system_context_unittest.cc26 using fileapi::ExternalMountPoints;
27 using fileapi::FileSystemBackend;
28 using fileapi::FileSystemContext;
29 using fileapi::FileSystemMountOption;
30 using fileapi::FileSystemURL;
31 using fileapi::IsolatedContext;
67 fileapi::ExternalMountPoints* external_mount_points) { in CreateFileSystemContextForTest()
75 std::vector<fileapi::URLRequestAutoMountHandler>(), in CreateFileSystemContextForTest()
83 fileapi::FileSystemType expect_mount_type, in ExpectFileSystemURLMatches()
84 fileapi::FileSystemType expect_type, in ExpectFileSystemURLMatches()
[all …]
/external/chromium_org/content/public/test/
Dasync_file_test_helper.h17 namespace fileapi {
27 typedef fileapi::FileSystemOperation::FileEntryList FileEntryList;
28 typedef fileapi::FileSystemOperation::CopyProgressCallback
34 static base::File::Error Copy(fileapi::FileSystemContext* context,
35 const fileapi::FileSystemURL& src,
36 const fileapi::FileSystemURL& dest);
40 fileapi::FileSystemContext* context,
41 const fileapi::FileSystemURL& src,
42 const fileapi::FileSystemURL& dest,
46 static base::File::Error Move(fileapi::FileSystemContext* context,
[all …]
Dtest_file_system_backend.cc26 using fileapi::FileSystemContext;
27 using fileapi::FileSystemOperation;
28 using fileapi::FileSystemOperationContext;
29 using fileapi::FileSystemURL;
35 class TestFileUtil : public fileapi::LocalFileUtil {
58 : public fileapi::FileSystemQuotaUtil,
59 public fileapi::FileUpdateObserver {
73 fileapi::FileSystemType type) OVERRIDE { in DeleteOriginDataOnFileTaskRunner()
78 virtual scoped_refptr<fileapi::QuotaReservation>
81 fileapi::FileSystemType type) OVERRIDE { in CreateQuotaReservationOnFileTaskRunner()
[all …]
Dtest_file_system_backend.h19 namespace fileapi {
29 class TestFileSystemBackend : public fileapi::FileSystemBackend {
37 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
38 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE;
39 virtual void ResolveURL(const fileapi::FileSystemURL& url,
40 fileapi::OpenFileSystemMode mode,
42 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
43 fileapi::FileSystemType type) OVERRIDE;
44 virtual fileapi::CopyOrMoveFileValidatorFactory*
46 fileapi::FileSystemType type,
[all …]
/external/chromium_org/chrome/browser/local_discovery/storage/
Dprivet_filesystem_async_util.h15 class PrivetFileSystemAsyncUtil : public fileapi::AsyncFileUtil {
21 scoped_ptr<fileapi::FileSystemOperationContext> context,
22 const fileapi::FileSystemURL& url,
26 scoped_ptr<fileapi::FileSystemOperationContext> context,
27 const fileapi::FileSystemURL& url,
30 scoped_ptr<fileapi::FileSystemOperationContext> context,
31 const fileapi::FileSystemURL& url,
36 scoped_ptr<fileapi::FileSystemOperationContext> context,
37 const fileapi::FileSystemURL& url,
40 scoped_ptr<fileapi::FileSystemOperationContext> context,
[all …]
Dprivet_filesystem_backend.cc17 fileapi::ExternalMountPoints* mount_points, in PrivetFileSystemBackend()
27 fileapi::FileSystemType type) const { in CanHandleType()
28 return (type == fileapi::kFileSystemTypeCloudDevice); in CanHandleType()
31 void PrivetFileSystemBackend::Initialize(fileapi::FileSystemContext* context) { in Initialize()
34 fileapi::kFileSystemTypeCloudDevice, in Initialize()
35 fileapi::FileSystemMountOption(), in Initialize()
40 const fileapi::FileSystemURL& url, in ResolveURL()
41 fileapi::OpenFileSystemMode mode, in ResolveURL()
45 fileapi::GetExternalFileSystemRootURIString(url.origin(), std::string())); in ResolveURL()
49 fileapi::FileSystemQuotaUtil* PrivetFileSystemBackend::GetQuotaUtil() { in GetQuotaUtil()
[all …]
Dprivet_filesystem_backend.h22 class PrivetFileSystemBackend : public fileapi::FileSystemBackend {
24 PrivetFileSystemBackend(fileapi::ExternalMountPoints* mount_points,
29 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
30 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE;
32 virtual void ResolveURL(const fileapi::FileSystemURL& url,
33 fileapi::OpenFileSystemMode mode,
36 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
37 fileapi::FileSystemType type) OVERRIDE;
38 virtual fileapi::CopyOrMoveFileValidatorFactory*
40 fileapi::FileSystemType type,
[all …]
/external/chromium_org/chrome/browser/chromeos/drive/fileapi/
Dasync_file_util.h19 class AsyncFileUtil : public fileapi::AsyncFileUtil {
26 scoped_ptr<fileapi::FileSystemOperationContext> context,
27 const fileapi::FileSystemURL& url,
31 scoped_ptr<fileapi::FileSystemOperationContext> context,
32 const fileapi::FileSystemURL& url,
35 scoped_ptr<fileapi::FileSystemOperationContext> context,
36 const fileapi::FileSystemURL& url,
41 scoped_ptr<fileapi::FileSystemOperationContext> context,
42 const fileapi::FileSystemURL& url,
45 scoped_ptr<fileapi::FileSystemOperationContext> context,
[all …]
/external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
Dprovider_async_file_util.h29 class ProviderAsyncFileUtil : public fileapi::AsyncFileUtil {
36 scoped_ptr<fileapi::FileSystemOperationContext> context,
37 const fileapi::FileSystemURL& url,
41 scoped_ptr<fileapi::FileSystemOperationContext> context,
42 const fileapi::FileSystemURL& url,
45 scoped_ptr<fileapi::FileSystemOperationContext> context,
46 const fileapi::FileSystemURL& url,
51 scoped_ptr<fileapi::FileSystemOperationContext> context,
52 const fileapi::FileSystemURL& url,
55 scoped_ptr<fileapi::FileSystemOperationContext> context,
[all …]
Dprovider_async_file_util.cc27 scoped_ptr<fileapi::FileSystemOperationContext> context, in GetFileInfoOnUIThread()
28 const fileapi::FileSystemURL& url, in GetFileInfoOnUIThread()
29 const fileapi::AsyncFileUtil::GetFileInfoCallback& callback) { in GetFileInfoOnUIThread()
40 void OnGetFileInfo(const fileapi::AsyncFileUtil::GetFileInfoCallback& callback, in OnGetFileInfo()
49 scoped_ptr<fileapi::FileSystemOperationContext> context, in ReadDirectoryOnUIThread()
50 const fileapi::FileSystemURL& url, in ReadDirectoryOnUIThread()
51 const fileapi::AsyncFileUtil::ReadDirectoryCallback& callback) { in ReadDirectoryOnUIThread()
55 fileapi::AsyncFileUtil::EntryList(), in ReadDirectoryOnUIThread()
65 const fileapi::AsyncFileUtil::ReadDirectoryCallback& callback, in OnReadDirectory()
67 const fileapi::AsyncFileUtil::EntryList& entry_list, in OnReadDirectory()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/local/
Dlocal_file_sync_context.h32 namespace fileapi {
89 fileapi::FileSystemContext* file_system_context,
99 void GetFileForLocalSync(fileapi::FileSystemContext* file_system_context,
106 void ClearChangesForURL(fileapi::FileSystemContext* file_system_context,
107 const fileapi::FileSystemURL& url,
117 fileapi::FileSystemContext* file_system_context,
118 const fileapi::FileSystemURL& url,
125 fileapi::FileSystemContext* file_system_context,
126 const fileapi::FileSystemURL& url,
145 void PrepareForSync(fileapi::FileSystemContext* file_system_context,
[all …]
Dlocal_file_change_tracker.h27 namespace fileapi {
42 : public fileapi::FileUpdateObserver,
43 public fileapi::FileChangeObserver {
54 virtual void OnStartUpdate(const fileapi::FileSystemURL& url) OVERRIDE;
56 const fileapi::FileSystemURL& url, int64 delta) OVERRIDE {} in OnUpdate()
57 virtual void OnEndUpdate(const fileapi::FileSystemURL& url) OVERRIDE;
60 virtual void OnCreateFile(const fileapi::FileSystemURL& url) OVERRIDE;
61 virtual void OnCreateFileFrom(const fileapi::FileSystemURL& url,
62 const fileapi::FileSystemURL& src) OVERRIDE;
63 virtual void OnRemoveFile(const fileapi::FileSystemURL& url) OVERRIDE;
[all …]
Dsyncable_file_system_operation.h18 namespace fileapi {
29 : public NON_EXPORTED_BASE(fileapi::FileSystemOperation), in NON_EXPORTED_BASE()
35 virtual void CreateFile(const fileapi::FileSystemURL& url, in NON_EXPORTED_BASE()
38 virtual void CreateDirectory(const fileapi::FileSystemURL& url, in NON_EXPORTED_BASE()
42 virtual void Copy(const fileapi::FileSystemURL& src_url, in NON_EXPORTED_BASE()
43 const fileapi::FileSystemURL& dest_url, in NON_EXPORTED_BASE()
47 virtual void Move(const fileapi::FileSystemURL& src_url, in NON_EXPORTED_BASE()
48 const fileapi::FileSystemURL& dest_url, in NON_EXPORTED_BASE()
51 virtual void DirectoryExists(const fileapi::FileSystemURL& url, in NON_EXPORTED_BASE()
53 virtual void FileExists(const fileapi::FileSystemURL& url, in NON_EXPORTED_BASE()
[all …]
Dcanned_syncable_file_system.h32 namespace fileapi {
68 typedef fileapi::FileSystemOperation::FileEntryList FileEntryList;
88 fileapi::FileSystemURL URL(const std::string& path) const;
105 fileapi::FileSystemContext* file_system_context() { in file_system_context()
110 fileapi::FileSystemType type() const { return type_; } in type()
119 base::File::Error CreateDirectory(const fileapi::FileSystemURL& url);
120 base::File::Error CreateFile(const fileapi::FileSystemURL& url);
121 base::File::Error Copy(const fileapi::FileSystemURL& src_url,
122 const fileapi::FileSystemURL& dest_url);
123 base::File::Error Move(const fileapi::FileSystemURL& src_url,
[all …]
Dsync_file_system_backend.h23 : public fileapi::FileSystemBackend {
31 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
32 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE;
33 virtual void ResolveURL(const fileapi::FileSystemURL& url,
34 fileapi::OpenFileSystemMode mode,
36 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
37 fileapi::FileSystemType type) OVERRIDE;
38 virtual fileapi::CopyOrMoveFileValidatorFactory*
40 fileapi::FileSystemType type,
42 virtual fileapi::FileSystemOperation* CreateFileSystemOperation(
[all …]

12345678910>>...24