diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-29 23:00:00 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-29 23:00:00 +0000 |
commit | a5230508efeea42e05005f43f9ffa140fbcc64c0 (patch) | |
tree | 89b4aedc784c9b0b1c93b757b35631e0fd06a884 /webkit/blob/blob_storage_controller.cc | |
parent | 55df9099f9350d906d7b03a4390687ac95269210 (diff) | |
download | chromium_src-a5230508efeea42e05005f43f9ffa140fbcc64c0.zip chromium_src-a5230508efeea42e05005f43f9ffa140fbcc64c0.tar.gz chromium_src-a5230508efeea42e05005f43f9ffa140fbcc64c0.tar.bz2 |
Modify DeletableFileReference to not necessarily delete after all. Renamed the class to ShareableFileReference and fixed up the current callers with the new name and gypi files.
BUG=115603
Review URL: https://chromiumcodereview.appspot.com/9466025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124276 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/blob/blob_storage_controller.cc')
-rw-r--r-- | webkit/blob/blob_storage_controller.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/blob/blob_storage_controller.cc b/webkit/blob/blob_storage_controller.cc index 6490c66..e3bcc6f 100644 --- a/webkit/blob/blob_storage_controller.cc +++ b/webkit/blob/blob_storage_controller.cc @@ -274,10 +274,10 @@ void BlobStorageController::AppendFileItem( expected_modification_time); // It may be a temporary file that should be deleted when no longer needed. - scoped_refptr<DeletableFileReference> deletable_file = - DeletableFileReference::Get(file_path); - if (deletable_file) - target_blob_data->AttachDeletableFileReference(deletable_file); + scoped_refptr<ShareableFileReference> shareable_file = + ShareableFileReference::Get(file_path); + if (shareable_file) + target_blob_data->AttachShareableFileReference(shareable_file); } void BlobStorageController::IncrementBlobDataUsage(BlobData* blob_data) { |