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

Issue 1324453008: Implement the getRequestDetails api in chrome side. (Closed)

Created:
5 years, 3 months ago by ssid
Modified:
5 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@skia_expose
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement the IsLightDump api in chrome side. This implements new SkTraceMemoryDump interface changed in www.crrev.com/1310123007. The dump manager in base decides to request a heavy or light dump depending on the user's configurations. The light dumps are more frequent than heavy ones, but has onl the totals from the dump providers. This is to enure that the trace is not huge as well as the dumps are frequent enough in the traces. This change passes the dump args that is provided on OnMemoryDump call to the SkTraceMemoryDump object, which implements RequestDetails method. The discardable details are enabled always for consistency across dumps. It also changes the argument in constructor to string from char* since it is not cler if the constructor stores it or copies it. TBR=reveman@chromium.org BUG=499731 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/02adde97ae3b52e7ef7f7971d36ceff46654dc1d Cr-Commit-Position: refs/heads/master@{#351541}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase. #

Patch Set 3 : Nits. #

Patch Set 4 : Using correct hash. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -20 lines) Patch
M DEPS View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/output/output_surface.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M skia/ext/SkTraceMemoryDump_chrome.h View 1 2 3 4 chunks +12 lines, -4 lines 0 comments Download
M skia/ext/SkTraceMemoryDump_chrome.cc View 1 2 3 2 chunks +14 lines, -3 lines 0 comments Download
M skia/ext/skia_memory_dump_provider.cc View 1 2 3 1 chunk +2 lines, -12 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
ssid
PTAL, thanks
5 years, 3 months ago (2015-09-07 19:04:25 UTC) #2
Primiano Tucci (use gerrit)
LGTM with 1 comment https://codereview.chromium.org/1324453008/diff/1/skia/ext/SkTraceMemoryDump_chrome.h File skia/ext/SkTraceMemoryDump_chrome.h (right): https://codereview.chromium.org/1324453008/diff/1/skia/ext/SkTraceMemoryDump_chrome.h#newcode29 skia/ext/SkTraceMemoryDump_chrome.h:29: const base::trace_event::MemoryDumpArgs& args, why don't ...
5 years, 3 months ago (2015-09-09 17:27:23 UTC) #3
ssid
Fixed the args and the string.
5 years, 3 months ago (2015-09-10 11:08:58 UTC) #4
ssid
+reed, PTAL thanks.
5 years, 3 months ago (2015-09-10 11:23:16 UTC) #6
reed1
This sort of impl change is pretty opaque to me, but lgtm.
5 years, 3 months ago (2015-09-10 17:01:30 UTC) #7
Primiano Tucci (use gerrit)
On 2015/09/10 17:01:30, reed1 wrote: > This sort of impl change is pretty opaque to ...
5 years, 3 months ago (2015-09-10 17:19:35 UTC) #8
ssid
On 2015/09/10 17:19:35, Primiano Tucci wrote: > On 2015/09/10 17:01:30, reed1 wrote: > > This ...
5 years, 3 months ago (2015-09-10 19:29:47 UTC) #9
ssid
Made changes for the interface change.
5 years, 3 months ago (2015-09-11 15:13:02 UTC) #10
Primiano Tucci (use gerrit)
On 2015/09/11 15:13:02, ssid wrote: > Made changes for the interface change. LGTM from my ...
5 years, 2 months ago (2015-09-30 08:47:18 UTC) #19
ssid
On 2015/09/30 08:47:18, Primiano Tucci wrote: > On 2015/09/11 15:13:02, ssid wrote: > > Made ...
5 years, 2 months ago (2015-09-30 11:33:41 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1324453008/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1324453008/320001
5 years, 2 months ago (2015-09-30 12:38:21 UTC) #23
commit-bot: I haz the power
Committed patchset #9 (id:320001)
5 years, 2 months ago (2015-09-30 13:13:23 UTC) #24
commit-bot: I haz the power
5 years, 2 months ago (2015-09-30 13:14:34 UTC) #25
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/02adde97ae3b52e7ef7f7971d36ceff46654dc1d
Cr-Commit-Position: refs/heads/master@{#351541}

Powered by Google App Engine
This is Rietveld 408576698