[Storage] Blob Storage Refactoring pt 1:
commitbff2e53fb3e210be45d264797036ec59005ebdd6
authordmurph <dmurph@chromium.org>
Fri, 23 Jan 2015 09:18:56 +0000 (23 01:18 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 23 Jan 2015 09:20:02 +0000 (23 09:20 +0000)
tree6715a49048fd85d94b341ea4a3f474e567135e3c
parent98d7ef56b969695d1f185881e3eed845a3221136
[Storage] Blob Storage Refactoring pt 1:
* Renaming classes to be more descriptive.
* Changing smart pointers to reflect strict ownership model.
* Adding pointers to facilitate future resource swapping.
* Remove renderer-side dependency on blob_data.h

This patch makes all of the far-reaching changes that effect
everyone that uses the blob storage context.  Subsequent
changes should only effect the blob infrastructure.

https://bit.ly/AutoBlobToDisk

BUG=375297

Review URL: https://codereview.chromium.org/810403004

Cr-Commit-Position: refs/heads/master@{#312800}
93 files changed:
chrome/browser/chromeos/drive/fileapi/async_file_util.cc
chrome/browser/chromeos/drive/fileapi/fileapi_worker.h
chrome/browser/chromeos/file_manager/snapshot_manager.cc
chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util.cc
chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util_unittest.cc
chrome/browser/extensions/api/developer_private/developer_private_api.cc
chrome/browser/extensions/api/page_capture/page_capture_api.h
chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc
chrome/browser/media_galleries/fileapi/device_media_async_file_util.h
chrome/browser/media_galleries/fileapi/iphoto_file_util.cc
chrome/browser/media_galleries/fileapi/itunes_file_util.cc
chrome/browser/media_galleries/fileapi/native_media_file_util.cc
chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc
chrome/browser/sync_file_system/drive_backend/drive_backend_util.h
chrome/browser/sync_file_system/drive_backend/sync_engine.cc
chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
chrome/browser/sync_file_system/local/local_file_sync_context.cc
chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc
chrome/browser/sync_file_system/local/local_file_sync_service.cc
chrome/browser/sync_file_system/local/syncable_file_system_operation.cc
content/browser/fileapi/blob_storage_context_unittest.cc
content/browser/fileapi/blob_storage_host.cc
content/browser/fileapi/blob_storage_host.h
content/browser/fileapi/blob_url_request_job_unittest.cc
content/browser/fileapi/chrome_blob_storage_context.cc
content/browser/fileapi/copy_or_move_file_validator_unittest.cc
content/browser/fileapi/file_system_operation_impl_unittest.cc
content/browser/fileapi/file_system_operation_impl_write_unittest.cc
content/browser/fileapi/fileapi_message_filter.cc
content/browser/fileapi/fileapi_message_filter.h
content/browser/fileapi/fileapi_message_filter_unittest.cc
content/browser/fileapi/transient_file_util_unittest.cc
content/browser/indexed_db/indexed_db_active_blob_registry.h
content/browser/indexed_db/indexed_db_blob_info.h
content/browser/indexed_db/indexed_db_callbacks.cc
content/browser/indexed_db/indexed_db_dispatcher_host.cc
content/browser/loader/redirect_to_file_resource_handler.cc
content/browser/loader/resource_dispatcher_host_impl.cc
content/browser/loader/resource_dispatcher_host_unittest.cc
content/browser/loader/resource_loader_unittest.cc
content/browser/loader/temporary_file_stream.cc
content/browser/loader/temporary_file_stream_unittest.cc
content/browser/loader/upload_data_stream_builder.cc
content/browser/loader/upload_data_stream_builder_unittest.cc
content/browser/media/android/media_resource_getter_impl.cc
content/browser/service_worker/service_worker_browsertest.cc
content/browser/service_worker/service_worker_cache.cc
content/browser/service_worker/service_worker_cache.h
content/browser/service_worker/service_worker_cache_unittest.cc
content/browser/service_worker/service_worker_url_request_job.cc
content/browser/service_worker/service_worker_url_request_job_unittest.cc
content/browser/shareable_file_reference_unittest.cc [moved from content/common/shareable_file_reference_unittest.cc with 94% similarity]
content/browser/storage_partition_impl_map.cc
content/child/webblobregistry_impl.cc
content/common/fileapi/webblob_messages.h
content/content_tests.gypi
content/public/test/mock_blob_url_request_context.cc
storage/browser/BUILD.gn
storage/browser/blob/blob_data_builder.cc [new file with mode: 0644]
storage/browser/blob/blob_data_builder.h [new file with mode: 0644]
storage/browser/blob/blob_data_handle.cc
storage/browser/blob/blob_data_handle.h
storage/browser/blob/blob_data_item.cc [new file with mode: 0644]
storage/browser/blob/blob_data_item.h [new file with mode: 0644]
storage/browser/blob/blob_data_snapshot.cc [new file with mode: 0644]
storage/browser/blob/blob_data_snapshot.h [new file with mode: 0644]
storage/browser/blob/blob_storage_context.cc
storage/browser/blob/blob_storage_context.h
storage/browser/blob/blob_url_request_job.cc
storage/browser/blob/blob_url_request_job.h
storage/browser/blob/blob_url_request_job_factory.cc
storage/browser/blob/blob_url_request_job_factory.h
storage/browser/blob/scoped_file.cc [moved from storage/common/blob/scoped_file.cc with 98% similarity]
storage/browser/blob/scoped_file.h [moved from storage/common/blob/scoped_file.h with 92% similarity]
storage/browser/blob/shareable_file_reference.cc [moved from storage/common/blob/shareable_file_reference.cc with 98% similarity]
storage/browser/blob/shareable_file_reference.h [moved from storage/common/blob/shareable_file_reference.h with 89% similarity]
storage/browser/blob/view_blob_internals_job.cc
storage/browser/blob/view_blob_internals_job.h
storage/browser/fileapi/async_file_util_adapter.cc
storage/browser/fileapi/copy_or_move_operation_delegate.cc
storage/browser/fileapi/dragged_file_util.cc
storage/browser/fileapi/file_system_file_stream_reader.h
storage/browser/fileapi/file_system_file_util.h
storage/browser/fileapi/file_system_operation_impl.cc
storage/browser/fileapi/file_system_operation_impl.h
storage/browser/fileapi/file_system_operation_runner.cc
storage/browser/fileapi/obfuscated_file_util.h
storage/browser/fileapi/sandbox_file_stream_writer.h
storage/common/BUILD.gn
storage/common/blob/blob_data.cc [deleted file]
storage/common/blob/blob_data.h [deleted file]
storage/storage_browser.gyp
storage/storage_common.gyp