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

Issue 2459733002: Move discardable memory to //components from //content (Closed)

Created:
4 years, 1 month ago by Peng
Modified:
4 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, mlamouri+watch-content_chromium.org, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move discardable memory to //components from //content BUG=654678 Committed: https://crrev.com/d81c1a6966c6e4d1f5e49ae7b1d08a29faa1944d Cr-Commit-Position: refs/heads/master@{#429380}

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : Fix build errors #

Patch Set 4 : Fix build erros #

Patch Set 5 : Fix build errors #

Patch Set 6 : Fix build errors #

Patch Set 7 : Fix build errors. #

Patch Set 8 : Fix build error in ios #

Total comments: 12

Patch Set 9 : Address review issues #

Patch Set 10 : Address review issue #

Patch Set 11 : Fix build error #

Total comments: 42

Patch Set 12 : Fix review issues #

Total comments: 2

Patch Set 13 : Fix review issues #

Patch Set 14 : Fix build error #

Patch Set 15 : Fix build error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+513 lines, -2838 lines) Patch
M components/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -0 lines 0 comments Download
A + components/discardable_memory/OWNERS View 1 2 3 4 5 6 7 8 0 chunks +-1 lines, --1 lines 0 comments Download
A components/discardable_memory/client/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +21 lines, -0 lines 0 comments Download
A + components/discardable_memory/client/client_discardable_shared_memory_manager.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +27 lines, -14 lines 0 comments Download
A + components/discardable_memory/client/client_discardable_shared_memory_manager.cc View 1 2 3 4 5 6 7 8 9 17 chunks +33 lines, -34 lines 0 comments Download
A components/discardable_memory/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +36 lines, -0 lines 0 comments Download
A components/discardable_memory/common/discardable_memory_export.h View 1 chunk +29 lines, -0 lines 0 comments Download
A + components/discardable_memory/common/discardable_shared_memory_heap.h View 1 3 chunks +8 lines, -8 lines 0 comments Download
A + components/discardable_memory/common/discardable_shared_memory_heap.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +12 lines, -13 lines 0 comments Download
A + components/discardable_memory/common/discardable_shared_memory_heap_perftest.cc View 3 chunks +4 lines, -5 lines 0 comments Download
A + components/discardable_memory/common/discardable_shared_memory_heap_unittest.cc View 2 chunks +3 lines, -4 lines 0 comments Download
A components/discardable_memory/common/discardable_shared_memory_id.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +17 lines, -0 lines 0 comments Download
A components/discardable_memory/service/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +35 lines, -0 lines 0 comments Download
A + components/discardable_memory/service/discardable_shared_memory_manager.h View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +34 lines, -29 lines 0 comments Download
A + components/discardable_memory/service/discardable_shared_memory_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 24 chunks +88 lines, -78 lines 0 comments Download
A + components/discardable_memory/service/discardable_shared_memory_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 chunks +47 lines, -50 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +9 lines, -9 lines 0 comments Download
M content/child/BUILD.gn View 2 chunks +1 line, -2 lines 0 comments Download
M content/child/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -0 lines 0 comments Download
D content/child/child_discardable_shared_memory_manager.h View 1 chunk +0 lines, -74 lines 0 comments Download
D content/child/child_discardable_shared_memory_manager.cc View 1 chunk +0 lines, -356 lines 0 comments Download
M content/child/child_thread_impl.h View 1 2 3 4 5 6 7 8 9 4 chunks +12 lines, -4 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +34 lines, -3 lines 0 comments Download
M content/child/child_thread_impl_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +11 lines, -7 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 3 chunks +1 line, -4 lines 0 comments Download
M content/common/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/common/child_process_messages.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -3 lines 0 comments Download
D content/common/discardable_shared_memory_heap.h View 1 chunk +0 lines, -186 lines 0 comments Download
D content/common/discardable_shared_memory_heap.cc View 1 chunk +0 lines, -477 lines 0 comments Download
D content/common/discardable_shared_memory_heap_perftest.cc View 1 chunk +0 lines, -101 lines 0 comments Download
D content/common/discardable_shared_memory_heap_unittest.cc View 1 chunk +0 lines, -339 lines 0 comments Download
D content/common/host_discardable_shared_memory_manager.h View 1 chunk +0 lines, -154 lines 0 comments Download
D content/common/host_discardable_shared_memory_manager.cc View 1 chunk +0 lines, -580 lines 0 comments Download
D content/common/host_discardable_shared_memory_manager_unittest.cc View 1 chunk +0 lines, -288 lines 0 comments Download
M content/ppapi_plugin/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/ppapi_plugin/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -3 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 87 (67 generated)
Peng
Hi David, PTAL. Thanks.
4 years, 1 month ago (2016-10-31 20:27:25 UTC) #35
reveman
lg, just a few questions and minor nits also please add a components/discardable_memory/OWNERS file with ...
4 years, 1 month ago (2016-10-31 22:46:02 UTC) #37
Peng
https://codereview.chromium.org/2459733002/diff/160001/components/discardable_memory/client/child_discardable_shared_memory_manager.h File components/discardable_memory/client/child_discardable_shared_memory_manager.h (right): https://codereview.chromium.org/2459733002/diff/160001/components/discardable_memory/client/child_discardable_shared_memory_manager.h#newcode29 components/discardable_memory/client/child_discardable_shared_memory_manager.h:29: virtual ~Delegate() {} On 2016/10/31 22:46:02, reveman wrote: > ...
4 years, 1 month ago (2016-11-01 14:26:18 UTC) #38
reveman
https://codereview.chromium.org/2459733002/diff/160001/components/discardable_memory/common/discardable_shared_memory_manager.h File components/discardable_memory/common/discardable_shared_memory_manager.h (right): https://codereview.chromium.org/2459733002/diff/160001/components/discardable_memory/common/discardable_shared_memory_manager.h#newcode37 components/discardable_memory/common/discardable_shared_memory_manager.h:37: class DISCARDABLE_MEMORY_EXPORT DiscardableSharedMemoryManager On 2016/11/01 at 14:26:18, Peng wrote: ...
4 years, 1 month ago (2016-11-01 14:48:46 UTC) #39
Peng
https://codereview.chromium.org/2459733002/diff/160001/components/discardable_memory/common/discardable_shared_memory_manager.h File components/discardable_memory/common/discardable_shared_memory_manager.h (right): https://codereview.chromium.org/2459733002/diff/160001/components/discardable_memory/common/discardable_shared_memory_manager.h#newcode37 components/discardable_memory/common/discardable_shared_memory_manager.h:37: class DISCARDABLE_MEMORY_EXPORT DiscardableSharedMemoryManager On 2016/11/01 14:48:45, reveman wrote: > ...
4 years, 1 month ago (2016-11-01 16:00:23 UTC) #42
reveman
Please make sure all references to child are replaced by client. I might have missed ...
4 years, 1 month ago (2016-11-01 17:18:39 UTC) #49
Peng
https://codereview.chromium.org/2459733002/diff/220001/components/discardable_memory/common/BUILD.gn File components/discardable_memory/common/BUILD.gn (right): https://codereview.chromium.org/2459733002/diff/220001/components/discardable_memory/common/BUILD.gn#newcode17 components/discardable_memory/common/BUILD.gn:17: "discardable_shared_memory_manager.h", On 2016/11/01 17:18:38, reveman wrote: > Please move ...
4 years, 1 month ago (2016-11-01 18:38:31 UTC) #50
reveman
Thanks! LGTM after filing a bug and adding a TODO regarding the tracing id. https://codereview.chromium.org/2459733002/diff/240001/components/discardable_memory/service/discardable_shared_memory_manager.cc ...
4 years, 1 month ago (2016-11-01 18:49:23 UTC) #55
Peng
https://codereview.chromium.org/2459733002/diff/240001/components/discardable_memory/service/discardable_shared_memory_manager.cc File components/discardable_memory/service/discardable_shared_memory_manager.cc (right): https://codereview.chromium.org/2459733002/diff/240001/components/discardable_memory/service/discardable_shared_memory_manager.cc#newcode48 components/discardable_memory/service/discardable_shared_memory_manager.cc:48: uint64_t ClientProcessUniqueIdToTracingProcessId(int client_id) { On 2016/11/01 18:49:23, reveman wrote: ...
4 years, 1 month ago (2016-11-01 19:10:36 UTC) #57
Peng
Hi jochen, PTAL. Thanks.
4 years, 1 month ago (2016-11-01 19:11:30 UTC) #60
Peng
+tsepez for content/common/child_process_messages.h Hi Thomas, PTAL. Thanks.
4 years, 1 month ago (2016-11-01 19:13:25 UTC) #62
Tom Sepez
RS LGTM on moving/renaming type.
4 years, 1 month ago (2016-11-01 19:15:10 UTC) #63
jochen (gone - plz use gerrit)
+jam wasn't the plan to only put new code shared with ios in components?
4 years, 1 month ago (2016-11-02 10:58:56 UTC) #71
Fady Samuel
On 2016/11/02 10:58:56, jochen wrote: > +jam > > wasn't the plan to only put ...
4 years, 1 month ago (2016-11-02 11:32:50 UTC) #72
jochen (gone - plz use gerrit)
On 2016/11/02 at 11:32:50, fsamuel wrote: > On 2016/11/02 10:58:56, jochen wrote: > > +jam ...
4 years, 1 month ago (2016-11-02 11:36:49 UTC) #73
jam
On 2016/11/02 11:36:49, jochen wrote: > On 2016/11/02 at 11:32:50, fsamuel wrote: > > On ...
4 years, 1 month ago (2016-11-02 19:49:37 UTC) #79
Peng
On 2016/11/02 19:49:37, jam wrote: > On 2016/11/02 11:36:49, jochen wrote: > > On 2016/11/02 ...
4 years, 1 month ago (2016-11-02 19:59:35 UTC) #80
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2459733002/300001
4 years, 1 month ago (2016-11-02 20:00:15 UTC) #83
commit-bot: I haz the power
Committed patchset #15 (id:300001)
4 years, 1 month ago (2016-11-02 20:06:31 UTC) #85
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 20:10:07 UTC) #87
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/d81c1a6966c6e4d1f5e49ae7b1d08a29faa1944d
Cr-Commit-Position: refs/heads/master@{#429380}

Powered by Google App Engine
This is Rietveld 408576698