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

Issue 1234813004: [BlobAsync] Asynchronous Blob Construction Final Patch (Closed)

Created:
5 years, 5 months ago by dmurph
Modified:
4 years, 8 months ago
Reviewers:
kinuko, michaeln, palmer, Mark P
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@blob-protocol-change
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[BlobAsync] Asynchronous Blob Construction Final Patch This is the final patch that hooks up the blob storage system to the new async protocol. In this patch we: * Hook up the new classes and modules we created in the previous patches. * Remove the old way of creating blobs. * Create a few classes like blob_message_filter and blob_dispatcher_host for handing IPC messages. The result of this change makes renderer-initiated blob construction asynchronous instead of synchronous. So constructing new blobs should be faster, but the time from construction to read should be the same, as the reading still has to wait for the blob to be transferred to the browser. Because we let the renderer continue before we've sent all of the data, we use ChildProcess::AddRefProcess() system to keep the renderer alive while we transfer data. Patches: 1: https://codereview.chromium.org/1287303002 (committed!) 2: https://codereview.chromium.org/1288373002 (committed!) 3: https://codereview.chromium.org/1292523002 (committed!) 4: https://codereview.chromium.org/1098853003 (committed!) Hookup: https://codereview.chromium.org/1234813004 BUG=375297 Committed: https://crrev.com/1fb98480c61c563587cbb01de87cfad180fec942 Cr-Commit-Position: refs/heads/master@{#384093}

Patch Set 1 #

Patch Set 2 : added dispatcher host #

Patch Set 3 : Update #

Patch Set 4 : Update! #

Patch Set 5 : Update! #

Patch Set 6 : Rebased #

Patch Set 7 : rebase changes #

Patch Set 8 : rebase and cleanup #

Patch Set 9 : rebase #

Patch Set 10 : Rebase, and working #

Patch Set 11 : Rebase #

Patch Set 12 : Rebase #

Total comments: 30

Patch Set 13 : Comments #

Total comments: 57

Patch Set 14 : comments #

Total comments: 46

Patch Set 15 : Comments & added content_type & disposition to register IPC #

Total comments: 4

Patch Set 16 : rebase #

Patch Set 17 : Fixed build #

Total comments: 44

Patch Set 18 : comments #

Total comments: 12

Patch Set 19 : comments #

Patch Set 20 : comments and rebase #

Total comments: 44

Patch Set 21 : WIP, DispatcherHost and StorageHost merger #

Patch Set 22 : Comments and simplification #

Patch Set 23 : rebase #

Patch Set 24 : fix #

Total comments: 36

Patch Set 25 : similarity lower #

Patch Set 26 : Fixed browsertests #

Patch Set 27 : Rebase #

Total comments: 2

Patch Set 28 : comments #

Total comments: 24

Patch Set 29 : comments #

Patch Set 30 : comments/fixes #

Total comments: 30

Patch Set 31 : comments #

Patch Set 32 : rebase #

Patch Set 33 : rebase #

Total comments: 40

Patch Set 34 : comments #

Patch Set 35 : Rebase, refactor, tests, comments #

Patch Set 36 : Added tests, and ref blob checks #

Patch Set 37 : rebase #

Patch Set 38 : size_t -> uint32_t, mojo IPC requirement #

Total comments: 31

Patch Set 39 : comments, lots of tests #

Patch Set 40 : added shared memory test, and fixed memory leak #

Total comments: 22

Patch Set 41 : comments #

Patch Set 42 : rebase #

Total comments: 33

Patch Set 43 : Rebase & comments #

Patch Set 44 : added histogram, and rebase #

Patch Set 45 : Added ChildProcess Ref Counting #

Total comments: 6

Patch Set 46 : rebase #

Patch Set 47 : Logging! #

Patch Set 48 : Fixed issue reading incomplete blob! #

Patch Set 49 : Fixed issue reading incomplete blob! #

Patch Set 50 : rebase #

Patch Set 51 : comments #

Total comments: 26

Patch Set 52 : Comments #

Total comments: 6

