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

Issue 198011: Enable database logging on history thread. (Closed)

Created:
11 years, 3 months ago by huanr
Modified:
9 years ago
CC:
chromium-reviews_googlegroups.com, brettw, Ben Goodger (Google), chron_chromium.org
Visibility:
Public.

Description

Enable database logging on history thread. BUG=16591 TEST=History UI test

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -4 lines) Patch
M base/thread.h View 2 1 chunk +3 lines, -0 lines 0 comments Download
M base/thread.cc View 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/history/history.cc View 1 2 3 4 chunks +23 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
huanr
11 years, 3 months ago (2009-09-03 21:39:29 UTC) #1
darin (slow to review)
http://codereview.chromium.org/198011/diff/1003/1005 File base/thread.h (right): http://codereview.chromium.org/198011/diff/1003/1005#newcode128 Line 128: virtual void Run(MessageLoop& MessageLoop); google style says that ...
11 years, 3 months ago (2009-09-04 19:32:43 UTC) #2
huanr
http://codereview.chromium.org/198011/diff/1003/1005 File base/thread.h (right): http://codereview.chromium.org/198011/diff/1003/1005#newcode128 Line 128: virtual void Run(MessageLoop& MessageLoop); On 2009/09/04 19:32:43, darin ...
11 years, 3 months ago (2009-09-05 00:07:03 UTC) #3
darin (slow to review)
http://codereview.chromium.org/198011/diff/6001/7003 File chrome/browser/history/history.cc (right): http://codereview.chromium.org/198011/diff/6001/7003#newcode101 Line 101: namespace { nit: move this anonymous namespace section ...
11 years, 3 months ago (2009-09-08 16:48:54 UTC) #4
huanr
http://codereview.chromium.org/198011/diff/6001/7003 File chrome/browser/history/history.cc (right): http://codereview.chromium.org/198011/diff/6001/7003#newcode101 Line 101: namespace { On 2009/09/08 16:48:54, darin wrote: > ...
11 years, 3 months ago (2009-09-08 17:35:43 UTC) #5
darin (slow to review)
LGTM
11 years, 3 months ago (2009-09-09 17:56:30 UTC) #6
tim (not reviewing)
This cl broke the sync integration tests :( A long time ago I landed http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/history/history.cc?r1=13703&r2=13702&pathrev=13703, ...
11 years, 3 months ago (2009-09-17 22:05:36 UTC) #7
huanr
This change is to log history activities. It will be in dev channel for some ...
11 years, 3 months ago (2009-09-18 00:10:11 UTC) #8
tim (not reviewing)
11 years, 3 months ago (2009-09-18 14:07:29 UTC) #9
On Thu, Sep 17, 2009 at 5:10 PM, <huanr@chromium.org> wrote:

> This change is to log history activities. It will be in dev channel for
> some
> time, probably two weeks, and get reverted. I will think of some way to fix
> it
> if this timeline does not work for sync tests.
>
> Regarding the change, Darin was asking about why ChromeThread is not used
> for
> history during the code review, and Brett was surprised about it too. So
> you may
> want to have good comment somewhere to prevent ChromeThread::HISTORY from
> being
> added back.


Yeah, that and/or somehow re-enable the ProfileManager test.  We
run our sync tests regularly on a buildbot, but we had a bit of a gap
recently due to all our code shuffling around and changing
repositories.     We have a pretty substantial update coming for next
week's dev channel release so it would be nice to have our tests
running
:\  At the very least it seems like if I just inherit from Thread vs
ChromeThread for ChromeHistoryThread I could squeak by and run the tests
locally.  Not sure how to verify that the logging still works.  There's a
thread on chromium-dev discussing the change I made, if you're interested
search for 'question on profiles & ChromeThread'.


>
> http://codereview.chromium.org/198011
>

Powered by Google App Engine
This is Rietveld 408576698