Searched defs:ShareableFileReference (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/storage/common/blob/
H A Dshareable_file_reference.h14 // ShareableFileReference allows consumers to share FileReference for the
18 class STORAGE_COMMON_EXPORT ShareableFileReference class in namespace:storage
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...]
H A Dshareable_file_reference.cc21 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>();
111 ShareableFileReference::ShareableFileReference(ScopedFile scoped_file) function in class:storage::ShareableFileReference
[all...]

Completed in 64 milliseconds