Home
last modified time | relevance | path

Searched refs:ShareableFileReference (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium_org/webkit/common/blob/
Dshareable_file_reference.cc21 typedef std::map<base::FilePath, ShareableFileReference*> FileMap;
62 scoped_refptr<ShareableFileReference> ShareableFileReference::Get( in Get()
65 ShareableFileReference* reference = in Get()
67 return scoped_refptr<ShareableFileReference>(reference); in Get()
71 scoped_refptr<ShareableFileReference> ShareableFileReference::GetOrCreate( in GetOrCreate()
81 scoped_refptr<ShareableFileReference> ShareableFileReference::GetOrCreate( in GetOrCreate()
84 return scoped_refptr<ShareableFileReference>(); in GetOrCreate()
88 webkit_blob::ShareableFileReference* null_reference = NULL; in GetOrCreate()
93 return scoped_refptr<ShareableFileReference>(result.first->second); in GetOrCreate()
97 scoped_refptr<ShareableFileReference> reference( in GetOrCreate()
[all …]
Dshareable_file_reference.h18 class WEBKIT_STORAGE_COMMON_EXPORT ShareableFileReference
19 : public base::RefCounted<ShareableFileReference> {
30 static scoped_refptr<ShareableFileReference> Get(const base::FilePath& path);
35 static scoped_refptr<ShareableFileReference> GetOrCreate(
50 static scoped_refptr<ShareableFileReference> GetOrCreate(
62 friend class base::RefCounted<ShareableFileReference>;
64 ShareableFileReference(ScopedFile scoped_file);
65 ~ShareableFileReference();
69 DISALLOW_COPY_AND_ASSIGN(ShareableFileReference);
Dshareable_file_reference_unittest.cc28 scoped_refptr<ShareableFileReference> reference1; in TEST()
29 reference1 = ShareableFileReference::Get(file); in TEST()
31 reference1 = ShareableFileReference::GetOrCreate( in TEST()
32 file, ShareableFileReference::DELETE_ON_FINAL_RELEASE, loop_proxy.get()); in TEST()
37 scoped_refptr<ShareableFileReference> reference2; in TEST()
38 reference2 = ShareableFileReference::Get(file); in TEST()
40 reference2 = ShareableFileReference::GetOrCreate( in TEST()
41 file, ShareableFileReference::DELETE_ON_FINAL_RELEASE, loop_proxy.get()); in TEST()
46 EXPECT_TRUE(ShareableFileReference::Get(file).get()); in TEST()
52 EXPECT_FALSE(ShareableFileReference::Get(file).get()); in TEST()
Dblob_data.h43 void AttachShareableFileReference(ShareableFileReference* reference) { in AttachShareableFileReference()
71 std::vector<scoped_refptr<ShareableFileReference> > shareable_files_;
/external/chromium_org/chrome/browser/extensions/api/page_capture/
Dpage_capture_api.cc26 using webkit_blob::ShareableFileReference;
46 webkit_blob::ShareableFileReference* to_release = mhtml_file_.get(); in ~PageCaptureSaveAsMHTMLFunction()
105 mhtml_file_ = ShareableFileReference::GetOrCreate( in TemporaryFileCreated()
107 ShareableFileReference::DELETE_ON_FINAL_RELEASE, in TemporaryFileCreated()
Dpage_capture_api.h64 scoped_refptr<webkit_blob::ShareableFileReference> mhtml_file_;
/external/chromium_org/webkit/browser/fileapi/
Dfile_system_file_stream_reader.h59 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); in NON_EXPORTED_BASE()
66 scoped_refptr<webkit_blob::ShareableFileReference> snapshot_ref_; in NON_EXPORTED_BASE()
Dasync_file_util.h24 class ShareableFileReference; variable
79 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref)>
Dfile_system_operation.h27 class ShareableFileReference; variable
121 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref)>
Dcopy_or_move_operation_delegate.cc134 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) { in RunAfterCreateSnapshot()
165 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref, in RunAfterPreWriteValidation()
186 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref, in RunAfterCopyInForeignFile()
313 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) { in PostWriteValidationAfterCreateSnapshotFile()
334 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref, in DidPostWriteValidation()
Dsandbox_file_stream_writer.h58 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref); in NON_EXPORTED_BASE()
Dfile_system_file_stream_reader.cc123 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) { in DidCreateSnapshot()
Dasync_file_util_adapter.cc24 using webkit_blob::ShareableFileReference;
75 ShareableFileReference::GetOrCreate(scoped_file_.Pass())); in ReplySnapshotFile()
Dcopy_or_move_operation_delegate.h23 class ShareableFileReference; variable
/external/chromium_org/content/browser/loader/
Dredirect_to_file_resource_handler.h23 class ShareableFileReference; variable
94 scoped_refptr<webkit_blob::ShareableFileReference> deletable_file_;
Dredirect_to_file_resource_handler.cc23 using webkit_blob::ShareableFileReference;
169 deletable_file_ = ShareableFileReference::GetOrCreate( in DidCreateTemporaryFile()
171 ShareableFileReference::DELETE_ON_FINAL_RELEASE, in DidCreateTemporaryFile()
Dresource_dispatcher_host_impl.h53 class ShareableFileReference; variable
189 webkit_blob::ShareableFileReference* reference);
438 typedef std::map<int, scoped_refptr<webkit_blob::ShareableFileReference> >
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Ddevice_media_async_file_util.cc22 using webkit_blob::ShareableFileReference;
293 ShareableFileReference::GetOrCreate( in OnDidCreateSnapshotFile()
295 ShareableFileReference::DELETE_ON_FINAL_RELEASE, in OnDidCreateSnapshotFile()
302 scoped_refptr<webkit_blob::ShareableFileReference> platform_file, in OnDidCheckMedia()
314 scoped_refptr<ShareableFileReference>()); in OnCreateSnapshotFileError()
Ditunes_file_util.cc267 scoped_refptr<webkit_blob::ShareableFileReference>* file_ref) { in CreateSnapshotFileSync()
280 *file_ref = scoped_refptr<webkit_blob::ShareableFileReference>(); in CreateSnapshotFileSync()
371 scoped_refptr<webkit_blob::ShareableFileReference> file_ref; in CreateSnapshotFileWithFreshDataProvider()
Ditunes_file_util.h62 scoped_refptr<webkit_blob::ShareableFileReference>* file_ref) OVERRIDE;
Ddevice_media_async_file_util.h159 scoped_refptr<webkit_blob::ShareableFileReference> platform_file,
/external/chromium_org/content/browser/fileapi/
Dfileapi_message_filter.h49 class ShareableFileReference; variable
195 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
239 std::map<int, scoped_refptr<webkit_blob::ShareableFileReference> >
Dfileapi_message_filter.cc772 const scoped_refptr<webkit_blob::ShareableFileReference>& /* unused */) { in DidCreateSnapshot() argument
781 scoped_refptr<webkit_blob::ShareableFileReference> file_ref = in DidCreateSnapshot()
782 webkit_blob::ShareableFileReference::Get(platform_path); in DidCreateSnapshot()
796 file_ref = webkit_blob::ShareableFileReference::GetOrCreate( in DidCreateSnapshot()
798 webkit_blob::ShareableFileReference::DONT_DELETE_ON_FINAL_RELEASE, in DidCreateSnapshot()
/external/chromium_org/chrome/browser/chromeos/drive/
Dasync_file_util.cc107 scoped_refptr<webkit_blob::ShareableFileReference> file_reference = in RunCreateSnapshotFileCallback()
108 webkit_blob::ShareableFileReference::GetOrCreate(webkit_blob::ScopedFile( in RunCreateSnapshotFileCallback()
419 scoped_refptr<webkit_blob::ShareableFileReference>()); in CreateSnapshotFile()
433 scoped_refptr<webkit_blob::ShareableFileReference>())); in CreateSnapshotFile()
/external/chromium_org/webkit/browser/blob/
Dblob_storage_context.cc296 scoped_refptr<ShareableFileReference> shareable_file = in AppendFileItem()
297 ShareableFileReference::Get(file_path); in AppendFileItem()

12