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

Issue 1738843002: Refactoring: Unify WebMemoryAllocatorDump and WebMemoryAllocatorDumpImpl

Created:
4 years, 10 months ago by hajimehoshi
Modified:
4 years, 9 months ago
Reviewers:
haraken, tkent, esprehn
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, dglazkov+blink, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactoring: Unify WebMemoryAllocatorDump and WebMemoryAllocatorDumpImpl Now that WebMemoryAllocatorDumpImpl has been moved from content/child to platform, we can unify WebMemoryAllocatorDump and WebMemoryAllocatorDumpImpl BUG=548254

Patch Set 1 #

Total comments: 10

Patch Set 2 : Use OwnPtr #

Patch Set 3 : Use WTF_MAKE_NONCOPYABLE #

Total comments: 2

Patch Set 4 : Address haraken's review #

Total comments: 3

Patch Set 5 : Use WebNonCopyable #

Patch Set 6 : Add BLINK_PLATFORM_EXPORT to WebNonCopyable #

Patch Set 7 : Bug fix #

Patch Set 8 : (rebasing) #

Messages

Total messages: 24 (7 generated)
hajimehoshi
PTAL
4 years, 10 months ago (2016-02-25 12:51:54 UTC) #2
haraken
https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc File third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc (right): https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc#newcode64 third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc:64: WebMemoryAllocatorDump* web_memory_allocator_dump_impl = You should use OwnPtr<WebMemoryAllocatorDump>. https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h File ...
4 years, 10 months ago (2016-02-25 14:38:56 UTC) #3
hajimehoshi
https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc File third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc (right): https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc#newcode64 third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc:64: WebMemoryAllocatorDump* web_memory_allocator_dump_impl = On 2016/02/25 14:38:55, haraken wrote: > ...
4 years, 10 months ago (2016-02-26 11:06:00 UTC) #4
haraken
https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc File third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc (right): https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc#newcode64 third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc:64: WebMemoryAllocatorDump* web_memory_allocator_dump_impl = On 2016/02/26 11:06:00, hajimehoshi wrote: > ...
4 years, 10 months ago (2016-02-26 11:20:49 UTC) #5
hajimehoshi
https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h File third_party/WebKit/public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h#newcode54 third_party/WebKit/public/platform/WebMemoryAllocatorDump.h:54: DISALLOW_COPY_AND_ASSIGN(WebMemoryAllocatorDump); On 2016/02/26 11:20:49, haraken wrote: > On 2016/02/26 ...
4 years, 10 months ago (2016-02-26 11:26:13 UTC) #6
haraken
https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h File third_party/WebKit/public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h#newcode54 third_party/WebKit/public/platform/WebMemoryAllocatorDump.h:54: DISALLOW_COPY_AND_ASSIGN(WebMemoryAllocatorDump); On 2016/02/26 11:26:13, hajimehoshi wrote: > On 2016/02/26 ...
4 years, 10 months ago (2016-02-26 11:32:17 UTC) #7
hajimehoshi
https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc File third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc (right): https://codereview.chromium.org/1738843002/diff/1/third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc#newcode64 third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc:64: WebMemoryAllocatorDump* web_memory_allocator_dump_impl = On 2016/02/26 11:20:49, haraken wrote: > ...
4 years, 10 months ago (2016-02-26 12:04:51 UTC) #8
haraken
LGTM https://codereview.chromium.org/1738843002/diff/40001/third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc File third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc (right): https://codereview.chromium.org/1738843002/diff/40001/third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc#newcode71 third_party/WebKit/Source/platform/web_process_memory_dump_impl.cc:71: return memory_allocator_dumps_.get(memory_allocator_dump); It would be inefficient to call ...
4 years, 9 months ago (2016-02-27 16:15:51 UTC) #9
tkent
lgtm https://codereview.chromium.org/1738843002/diff/40001/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h File third_party/WebKit/public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1738843002/diff/40001/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h#newcode11 third_party/WebKit/public/platform/WebMemoryAllocatorDump.h:11: // TODO(hajimehoshi): WTF_MAKE_NONCOPYABLE works only in Blink side ...
4 years, 9 months ago (2016-02-29 02:34:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738843002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738843002/60001
4 years, 9 months ago (2016-02-29 06:48:49 UTC) #13
esprehn
Let's remove them TODO and macro and just use WebNoncopyable https://codereview.chromium.org/1738843002/diff/60001/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h File third_party/WebKit/public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1738843002/diff/60001/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h#newcode33 ...
4 years, 9 months ago (2016-02-29 06:51:20 UTC) #14
esprehn
Let's remove them TODO and macro and just use WebNoncopyable
4 years, 9 months ago (2016-02-29 06:51:21 UTC) #15
haraken
https://codereview.chromium.org/1738843002/diff/60001/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h File third_party/WebKit/public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1738843002/diff/60001/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h#newcode33 third_party/WebKit/public/platform/WebMemoryAllocatorDump.h:33: WTF_MAKE_NONCOPYABLE(WebMemoryAllocatorDump); On 2016/02/29 06:51:20, esprehn wrote: > Don't do ...
4 years, 9 months ago (2016-02-29 06:55:30 UTC) #16
haraken
On 2016/02/29 06:51:20, esprehn wrote: > Let's remove them TODO and macro and just use ...
4 years, 9 months ago (2016-02-29 07:12:46 UTC) #17
hajimehoshi
Thank you! https://codereview.chromium.org/1738843002/diff/60001/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h File third_party/WebKit/public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1738843002/diff/60001/third_party/WebKit/public/platform/WebMemoryAllocatorDump.h#newcode33 third_party/WebKit/public/platform/WebMemoryAllocatorDump.h:33: WTF_MAKE_NONCOPYABLE(WebMemoryAllocatorDump); On 2016/02/29 06:55:30, haraken wrote: > ...
4 years, 9 months ago (2016-02-29 08:21:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1738843002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1738843002/80001
4 years, 9 months ago (2016-03-01 02:14:14 UTC) #22
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 03:43:38 UTC) #24
Try jobs failed on following builders:
  win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)

Powered by Google App Engine
This is Rietveld 408576698