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

Issue 372113003: simplify posix MappedFile::Init and add useful logs (Closed)

Created:
6 years, 5 months ago by Mostyn Bramley-Moore
Modified:
6 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org
Project:
chromium
Visibility:
Public.

Description

simplify posix MappedFile::Init and add useful logs This ancient CL suggested a simplication in mapped_file_posix.cc: https://codereview.chromium.org/160288 After hitting this DCHECK on an embedded device where using a debugger is difficult, I decided to make the suggested change and add some useful logging while I was at it. BUG=391937 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281747

Patch Set 1 #

Total comments: 4

Patch Set 2 : use DPLOG_IF instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M net/disk_cache/blockfile/mapped_file_posix.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Mostyn Bramley-Moore
@Evan: spotted an old suggestion of yours... @willchan: PTAL for OWNER approval.
6 years, 5 months ago (2014-07-07 22:19:04 UTC) #1
willchan no longer on Chromium
Ricardo, I'm sending this your way. FWIW, seems fine to me.
6 years, 5 months ago (2014-07-07 23:13:50 UTC) #2
rvargas (doing something else)
lgtm after nit https://codereview.chromium.org/372113003/diff/1/net/disk_cache/blockfile/mapped_file_posix.cc File net/disk_cache/blockfile/mapped_file_posix.cc (right): https://codereview.chromium.org/372113003/diff/1/net/disk_cache/blockfile/mapped_file_posix.cc#newcode8 net/disk_cache/blockfile/mapped_file_posix.cc:8: #include <string.h> (and this should not ...
6 years, 5 months ago (2014-07-07 23:30:32 UTC) #3
Mostyn Bramley-Moore
https://codereview.chromium.org/372113003/diff/1/net/disk_cache/blockfile/mapped_file_posix.cc File net/disk_cache/blockfile/mapped_file_posix.cc (right): https://codereview.chromium.org/372113003/diff/1/net/disk_cache/blockfile/mapped_file_posix.cc#newcode8 net/disk_cache/blockfile/mapped_file_posix.cc:8: #include <string.h> On 2014/07/07 23:30:32, rvargas wrote: > (and ...
6 years, 5 months ago (2014-07-08 08:07:20 UTC) #4
Mostyn Bramley-Moore
The CQ bit was checked by mostynb@opera.com
6 years, 5 months ago (2014-07-08 08:13:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/372113003/20001
6 years, 5 months ago (2014-07-08 08:13:26 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-08 12:23:04 UTC) #7
commit-bot: I haz the power
Change committed as 281747
6 years, 5 months ago (2014-07-08 14:33:27 UTC) #8
Evan Martin
Dean and I no longer work on Chrome, and it looks like Will is on ...
6 years, 5 months ago (2014-07-13 22:21:17 UTC) #9
Mostyn Bramley-Moore
6 years, 5 months ago (2014-07-13 22:49:43 UTC) #10
Message was sent while issue was closed.
On 2014/07/13 22:21:17, Evan Martin wrote:
> Dean and I no longer work on Chrome, and it looks like Will is on vacation.
>  Maybe try thestig@ as a reviewer.

This landed a few days back, but thanks anyway.

-Mostyn.

Powered by Google App Engine
This is Rietveld 408576698