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

Issue 8366020: Create a secondary file thread, FILE_USER_BLOCKING... (Closed)

Created:
9 years, 2 months ago by michaeln
Modified:
9 years ago
CC:
chromium-reviews, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Create a secondary file thread, FILE_USER_BLOCKING, for tasks requiring file IO which have user waiting for the results. Process appcache background tasks on that thread. BUG=68894, 78359 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113317

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 7

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 2

Patch Set 17 : '' #

Patch Set 18 : '' #

Patch Set 19 : '' #

Patch Set 20 : '' #

Patch Set 21 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -5 lines) Patch
M chrome/browser/extensions/extension_service_unittest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/metrics/thread_watcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +10 lines, -0 lines 0 comments Download
M content/browser/appcache/chrome_appcache_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +5 lines, -3 lines 0 comments Download
M content/browser/appcache/chrome_appcache_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/browser_main_loop.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/browser_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/browser_thread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
michaeln
also intend to make more use of this thread for filestream backed response storage, will ...
9 years, 2 months ago (2011-10-21 01:32:42 UTC) #1
michaeln
i still have to fixup some unittests with mock APPCACHE threads
9 years, 2 months ago (2011-10-21 02:24:43 UTC) #2
michaeln
new snapshot with some fixed up unittests
9 years, 2 months ago (2011-10-21 19:34:55 UTC) #3
rvargas (doing something else)
http://codereview.chromium.org/8366020/diff/3019/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): http://codereview.chromium.org/8366020/diff/3019/chrome/browser/browser_process_impl.cc#newcode921 chrome/browser/browser_process_impl.cc:921: new BrowserThread(BrowserThread::APPCACHE)); Just double checking that you don't intend ...
9 years, 2 months ago (2011-10-21 19:46:17 UTC) #4
michaeln
http://codereview.chromium.org/8366020/diff/3019/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): http://codereview.chromium.org/8366020/diff/3019/chrome/browser/browser_process_impl.cc#newcode921 chrome/browser/browser_process_impl.cc:921: new BrowserThread(BrowserThread::APPCACHE)); On 2011/10/21 19:46:17, rvargas wrote: > Just ...
9 years, 2 months ago (2011-10-21 19:52:12 UTC) #5
michaeln
changed the ordering of APPCACHE and CACHE threads
9 years, 2 months ago (2011-10-21 20:03:47 UTC) #6
michaeln
tryjobs with the original ordering look good (patch set 8), starting some jobs with the ...
9 years, 2 months ago (2011-10-21 21:15:43 UTC) #7
michaeln
On 2011/10/21 21:15:43, michaeln wrote: > tryjobs with the original ordering look good (patch set ...
9 years, 2 months ago (2011-10-21 22:23:17 UTC) #8
rvargas (doing something else)
LGTM (not content owner)
9 years, 2 months ago (2011-10-21 23:11:16 UTC) #9
michaeln
@darin, can you do the content review thing?
9 years, 2 months ago (2011-10-21 23:33:50 UTC) #10
michaeln
@darin, ping
9 years, 2 months ago (2011-10-24 19:01:19 UTC) #11
michaeln
jam, here's the CL i was talking to you about yesterday evening
9 years, 2 months ago (2011-10-25 19:48:33 UTC) #12
jam
just commented on http://code.google.com/p/chromium/issues/detail?id=101602 about this, can we have this conversation in that bug and ...
9 years, 2 months ago (2011-10-25 23:55:49 UTC) #13
jam
can we make this more generic, i.e. FILE_USER_BLOCKING (please suggest better names if you have ...
9 years, 1 month ago (2011-11-21 16:47:17 UTC) #14
michaeln
On 2011/11/21 16:47:17, John Abd-El-Malek wrote: > can we make this more generic, i.e. FILE_USER_BLOCKING ...
9 years, 1 month ago (2011-11-21 21:00:59 UTC) #15
michaeln
ping > sure... i'll update the CL and ping you
9 years, 1 month ago (2011-11-23 00:10:20 UTC) #16
michaeln
Looks like I have to poke at chromeframe to start the new thread there too? ...
9 years, 1 month ago (2011-11-23 18:37:26 UTC) #17
jam
On 2011/11/23 18:37:26, michaeln wrote: > Looks like I have to poke at chromeframe to ...
9 years, 1 month ago (2011-11-23 18:49:21 UTC) #18
michaeln
i see the fake_external_tab.cc thing that i missed
9 years, 1 month ago (2011-11-23 19:12:25 UTC) #19
michaeln
ptal, merged with joi's changes
9 years ago (2011-11-29 02:43:11 UTC) #20
jam
http://codereview.chromium.org/8366020/diff/38005/chrome/browser/browser_process.h File chrome/browser/browser_process.h (right): http://codereview.chromium.org/8366020/diff/38005/chrome/browser/browser_process.h#newcode129 chrome/browser/browser_process.h:129: virtual base::Thread* file_user_blocking_thread() = 0; Joi is actually planning ...
9 years ago (2011-11-29 17:31:09 UTC) #21
michaeln
http://codereview.chromium.org/8366020/diff/38005/chrome/browser/browser_process.h File chrome/browser/browser_process.h (right): http://codereview.chromium.org/8366020/diff/38005/chrome/browser/browser_process.h#newcode129 chrome/browser/browser_process.h:129: virtual base::Thread* file_user_blocking_thread() = 0; On 2011/11/29 17:31:09, John ...
9 years ago (2011-11-29 21:05:28 UTC) #22
jam
9 years ago (2011-11-30 21:52:06 UTC) #23
lgtm

Powered by Google App Engine
This is Rietveld 408576698