Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Issue 810403004: [Storage] Blob Storage Refactoring pt 1 (Closed)

Created:
5 years, 11 months ago by dmurph
Modified:
5 years, 10 months ago
CC:
avayvod+watch_chromium.org, chromium-reviews, cmumford, darin-cc_chromium.org, dgrogan, feature-media-reviews_chromium.org, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, jsbell+idb_chromium.org, kinuko+fileapi, kinuko+serviceworker, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[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 Committed: https://crrev.com/bff2e53fb3e210be45d264797036ec59005ebdd6 Cr-Commit-Position: refs/heads/master@{#312800}

Patch Set 1 #

Patch Set 2 : fixed android build #

Patch Set 3 : fixed android build2 #

Patch Set 4 : fixed android build3 #

Patch Set 5 : Smart pointer changes and renaming #

Patch Set 6 : Added comments and constraints #

Patch Set 7 : Fixed breakage caused by removing 'using's in header #

Patch Set 8 : Fixed build (re-added friend decl) #

Patch Set 9 : Fixed android compiling issue #

Patch Set 10 : Fixed scoped_ptr in vector for android #

Patch Set 11 : memory leak fixed #

Total comments: 18

Patch Set 12 : Snapshots now created by the Handle, one more rename #

Total comments: 40

Patch Set 13 : fixes #

Patch Set 14 : Test compilation fixes #

Patch Set 15 : BUILD.gn file changes #

Total comments: 13

Patch Set 16 : Addressing comments, more thorough docs #

Patch Set 17 : Clang format #

Patch Set 18 : Fix for blob build cancel, and added test #

Patch Set 19 : merge #

Patch Set 20 : Fixed copyright #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+884 lines, -988 lines) Patch
M chrome/browser/chromeos/drive/fileapi/async_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/drive/fileapi/fileapi_worker.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/file_manager/snapshot_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/file_system_provider/fileapi/provider_async_file_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/page_capture/page_capture_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/fileapi/device_media_async_file_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/fileapi/iphoto_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/fileapi/itunes_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/fileapi/native_media_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/drive_backend_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/local/canned_syncable_file_system.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/local/local_file_sync_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync_file_system/local/syncable_file_system_operation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/fileapi/blob_storage_context_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +40 lines, -12 lines 0 comments Download
M content/browser/fileapi/blob_storage_host.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +5 lines, -7 lines 0 comments Download
M content/browser/fileapi/blob_storage_host.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/fileapi/blob_url_request_job_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +13 lines, -12 lines 0 comments Download
M content/browser/fileapi/chrome_blob_storage_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -5 lines 0 comments Download
M content/browser/fileapi/copy_or_move_file_validator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/fileapi/file_system_operation_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +1 line, -1 line 0 comments Download
M content/browser/fileapi/file_system_operation_impl_write_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/fileapi/fileapi_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +3 lines, -3 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +12 lines, -9 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/fileapi/transient_file_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_active_blob_registry.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_blob_info.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_callbacks.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -5 lines 0 comments Download
M content/browser/loader/redirect_to_file_resource_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/resource_loader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/temporary_file_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/temporary_file_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/upload_data_stream_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +16 lines, -11 lines 0 comments Download
M content/browser/loader/upload_data_stream_builder_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +16 lines, -14 lines 0 comments Download
M content/browser/media/android/media_resource_getter_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_cache.h View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_cache.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +5 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_cache_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +10 lines, -8 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +26 lines, -18 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +4 lines, -4 lines 0 comments Download
A + content/browser/shareable_file_reference_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/storage_partition_impl_map.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M content/child/webblobregistry_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 6 chunks +6 lines, -6 lines 0 comments Download
M content/common/fileapi/webblob_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +3 lines, -3 lines 0 comments Download
D content/common/shareable_file_reference_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -61 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +1 line, -1 line 0 comments Download
M content/public/test/mock_blob_url_request_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -5 lines 0 comments Download
M storage/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +10 lines, -0 lines 0 comments Download
A storage/browser/blob/blob_data_builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +118 lines, -0 lines 0 comments Download
A storage/browser/blob/blob_data_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +82 lines, -0 lines 0 comments Download
M storage/browser/blob/blob_data_handle.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +26 lines, -12 lines 0 comments Download
M storage/browser/blob/blob_data_handle.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +15 lines, -15 lines 0 comments Download
A storage/browser/blob/blob_data_item.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +63 lines, -0 lines 0 comments Download
A storage/browser/blob/blob_data_item.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +18 lines, -0 lines 0 comments Download
A storage/browser/blob/blob_data_snapshot.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +54 lines, -0 lines 0 comments Download
A storage/browser/blob/blob_data_snapshot.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +39 lines, -0 lines 0 comments Download
M storage/browser/blob/blob_storage_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +28 lines, -18 lines 0 comments Download
M storage/browser/blob/blob_storage_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 11 chunks +113 lines, -88 lines 2 comments Download
M storage/browser/blob/blob_url_request_job.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +4 lines, -4 lines 0 comments Download
M storage/browser/blob/blob_url_request_job.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 12 chunks +30 lines, -23 lines 0 comments Download
M storage/browser/blob/blob_url_request_job_factory.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -3 lines 0 comments Download
M storage/browser/blob/blob_url_request_job_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -3 lines 0 comments Download
A + storage/browser/blob/scoped_file.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +5 lines, -5 lines 0 comments Download
A + storage/browser/blob/scoped_file.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
A + storage/browser/blob/shareable_file_reference.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -5 lines 0 comments Download
A + storage/browser/blob/shareable_file_reference.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M storage/browser/blob/view_blob_internals_job.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M storage/browser/blob/view_blob_internals_job.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +12 lines, -12 lines 0 comments Download
M storage/browser/fileapi/async_file_util_adapter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M storage/browser/fileapi/copy_or_move_operation_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +1 line, -1 line 0 comments Download
M storage/browser/fileapi/dragged_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M storage/browser/fileapi/file_system_file_stream_reader.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M storage/browser/fileapi/file_system_file_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M storage/browser/fileapi/file_system_operation_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M storage/browser/fileapi/file_system_operation_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +1 line, -1 line 0 comments Download
M storage/browser/fileapi/file_system_operation_runner.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M storage/browser/fileapi/obfuscated_file_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M storage/browser/fileapi/sandbox_file_stream_writer.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M storage/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -6 lines 0 comments Download
M storage/common/blob/blob_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -98 lines 0 comments Download
M storage/common/blob/blob_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -63 lines 0 comments Download
D storage/common/blob/scoped_file.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -94 lines 0 comments Download
D storage/common/blob/scoped_file.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -85 lines 0 comments Download
D storage/common/blob/shareable_file_reference.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -74 lines 0 comments Download
D storage/common/blob/shareable_file_reference.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -121 lines 0 comments Download
M storage/storage_browser.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +10 lines, -0 lines 0 comments Download
M storage/storage_common.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 31 (7 generated)
dmurph
Hi Michael, This is the first patch in the blob storage refactor. I haven't updated ...
5 years, 11 months ago (2015-01-15 00:47:23 UTC) #2
michaeln
not a full review, but a first pass at it it looks like the blob_data.h/cc ...
5 years, 11 months ago (2015-01-16 00:09:09 UTC) #3
dmurph
Done! Updated the doc to add new architecture information as well as cl descriptions: bit.ly/AutoBlobToDisk ...
5 years, 11 months ago (2015-01-16 23:45:57 UTC) #4
dmurph
+qinmin@chromium.org for content/browser/media/android/media_resource_getter_impl.cc +mmenke@chromium.org for content/browser/loader/* +nasko@chromium.org for: content/child/webblobregistry_impl.cc content/common/fileapi/webblob_messages.h content/public/test/mock_blob_url_request_context.cc (These are purely rename ...
5 years, 11 months ago (2015-01-20 21:36:21 UTC) #6
mmenke
loader/ LGTM (Largely deferring to michaeln to verify correctness) https://codereview.chromium.org/810403004/diff/200001/content/browser/loader/upload_data_stream_builder.cc File content/browser/loader/upload_data_stream_builder.cc (right): https://codereview.chromium.org/810403004/diff/200001/content/browser/loader/upload_data_stream_builder.cc#newcode74 content/browser/loader/upload_data_stream_builder.cc:74: ...
5 years, 11 months ago (2015-01-20 22:03:57 UTC) #7
michaeln
this is looking pretty good to me, i mostly just have nits, there are two ...
5 years, 11 months ago (2015-01-21 01:46:42 UTC) #8
qinmin
content/browser/media/android/ lgtm
5 years, 11 months ago (2015-01-21 18:21:09 UTC) #9
dmurph
Hello eveyone! This is a refactor of the blob storage in the browser. (https://bit.ly/AutoBlobToDisk) +nasko@chromium.org ...
5 years, 11 months ago (2015-01-21 22:40:12 UTC) #11
mmenke
https://codereview.chromium.org/810403004/diff/260001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/810403004/diff/260001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode381 content/browser/loader/resource_dispatcher_host_impl.cc:381: storage::BlobStorageContext* blob_context) { Is this still needed, now that ...
5 years, 11 months ago (2015-01-22 00:04:47 UTC) #12
dmurph
https://codereview.chromium.org/810403004/diff/260001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/810403004/diff/260001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode381 content/browser/loader/resource_dispatcher_host_impl.cc:381: storage::BlobStorageContext* blob_context) { On 2015/01/22 00:04:47, mmenke wrote: > ...
5 years, 11 months ago (2015-01-22 00:18:29 UTC) #13
michaeln
https://codereview.chromium.org/810403004/diff/260001/content/browser/fileapi/chrome_blob_storage_context.cc File content/browser/fileapi/chrome_blob_storage_context.cc (right): https://codereview.chromium.org/810403004/diff/260001/content/browser/fileapi/chrome_blob_storage_context.cc#newcode72 content/browser/fileapi/chrome_blob_storage_context.cc:72: scoped_ptr<storage::BlobDataBuilder> blob_data_builder( i think this could be on the ...
5 years, 11 months ago (2015-01-22 02:18:09 UTC) #14
michaeln
https://codereview.chromium.org/810403004/diff/260001/storage/browser/blob/blob_data_snapshot.h File storage/browser/blob/blob_data_snapshot.h (right): https://codereview.chromium.org/810403004/diff/260001/storage/browser/blob/blob_data_snapshot.h#newcode26 storage/browser/blob/blob_data_snapshot.h:26: const std::string& uuid() const { return uuid_; } A ...
5 years, 11 months ago (2015-01-22 02:26:34 UTC) #15
kinuko
>+kinuko@chromium.org for: > chrome/browser/sync_file_system/* > chrome/browser/media_galleries/fileapi/* lgtm
5 years, 11 months ago (2015-01-22 11:14:31 UTC) #16
jam
lgtm
5 years, 11 months ago (2015-01-22 17:20:07 UTC) #17
nasko
LGTM on requested files: content/browser/shareable_file_reference_unittest.c content/browser/storage_partition_impl_map.cc content/child/webblobregistry_impl.cc content/common/fileapi/webblob_messages.h content/public/test/mock_blob_url_request_context.cc https://codereview.chromium.org/810403004/diff/260001/content/browser/shareable_file_reference_unittest.cc File content/browser/shareable_file_reference_unittest.cc (right): https://codereview.chromium.org/810403004/diff/260001/content/browser/shareable_file_reference_unittest.cc#newcode1 content/browser/shareable_file_reference_unittest.cc:1: ...
5 years, 11 months ago (2015-01-22 22:01:15 UTC) #18
dmurph
https://codereview.chromium.org/810403004/diff/260001/content/browser/loader/upload_data_stream_builder.cc File content/browser/loader/upload_data_stream_builder.cc (right): https://codereview.chromium.org/810403004/diff/260001/content/browser/loader/upload_data_stream_builder.cc#newcode89 content/browser/loader/upload_data_stream_builder.cc:89: body->SetUserData(snapshot.get(), snapshot.release()); On 2015/01/22 02:18:09, michaeln wrote: > i'm ...
5 years, 11 months ago (2015-01-23 00:10:19 UTC) #19
michaeln
lgtm!
5 years, 11 months ago (2015-01-23 01:21:46 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/810403004/340001
5 years, 11 months ago (2015-01-23 06:37:44 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/37854)
5 years, 11 months ago (2015-01-23 06:45:54 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/810403004/360001
5 years, 11 months ago (2015-01-23 07:55:58 UTC) #26
commit-bot: I haz the power
Committed patchset #20 (id:360001)
5 years, 11 months ago (2015-01-23 09:19:30 UTC) #27
commit-bot: I haz the power
Patchset 20 (id:??) landed as https://crrev.com/bff2e53fb3e210be45d264797036ec59005ebdd6 Cr-Commit-Position: refs/heads/master@{#312800}
5 years, 11 months ago (2015-01-23 09:20:34 UTC) #28
brucedawson
https://codereview.chromium.org/810403004/diff/360001/storage/browser/blob/blob_storage_context.cc File storage/browser/blob/blob_storage_context.cc (right): https://codereview.chromium.org/810403004/diff/360001/storage/browser/blob/blob_storage_context.cc#newcode190 storage/browser/blob/blob_storage_context.cc:190: BlobMapEntry* entry = blob_map_.find(item.blob_uuid())->second; This line is confusing, and ...
5 years, 11 months ago (2015-01-27 19:05:29 UTC) #30
dmurph
5 years, 10 months ago (2015-01-29 17:43:48 UTC) #31
Message was sent while issue was closed.
https://codereview.chromium.org/810403004/diff/360001/storage/browser/blob/bl...
File storage/browser/blob/blob_storage_context.cc (right):

https://codereview.chromium.org/810403004/diff/360001/storage/browser/blob/bl...
storage/browser/blob/blob_storage_context.cc:190: BlobMapEntry* entry =
blob_map_.find(item.blob_uuid())->second;
On 2015/01/27 19:05:29, brucedawson wrote:
> This line is confusing, and possibly a bug. The declaration of 'entry' shadows
> the variable of the same name and type declared at the top of the function. It
> is not clear whether this nested declaration was intentional.
> 
> Specifically, I'm not sure whether the setting of entry->flags below is
supposed
> to be affected by this clause.
> 
> I recommend either renaming the inner-scoped variable to avoid confusion, or
not
> declaring it at all if it is a bug.
> 
> This was found by /analyze on Windows,
>
http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Windows%20Analyz...,
> see bug 427616.

Thankfully this isn't a bug, I'll rename the inner variable in my next patch. 
Thanks for pointing this out!

Powered by Google App Engine
This is Rietveld 408576698