Patch Set 53 : comments and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3678 lines, -2657 lines) Patch
M content/browser/bad_message.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/blob_storage/blob_async_builder_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 9 chunks +407 lines, -94 lines 0 comments Download
A + content/browser/blob_storage/blob_async_transport_request_builder_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 11 chunks +114 lines, -216 lines 0 comments Download
M content/browser/blob_storage/blob_async_transport_strategy_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -458 lines 0 comments Download
A content/browser/blob_storage/blob_dispatcher_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +142 lines, -0 lines 0 comments Download
A content/browser/blob_storage/blob_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +333 lines, -0 lines 0 comments Download
A content/browser/blob_storage/blob_dispatcher_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +929 lines, -0 lines 0 comments Download
M content/browser/blob_storage/blob_storage_registry_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 3 chunks +12 lines, -15 lines 0 comments Download
M content/browser/fileapi/blob_reader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 3 chunks +49 lines, -5 lines 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 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 14 chunks +139 lines, -135 lines 0 comments Download
M content/browser/fileapi/blob_storage_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -75 lines 0 comments Download
M content/browser/fileapi/blob_storage_host.cc View 1 2 3 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -116 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 3 chunks +0 lines, -23 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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 5 chunks +2 lines, -103 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 2 chunks +2 lines, -0 lines 0 comments Download
M content/child/blob_storage/blob_consolidation.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 3 chunks +7 lines, -0 lines 0 comments Download
M content/child/blob_storage/blob_consolidation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +1 line, -0 lines 0 comments Download
A content/child/blob_storage/blob_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +63 lines, -0 lines 0 comments Download
A content/child/blob_storage/blob_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +61 lines, -0 lines 0 comments Download
M content/child/blob_storage/blob_transport_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 6 chunks +18 lines, -12 lines 0 comments Download
M content/child/blob_storage/blob_transport_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 6 chunks +36 lines, -30 lines 0 comments Download
M content/child/blob_storage/blob_transport_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 6 chunks +71 lines, -14 lines 0 comments Download
M content/child/webblobregistry_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 5 chunks +24 lines, -11 lines 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 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 7 chunks +47 lines, -102 lines 0 comments Download
M content/common/fileapi/webblob_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 2 chunks +64 lines, -12 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 2 chunks +2 lines, -2 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 1 chunk +0 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 1 chunk +2 lines, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 3 chunks +3 lines, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 1 chunk +3 lines, -1 line 0 comments Download
M storage/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 1 chunk +2 lines, -2 lines 0 comments Download
M storage/browser/blob/blob_async_builder_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 4 chunks +120 lines, -52 lines 0 comments Download
M storage/browser/blob/blob_async_builder_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 47 8 chunks +277 lines, -116 lines 0 comments Download
A + storage/browser/blob/blob_async_transport_request_builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 5 chunks +77 lines, -65 lines 0 comments Download
A + storage/browser/blob/blob_async_transport_request_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 10 chunks +55 lines, -93 lines 0 comments Download
M storage/browser/blob/blob_async_transport_strategy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -126 lines 0 comments Download
M storage/browser/blob/blob_async_transport_strategy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +0 lines, -337 lines 0 comments Download
M 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 20 21 22 23 24 25 26 27 28 2 chunks +8 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 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 4 chunks +23 lines, -1 line 0 comments Download
M storage/browser/blob/blob_data_handle.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 5 chunks +34 lines, -1 line 0 comments Download
M 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 20 21 22 23 24 25 26 27 28 1 chunk +2 lines, -0 lines 0 comments Download
M storage/browser/blob/blob_data_snapshot.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +12 lines, -0 lines 0 comments Download
M storage/browser/blob/blob_reader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 4 chunks +7 lines, -0 lines 0 comments Download
M storage/browser/blob/blob_reader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 4 chunks +83 lines, -48 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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 4 chunks +61 lines, -49 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 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 47 10 chunks +181 lines, -238 lines 0 comments Download
M storage/browser/blob/blob_storage_registry.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 4 chunks +25 lines, -13 lines 0 comments Download
M storage/browser/blob/blob_storage_registry.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +19 lines, -5 lines 0 comments Download
A storage/browser/blob/blob_transport_result.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 1 chunk +27 lines, -0 lines 0 comments Download
M storage/browser/blob/internal_blob_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +0 lines, -4 lines 0 comments Download
M storage/browser/blob/internal_blob_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +0 lines, -18 lines 0 comments Download
M storage/browser/blob/shareable_blob_data_item.h View 1 2 3 4 5 6 7 3 chunks +4 lines, -1 line 0 comments Download
M storage/browser/blob/view_blob_internals_job.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 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 13 14 15 16 17 18 19 4 chunks +19 lines, -15 lines 0 comments Download
M storage/common/blob_storage/blob_item_bytes_request.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +20 lines, -19 lines 0 comments Download
M storage/common/blob_storage/blob_item_bytes_request.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 3 chunks +15 lines, -15 lines 0 comments Download
M storage/common/blob_storage/blob_item_bytes_response.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +7 lines, -5 lines 0 comments Download
M storage/common/blob_storage/blob_item_bytes_response.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +1 line, -1 line 0 comments Download
M storage/common/blob_storage/blob_storage_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 1 chunk +16 lines, -3 lines 0 comments Download
M storage/storage_browser.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 4 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 116 (35 generated)
dmurph
Hey there, This is the integration patch. It's not as big, yay! Things to still ...
5 years, 4 months ago (2015-08-04 17:35:53 UTC) #2
dmurph
Hi Kinuko & Michaeln, Here is the final hookup patch for async blob transport. It's ...
5 years, 4 months ago (2015-08-13 13:22:08 UTC) #4
dmurph
This is it guys! The hookup patch for Async Blob transport! It's finally time to ...
5 years ago (2015-12-02 21:56:10 UTC) #9
kinuko
First round, not doing real review yet https://codereview.chromium.org/1234813004/diff/220001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/220001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode25 content/browser/blob_storage/blob_dispatcher_host.cc:25: BlobDispatcherHost::~BlobDispatcherHost() {} ...
5 years ago (2015-12-03 13:57:11 UTC) #12
dmurph
https://codereview.chromium.org/1234813004/diff/220001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/220001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode25 content/browser/blob_storage/blob_dispatcher_host.cc:25: BlobDispatcherHost::~BlobDispatcherHost() {} On 2015/12/03 at 13:57:10, kinuko wrote: > ...
5 years ago (2015-12-03 22:53:23 UTC) #13
kinuko
I'm a bit behind on review, let me still send some comments... I won't be ...
5 years ago (2015-12-08 15:40:15 UTC) #14
michaeln
Not a full review yet, but at least a first pass at some comments. I ...
5 years ago (2015-12-10 01:14:06 UTC) #15
dmurph
https://codereview.chromium.org/1234813004/diff/240001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/240001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode56 content/browser/blob_storage/blob_dispatcher_host.cc:56: ignore_result(blob_storage_host_->RegisterBlobUUID(uuid)); On 2015/12/08 at 15:40:15, kinuko wrote: > nit: ...
5 years ago (2015-12-11 22:10:36 UTC) #16
kinuko
Maybe partly because this change is the one that is trying to combine everything this ...
5 years ago (2015-12-13 08:41:45 UTC) #17
michaeln
I'd vote to look for ways to simplify this. I wonder if flattening out the ...
5 years ago (2015-12-15 02:40:48 UTC) #18
michaeln
https://codereview.chromium.org/1234813004/diff/260001/content/browser/fileapi/blob_storage_host.cc File content/browser/fileapi/blob_storage_host.cc (right): https://codereview.chromium.org/1234813004/diff/260001/content/browser/fileapi/blob_storage_host.cc#newcode54 content/browser/fileapi/blob_storage_host.cc:54: } What if BlobAsyncBuilderHost.ascync_blob_map_ is not empty? https://codereview.chromium.org/1234813004/diff/260001/content/browser/fileapi/blob_storage_host.cc#newcode93 content/browser/fileapi/blob_storage_host.cc:93: ...
5 years ago (2015-12-15 20:55:58 UTC) #19
dmurph
You guys have great comments, just letting you know that I'm still working on this. ...
5 years ago (2015-12-17 01:52:56 UTC) #20
dmurph
Alrighty! There are 4 big changes: 1. I removed all callbacks for done and cancel, ...
5 years ago (2015-12-18 03:22:50 UTC) #21
palmer
https://codereview.chromium.org/1234813004/diff/320001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/320001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode33 content/browser/blob_storage/blob_dispatcher_host.cc:33: void BlobDispatcherHost::OnChannelConnected(int32 peer_pid) { |peer_pid| is not used? Is ...
4 years, 11 months ago (2016-01-05 23:49:21 UTC) #22
kinuko
I think it's now more readable after a lot of refactoring. It's still getting a ...
4 years, 11 months ago (2016-01-07 07:46:50 UTC) #23
dmurph
Thanks for the reviews! Kinuko: there's a question in there about your opinion on callbacks ...
4 years, 11 months ago (2016-01-07 22:57:13 UTC) #24
kinuko
https://codereview.chromium.org/1234813004/diff/340001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/340001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode76 content/browser/blob_storage/blob_dispatcher_host.cc:76: base::Bind(&BlobDispatcherHost::SendMemoryRequest, this, uuid)); On 2016/01/07 22:57:13, dmurph wrote: > ...
4 years, 11 months ago (2016-01-08 09:20:03 UTC) #25
kinuko
Some more comments https://codereview.chromium.org/1234813004/diff/380001/content/browser/blob_storage/blob_async_transport_strategy_unittest.cc File content/browser/blob_storage/blob_async_transport_strategy_unittest.cc (right): https://codereview.chromium.org/1234813004/diff/380001/content/browser/blob_storage/blob_async_transport_strategy_unittest.cc#newcode74 content/browser/blob_storage/blob_async_transport_strategy_unittest.cc:74: // and we save to one ...
4 years, 11 months ago (2016-01-08 14:52:08 UTC) #26
dmurph
On 2016/01/08 at 09:20:03, kinuko wrote: > https://codereview.chromium.org/1234813004/diff/340001/content/browser/blob_storage/blob_dispatcher_host.cc > File content/browser/blob_storage/blob_dispatcher_host.cc (right): > > https://codereview.chromium.org/1234813004/diff/340001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode76 ...
4 years, 11 months ago (2016-01-12 00:53:05 UTC) #27
dmurph
On 2016/01/12 at 00:53:05, dmurph wrote: > On 2016/01/08 at 09:20:03, kinuko wrote: > > ...
4 years, 11 months ago (2016-01-12 01:09:24 UTC) #28
michaeln
From a functional point of view, I think subverting refcounting semantics is probably not a ...
4 years, 11 months ago (2016-01-13 02:42:44 UTC) #29
dmurph
Initial reply for some of the cancel architecting: I'm currently merging BlobStorageHost and BlobDispatcherHost into ...
4 years, 11 months ago (2016-01-13 02:50:11 UTC) #30
dmurph
On 2016/01/13 at 02:50:11, dmurph wrote: > Initial reply for some of the cancel architecting: ...
4 years, 11 months ago (2016-01-14 20:40:03 UTC) #31
dmurph
Alright, I incorporated the suggestions and I hope this looks cleaner and more understandable ;) ...
4 years, 11 months ago (2016-01-16 00:43:40 UTC) #32
kinuko
Thanks for drastically reworking on this. The patch's getting bigger which is a bit tough ...
4 years, 11 months ago (2016-01-19 14:31:40 UTC) #33
dmurph
On 2016/01/19 at 14:31:40, kinuko wrote: > Thanks for drastically reworking on this. The patch's ...
4 years, 11 months ago (2016-01-19 20:28:30 UTC) #34
palmer
My IPC concerns seem addressed, so LGTM.
4 years, 11 months ago (2016-01-19 23:19:06 UTC) #35
kinuko
Haven't looked at most tests yet. This version starts to feel readable to me :) ...
4 years, 11 months ago (2016-01-20 14:14:21 UTC) #36
dmurph
Done. IPC::TestSink is pretty great, thanks. https://codereview.chromium.org/1234813004/diff/460001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/460001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode61 content/browser/blob_storage/blob_dispatcher_host.cc:61: sender_ = nullptr; ...
4 years, 11 months ago (2016-01-20 22:57:06 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/540001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/540001
4 years, 11 months ago (2016-01-22 00:16:07 UTC) #39
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/162818)
4 years, 11 months ago (2016-01-22 01:09:29 UTC) #41
michaeln
i haven't looked at the tests yet either but i think this is shaping up ...
4 years, 11 months ago (2016-01-25 20:24:09 UTC) #42
dmurph
https://codereview.chromium.org/1234813004/diff/540001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/540001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode36 content/browser/blob_storage/blob_dispatcher_host.cc:36: void BlobDispatcherHost::OnFilterAdded(IPC::Sender* sender) { On 2016/01/25 at 20:24:08, michaeln ...
4 years, 10 months ago (2016-02-03 20:08:50 UTC) #43
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/580001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/580001
4 years, 10 months ago (2016-02-03 20:11:44 UTC) #45
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/168760)
4 years, 10 months ago (2016-02-03 21:08:17 UTC) #47
michaeln
still haven't made it to the tests, i found a couple of simple bugs and ...
4 years, 10 months ago (2016-02-06 00:08:40 UTC) #48
dmurph
https://codereview.chromium.org/1234813004/diff/580001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/580001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode223 content/browser/blob_storage/blob_dispatcher_host.cc:223: return IsInUseInHost(uuid) && context()->IsBeingBuilt(uuid); On 2016/02/06 at 00:08:39, michaeln ...
4 years, 10 months ago (2016-02-09 00:52:26 UTC) #49
kinuko
I wasn't able to review much, but this is getting better and better I think... ...
4 years, 10 months ago (2016-02-09 16:42:12 UTC) #50
dmurph
https://codereview.chromium.org/1234813004/diff/640001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/640001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode77 content/browser/blob_storage/blob_dispatcher_host.cc:77: BlobTransportResult result = StartBuildingBlob(uuid, descriptions); On 2016/02/09 at 16:42:11, ...
4 years, 10 months ago (2016-02-09 23:44:15 UTC) #51
michaeln
haven't made it all the way thru the tests, sending comments i got so far, ...
4 years, 10 months ago (2016-02-09 23:51:01 UTC) #52
dmurph
Hello! I did some changes to handle the following cases: * Blob referenced in construction ...
4 years, 10 months ago (2016-02-12 00:46:53 UTC) #53
michaeln
https://codereview.chromium.org/1234813004/diff/730001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/730001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode137 content/browser/blob_storage/blob_dispatcher_host.cc:137: // can correctly break the blob if we're still ...
4 years, 10 months ago (2016-02-17 00:01:10 UTC) #54
dmurph
Hey! So I added a lot of tests in this release, and made any dependency ...
4 years, 10 months ago (2016-02-18 23:35:29 UTC) #55
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/770001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/770001
4 years, 10 months ago (2016-02-19 23:10:17 UTC) #57
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/118721)
4 years, 10 months ago (2016-02-20 00:10:49 UTC) #59
michaeln
https://codereview.chromium.org/1234813004/diff/730001/storage/browser/blob/blob_async_builder_host.cc File storage/browser/blob/blob_async_builder_host.cc (right): https://codereview.chromium.org/1234813004/diff/730001/storage/browser/blob/blob_async_builder_host.cc#newcode371 storage/browser/blob/blob_async_builder_host.cc:371: CancelBuildingBlob(uuid, IPCBlobCreationCancelCode::SOURCE_DIED_IN_TRANSIT, On 2016/02/18 23:35:29, dmurph wrote: > On ...
4 years, 10 months ago (2016-02-23 02:25:41 UTC) #60
dmurph
https://codereview.chromium.org/1234813004/diff/730001/storage/browser/blob/blob_async_builder_host.cc File storage/browser/blob/blob_async_builder_host.cc (right): https://codereview.chromium.org/1234813004/diff/730001/storage/browser/blob/blob_async_builder_host.cc#newcode389 storage/browser/blob/blob_async_builder_host.cc:389: // synchronous. On 2016/02/23 at 02:25:40, michaeln wrote: > ...
4 years, 10 months ago (2016-02-23 23:45:32 UTC) #61
michaeln
this is so close, a couple questions @kinuko, do you want to take another look? ...
4 years, 10 months ago (2016-02-25 01:48:02 UTC) #62
kinuko
Sending some minor comments only. I keep failing to allocate enough time to digest all ...
4 years, 9 months ago (2016-02-25 16:07:33 UTC) #63
dmurph
Thanks guys. I still have to do more investigation on the browsertest failures, they don't ...
4 years, 9 months ago (2016-02-25 23:36:33 UTC) #64
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/830001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/830001
4 years, 9 months ago (2016-02-26 18:48:37 UTC) #66
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/180604)
4 years, 9 months ago (2016-02-26 20:58:39 UTC) #68
michaeln
https://codereview.chromium.org/1234813004/diff/810001/content/browser/blob_storage/blob_dispatcher_host.cc File content/browser/blob_storage/blob_dispatcher_host.cc (right): https://codereview.chromium.org/1234813004/diff/810001/content/browser/blob_storage/blob_dispatcher_host.cc#newcode143 content/browser/blob_storage/blob_dispatcher_host.cc:143: // we decided to break a blob after sending ...
4 years, 9 months ago (2016-02-26 23:16:38 UTC) #69
dmurph
Thanks! I think this bug might be the cause of the flakiness: https://bugs.chromium.org/p/chromium/issues/detail?id=351753 Michael, I ...
4 years, 9 months ago (2016-03-01 02:45:57 UTC) #70
dmurph
Alrighty, I've added the child process ref counting, hopefully this works out ;)
4 years, 9 months ago (2016-03-02 19:28:23 UTC) #71
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/870001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/870001
4 years, 9 months ago (2016-03-02 20:52:14 UTC) #73
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/189279)
4 years, 9 months ago (2016-03-02 21:41:41 UTC) #75
dmurph
I _believe_ that the most recent patch fixes the failing tests. WOOOOOOO. maybe.
4 years, 9 months ago (2016-03-10 23:41:23 UTC) #76
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/950001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/950001
4 years, 9 months ago (2016-03-11 00:39:12 UTC) #78
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179883)
4 years, 9 months ago (2016-03-11 01:18:28 UTC) #80
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/950001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/950001
4 years, 9 months ago (2016-03-11 21:37:51 UTC) #82
dmurph
Guys! It's working! The bots are purple because of a clang roll, I'm running another ...
4 years, 9 months ago (2016-03-11 21:37:55 UTC) #83
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/130027) linux_chromium_chromeos_ozone_rel_ng on ...
4 years, 9 months ago (2016-03-11 21:42:17 UTC) #85
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/970001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/970001
4 years, 9 months ago (2016-03-11 23:44:39 UTC) #87
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-12 00:17:05 UTC) #89
michaeln
ok, i think this lgtm https://codereview.chromium.org/1234813004/diff/870001/content/child/blob_storage/blob_transport_controller.cc File content/child/blob_storage/blob_transport_controller.cc (right): https://codereview.chromium.org/1234813004/diff/870001/content/child/blob_storage/blob_transport_controller.cc#newcode43 content/child/blob_storage/blob_transport_controller.cc:43: // Must be called ...
4 years, 9 months ago (2016-03-14 20:00:19 UTC) #90
dmurph
+mpearson for histograms.xml review. Hi Mark! Kinuko, can you PTAL? https://codereview.chromium.org/1234813004/diff/870001/content/child/blob_storage/blob_transport_controller.cc File content/child/blob_storage/blob_transport_controller.cc (right): https://codereview.chromium.org/1234813004/diff/870001/content/child/blob_storage/blob_transport_controller.cc#newcode43 ...
4 years, 9 months ago (2016-03-14 22:39:31 UTC) #92
kinuko
My review'd be leaky, but I think I have looked what I had concerned. giving ...
4 years, 9 months ago (2016-03-15 15:29:07 UTC) #93
Mark P
https://codereview.chromium.org/1234813004/diff/990001/storage/browser/blob/blob_storage_context.cc File storage/browser/blob/blob_storage_context.cc (right): https://codereview.chromium.org/1234813004/diff/990001/storage/browser/blob/blob_storage_context.cc#newcode145 storage/browser/blob/blob_storage_context.cc:145: UMA_HISTOGRAM_COUNTS("Storage.Blob.ItemCount", entry->data->items().size()); Judging by this diff, you've refactored some ...
4 years, 9 months ago (2016-03-15 18:36:06 UTC) #94
dmurph
https://codereview.chromium.org/1234813004/diff/990001/content/browser/blob_storage/blob_dispatcher_host.h File content/browser/blob_storage/blob_dispatcher_host.h (right): https://codereview.chromium.org/1234813004/diff/990001/content/browser/blob_storage/blob_dispatcher_host.h#newcode1 content/browser/blob_storage/blob_dispatcher_host.h:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 9 months ago (2016-03-15 22:40:15 UTC) #95
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/1010001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/1010001
4 years, 9 months ago (2016-03-15 22:40:41 UTC) #97
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-15 23:33:46 UTC) #99
Mark P
https://codereview.chromium.org/1234813004/diff/990001/storage/common/blob_storage/blob_storage_constants.h File storage/common/blob_storage/blob_storage_constants.h (right): https://codereview.chromium.org/1234813004/diff/990001/storage/common/blob_storage/blob_storage_constants.h#newcode45 storage/common/blob_storage/blob_storage_constants.h:45: LAST = REFERENCED_BLOB_BROKEN On 2016/03/15 22:40:14, dmurph wrote: > ...
4 years, 9 months ago (2016-03-16 19:25:51 UTC) #100
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/1030001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/1030001
4 years, 8 months ago (2016-03-30 19:22:18 UTC) #106
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/162158)
4 years, 8 months ago (2016-03-30 19:34:16 UTC) #108
dmurph
https://codereview.chromium.org/1234813004/diff/1010001/storage/common/blob_storage/blob_storage_constants.h File storage/common/blob_storage/blob_storage_constants.h (right): https://codereview.chromium.org/1234813004/diff/1010001/storage/common/blob_storage/blob_storage_constants.h#newcode31 storage/common/blob_storage/blob_storage_constants.h:31: // These items cannot be reordered or renumbered. New ...
4 years, 8 months ago (2016-03-30 20:13:26 UTC) #109
Mark P
histograms.xml lgtm
4 years, 8 months ago (2016-03-30 21:05:38 UTC) #110
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234813004/1030001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234813004/1030001
4 years, 8 months ago (2016-03-30 21:06:43 UTC) #112
commit-bot: I haz the power
Committed patchset #53 (id:1030001)
4 years, 8 months ago (2016-03-30 21:14:44 UTC) #113
commit-bot: I haz the power
Patchset 53 (id:??) landed as https://crrev.com/1fb98480c61c563587cbb01de87cfad180fec942 Cr-Commit-Position: refs/heads/master@{#384093}
4 years, 8 months ago (2016-03-30 21:16:07 UTC) #115
Sami
4 years, 8 months ago (2016-03-31 10:52:17 UTC) #116
Message was sent while issue was closed.
This might be unrelated, but one performance benchmark started failing flakily
and complaining about missing blob resources around the time this patch landed.
See https://bugs.chromium.org/p/chromium/issues/detail?id=599416.

Powered by Google App Engine
This is Rietveld 408576698