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

Issue 22363005: Switch BaseSessionService to use SequencedWorkerPool instead of FILE thread (Closed)

Created:
7 years, 4 months ago by oshima
Modified:
7 years, 4 months ago
CC:
chromium-reviews, marja+watch_chromium.org, cbentzel+watch_chromium.org, erikwright+watch_chromium.org
Visibility:
Public.

Description

Switch BaseSessionService to use SequencedWorkerPool instead of FILE thread Removed RunningInProduction and changed SessionServiceTestHelper to flush IO tasks when service is deleted. BUG=261414 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217003

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : flush tasks in test #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : add dcheck #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -37 lines) Patch
M chrome/browser/sessions/base_session_service.h View 1 2 3 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/sessions/base_session_service.cc View 1 2 3 4 2 chunks +12 lines, -20 lines 0 comments Download
M chrome/browser/sessions/persistent_tab_restore_service_browsertest.cc View 1 2 3 4 5 6 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_service_test_helper.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sessions/session_service_test_helper.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_service_unittest.cc View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
M content/browser/web_contents/navigation_controller_impl_unittest.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
oshima
7 years, 4 months ago (2013-08-08 18:44:24 UTC) #1
marja
Some questions (also, I'm on utc+1, I might not have a chance to have another ...
7 years, 4 months ago (2013-08-08 20:16:43 UTC) #2
oshima
https://codereview.chromium.org/22363005/diff/8001/chrome/browser/sessions/base_session_service.cc File chrome/browser/sessions/base_session_service.cc (right): https://codereview.chromium.org/22363005/diff/8001/chrome/browser/sessions/base_session_service.cc#newcode321 chrome/browser/sessions/base_session_service.cc:321: return profile_ && !pool->IsShutdownInProgress(); On 2013/08/08 20:16:43, marja wrote: ...
7 years, 4 months ago (2013-08-08 20:36:53 UTC) #3
oshima
On 2013/08/08 20:16:43, marja wrote: > Some questions (also, I'm on utc+1, I might not ...
7 years, 4 months ago (2013-08-08 20:44:29 UTC) #4
marja
Thanks for your answers and for working on this! My understanding is that: - normally ...
7 years, 4 months ago (2013-08-09 07:57:31 UTC) #5
oshima
On 2013/08/09 07:57:31, marja wrote: > Thanks for your answers and for working on this! ...
7 years, 4 months ago (2013-08-09 11:01:06 UTC) #6
oshima
On 2013/08/09 11:01:06, oshima wrote: > On 2013/08/09 07:57:31, marja wrote: > > Thanks for ...
7 years, 4 months ago (2013-08-09 11:01:53 UTC) #7
marja
Still lgtm. Thanks for doing this; I'm glad that we have one less "if running ...
7 years, 4 months ago (2013-08-09 11:38:12 UTC) #8
oshima
jochen -> content/browser/web_contents
7 years, 4 months ago (2013-08-09 11:40:05 UTC) #9
jochen (gone - plz use gerrit)
https://chromiumcodereview.appspot.com/22363005/diff/26001/chrome/browser/sessions/base_session_service.cc File chrome/browser/sessions/base_session_service.cc (right): https://chromiumcodereview.appspot.com/22363005/diff/26001/chrome/browser/sessions/base_session_service.cc#newcode303 chrome/browser/sessions/base_session_service.cc:303: task.Run(); that means that the tasks will ran in ...
7 years, 4 months ago (2013-08-09 11:49:56 UTC) #10
oshima
On 2013/08/09 11:49:56, jochen wrote: > https://chromiumcodereview.appspot.com/22363005/diff/26001/chrome/browser/sessions/base_session_service.cc > File chrome/browser/sessions/base_session_service.cc (right): > > https://chromiumcodereview.appspot.com/22363005/diff/26001/chrome/browser/sessions/base_session_service.cc#newcode303 > ...
7 years, 4 months ago (2013-08-09 15:34:54 UTC) #11
jochen (gone - plz use gerrit)
lgtm
7 years, 4 months ago (2013-08-09 16:33:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/22363005/35001
7 years, 4 months ago (2013-08-09 16:41:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/22363005/56001
7 years, 4 months ago (2013-08-12 05:18:33 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=186381
7 years, 4 months ago (2013-08-12 07:33:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/22363005/72001
7 years, 4 months ago (2013-08-12 14:27:59 UTC) #16
commit-bot: I haz the power
7 years, 4 months ago (2013-08-12 15:49:35 UTC) #17
Message was sent while issue was closed.
Change committed as 217003

Powered by Google App Engine
This is Rietveld 408576698