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

Issue 7863009: Replace ancient crufty AppCacheThread with much improved MessageLoopProxy usage. (Closed)

Created:
9 years, 3 months ago by michaeln
Modified:
9 years, 3 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, pam+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Replace ancient crufty AppCacheThread with much improved MessageLoopProxy usage. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100726

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -226 lines) Patch
M content/browser/appcache/chrome_appcache_service.cc View 1 2 3 4 chunks +1 line, -35 lines 0 comments Download
M webkit/appcache/appcache_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/appcache/appcache_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/appcache/appcache_storage_impl.h View 2 chunks +7 lines, -1 line 0 comments Download
M webkit/appcache/appcache_storage_impl.cc View 1 2 3 4 9 chunks +21 lines, -14 lines 0 comments Download
M webkit/appcache/appcache_storage_impl_unittest.cc View 4 chunks +1 line, -35 lines 0 comments Download
D webkit/appcache/appcache_thread.h View 1 chunk +0 lines, -52 lines 0 comments Download
D webkit/appcache/appcache_thread.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M webkit/appcache/webkit_appcache.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/simple_appcache_system.h View 4 chunks +0 lines, -42 lines 0 comments Download
M webkit/tools/test_shell/simple_appcache_system.cc View 4 chunks +2 lines, -31 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
michaeln
Hi Dirk, I still have to update more unittests for the new Intialize signature, but ...
9 years, 3 months ago (2011-09-09 21:34:05 UTC) #1
michaeln
ptal... looks like we got lucky on how widely the Initialize signature change would ripple ...
9 years, 3 months ago (2011-09-09 22:05:53 UTC) #2
Dirk Pranke
LGTM. Definitely better than my patch, and it's nice that we can get rid of ...
9 years, 3 months ago (2011-09-09 22:40:19 UTC) #3
michaeln
thnx! looks like i have to tweek something to make the chrome_appcache_service_unittest happy... its just ...
9 years, 3 months ago (2011-09-09 23:25:36 UTC) #4
michaeln
9 years, 3 months ago (2011-09-09 23:32:46 UTC) #5
> if i have to change anything interesting, i'll ask you to take another look

nothing interesting, the unittest uses the same thread for the IO and DB
threads, so this DCHECK that's executed on the db thread isn't valid in that
environment.

  DCHECK(!io_thread_->BelongsToCurrentThread())

it's phrased as NOT because there's no need for a db_thread ref in this class
(other than perhaps to make this assertion in the positive).

i'll just remove the DCHECK

Powered by Google App Engine
This is Rietveld 408576698