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

Issue 11326: Port base/watchdog to Linux. (Closed)

Created:
12 years, 1 month ago by please use my chromium address
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Port base/watchdog to Linux. BUG=4632

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -97 lines) Patch
M base/base_lib.scons View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M base/base_unittests.scons View 1 2 1 chunk +0 lines, -1 line 1 comment Download
M base/watchdog.h View 1 2 3 chunks +21 lines, -15 lines 2 comments Download
M base/watchdog.cc View 1 2 5 chunks +30 lines, -47 lines 0 comments Download
M base/watchdog_unittest.cc View 1 2 5 chunks +15 lines, -27 lines 0 comments Download
M chrome/browser/jankometer.cc View 2 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
please use my chromium address
Tested on Linux, passes unittest. I'm not sure if my delegate stuff and its communication ...
12 years, 1 month ago (2008-11-20 18:55:59 UTC) #1
Dean McNamee
This is great, thanks. Looks pretty good, a few comments: http://codereview.chromium.org/11326/diff/1/5 File base/watchdog.cc (right): http://codereview.chromium.org/11326/diff/1/5#newcode124 ...
12 years, 1 month ago (2008-11-21 18:26:09 UTC) #2
please use my chromium address
http://codereview.chromium.org/11326/diff/1/5 File base/watchdog.cc (right): http://codereview.chromium.org/11326/diff/1/5#newcode124 Line 124: std::string watched_name = WideToASCII(watchdog_->thread_watched_name_); On 2008/11/21 18:26:09, Dean ...
12 years, 1 month ago (2008-11-21 19:03:53 UTC) #3
Dean McNamee
http://codereview.chromium.org/11326/diff/202/20 File chrome/browser/jankometer.cc (right): http://codereview.chromium.org/11326/diff/202/20#newcode86 Line 86: slow_processing_counter_(std::wstring(L"Chrome.SlowMsg") + thread_name), Evan is working on a ...
12 years, 1 month ago (2008-11-21 19:14:27 UTC) #4
Dean McNamee
Evan committed his narrow string stats table patch I think. So now it would make ...
12 years, 1 month ago (2008-11-24 07:50:33 UTC) #5
please use my chromium address
Sure. Please take a look now.
12 years, 1 month ago (2008-11-24 11:42:32 UTC) #6
Dean McNamee
Looks great, thanks again. I will have Jar do a quick peek and try committing ...
12 years ago (2008-11-24 16:25:35 UTC) #7
Dean McNamee
On 2008/11/24 16:25:35, Dean McNamee wrote: > Looks great, thanks again. I will have Jar ...
12 years ago (2008-11-25 21:30:34 UTC) #8
Dean McNamee
Committed as r6004. On 2008/11/25 21:30:34, Dean McNamee wrote: > On 2008/11/24 16:25:35, Dean McNamee ...
12 years ago (2008-11-25 22:48:09 UTC) #9
wtc
12 years ago (2008-11-25 23:00:13 UTC) #10
LGTM.

I reviewed this CL for jar because he's busy today.

http://codereview.chromium.org/11326/diff/45/215
File base/base_unittests.scons (right):

http://codereview.chromium.org/11326/diff/45/215#newcode50
Line 50: # These test files work on *all* platforms; tests that don't work
Should we also update this comment as we updated the same
comment in base/base_lib.scons?

http://codereview.chromium.org/11326/diff/45/217
File base/watchdog.h (right):

http://codereview.chromium.org/11326/diff/45/217#newcode53
Line 53: explicit ThreadDelegate(Watchdog* watchdog, const base::TimeDelta&
duration)
This constructor has two parameters, so it doesn't need to
be 'explicit'.

Powered by Google App Engine
This is Rietveld 408576698