HomeSort by relevance Sort by last modified time
    Searched refs:ShareableFileReference (Results 1 - 25 of 39) sorted by null

1 2

  /external/chromium_org/webkit/common/blob/
shareable_file_reference.h 14 // ShareableFileReference allows consumers to share FileReference for the
18 class WEBKIT_STORAGE_COMMON_EXPORT ShareableFileReference
19 : public base::RefCounted<ShareableFileReference> {
28 // Returns a ShareableFileReference for the given path, if no reference
30 static scoped_refptr<ShareableFileReference> Get(const base::FilePath& path);
32 // Returns a ShareableFileReference for the given path, creating a new
35 static scoped_refptr<ShareableFileReference> GetOrCreate(
40 // Returns a ShareableFileReference for the given path of the |scoped_file|,
50 static scoped_refptr<ShareableFileReference> GetOrCreate(
62 friend class base::RefCounted<ShareableFileReference>;
    [all...]
shareable_file_reference.cc 21 typedef std::map<base::FilePath, ShareableFileReference*> FileMap;
62 scoped_refptr<ShareableFileReference> ShareableFileReference::Get(
65 ShareableFileReference* reference =
67 return scoped_refptr<ShareableFileReference>(reference);
71 scoped_refptr<ShareableFileReference> ShareableFileReference::GetOrCreate(
81 scoped_refptr<ShareableFileReference> ShareableFileReference::GetOrCreate(
84 return scoped_refptr<ShareableFileReference>();
    [all...]
shareable_file_reference_unittest.cc 28 scoped_refptr<ShareableFileReference> reference1;
29 reference1 = ShareableFileReference::Get(file);
31 reference1 = ShareableFileReference::GetOrCreate(
32 file, ShareableFileReference::DELETE_ON_FINAL_RELEASE, loop_proxy.get());
37 scoped_refptr<ShareableFileReference> reference2;
38 reference2 = ShareableFileReference::Get(file);
40 reference2 = ShareableFileReference::GetOrCreate(
41 file, ShareableFileReference::DELETE_ON_FINAL_RELEASE, loop_proxy.get());
46 EXPECT_TRUE(ShareableFileReference::Get(file).get());
52 EXPECT_FALSE(ShareableFileReference::Get(file).get())
    [all...]
blob_data.h 43 void AttachShareableFileReference(ShareableFileReference* reference) {
71 std::vector<scoped_refptr<ShareableFileReference> > shareable_files_;
  /external/chromium_org/content/browser/loader/
redirect_to_file_resource_handler.h 23 class ShareableFileReference;
92 // We create a ShareableFileReference that's deletable for the temp
94 scoped_refptr<webkit_blob::ShareableFileReference> deletable_file_;
redirect_to_file_resource_handler.cc 23 using webkit_blob::ShareableFileReference;
169 deletable_file_ = ShareableFileReference::GetOrCreate(
171 ShareableFileReference::DELETE_ON_FINAL_RELEASE,
resource_dispatcher_host_impl.h 53 class ShareableFileReference;
189 webkit_blob::ShareableFileReference* reference);
438 typedef std::map<int, scoped_refptr<webkit_blob::ShareableFileReference> >
  /external/chromium_org/webkit/browser/fileapi/
file_system_file_stream_reader.h 59 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
66 scoped_refptr<webkit_blob::ShareableFileReference> snapshot_ref_;
async_file_util.h 24 class ShareableFileReference;
79 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref)>
sandbox_file_stream_writer.h 58 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
file_system_operation.h 27 class ShareableFileReference;
115 // Please see the comment for ShareableFileReference for details.
121 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref)>
file_system_file_stream_reader.cc 123 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
copy_or_move_operation_delegate.h 23 class ShareableFileReference;
copy_or_move_operation_delegate.cc 134 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
165 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref,
186 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref,
313 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref) {
334 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref,
async_file_util_adapter.cc 24 using webkit_blob::ShareableFileReference;
75 ShareableFileReference::GetOrCreate(scoped_file_.Pass()));
  /external/chromium_org/chrome/browser/extensions/api/page_capture/
page_capture_api.cc 26 using webkit_blob::ShareableFileReference;
46 webkit_blob::ShareableFileReference* to_release = mhtml_file_.get();
103 // Setup a ShareableFileReference so the temporary file gets deleted
105 mhtml_file_ = ShareableFileReference::GetOrCreate(
107 ShareableFileReference::DELETE_ON_FINAL_RELEASE,
page_capture_api.h 64 scoped_refptr<webkit_blob::ShareableFileReference> mhtml_file_;
  /external/chromium_org/content/browser/fileapi/
fileapi_message_filter.h 49 class ShareableFileReference;
195 const scoped_refptr<webkit_blob::ShareableFileReference>& file_ref);
239 std::map<int, scoped_refptr<webkit_blob::ShareableFileReference> >
fileapi_message_filter.cc 772 const scoped_refptr<webkit_blob::ShareableFileReference>& /* unused */) {
781 scoped_refptr<webkit_blob::ShareableFileReference> file_ref =
782 webkit_blob::ShareableFileReference::Get(platform_path);
796 file_ref = webkit_blob::ShareableFileReference::GetOrCreate(
798 webkit_blob::ShareableFileReference::DONT_DELETE_ON_FINAL_RELEASE,
  /external/chromium_org/chrome/browser/media_galleries/fileapi/
device_media_async_file_util.cc 22 using webkit_blob::ShareableFileReference;
293 ShareableFileReference::GetOrCreate(
295 ShareableFileReference::DELETE_ON_FINAL_RELEASE,
302 scoped_refptr<webkit_blob::ShareableFileReference> platform_file,
314 scoped_refptr<ShareableFileReference>());
itunes_file_util.h 62 scoped_refptr<webkit_blob::ShareableFileReference>* file_ref) OVERRIDE;
itunes_file_util.cc 267 scoped_refptr<webkit_blob::ShareableFileReference>* file_ref) {
280 *file_ref = scoped_refptr<webkit_blob::ShareableFileReference>();
371 scoped_refptr<webkit_blob::ShareableFileReference> file_ref;
device_media_async_file_util.h 159 scoped_refptr<webkit_blob::ShareableFileReference> platform_file,
  /external/chromium_org/chrome/browser/chromeos/drive/
async_file_util.cc 102 // ShareableFileReference is thread *unsafe* class. So it is necessary to
107 scoped_refptr<webkit_blob::ShareableFileReference> file_reference =
108 webkit_blob::ShareableFileReference::GetOrCreate(webkit_blob::ScopedFile(
419 scoped_refptr<webkit_blob::ShareableFileReference>());
433 scoped_refptr<webkit_blob::ShareableFileReference>()));
  /external/chromium_org/webkit/browser/blob/
blob_storage_context.cc 296 scoped_refptr<ShareableFileReference> shareable_file =
297 ShareableFileReference::Get(file_path);

Completed in 1002 milliseconds

1 2