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

Issue 2628903002: Change DONT_START_THREADS to DONT_CREATE_THREADS in TestBrowserThreadBundle. (Closed)

Created:
3 years, 11 months ago by fdoray
Modified:
3 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change DONT_START_THREADS to DONT_CREATE_THREADS in TestBrowserThreadBundle. In a real browser process, threads are started as BrowserThreadImpl objects are created. TestBrowserThreadBundle should do the same. This is a pre-requisite to add the option to create a real TaskScheduler in TestBrowserThreadBundle, because TaskScheduler has to be created and started at the same time. BUG=659191 Review-Url: https://codereview.chromium.org/2628903002 Cr-Commit-Position: refs/heads/master@{#443536} Committed: https://chromium.googlesource.com/chromium/src/+/93605d248126928596c785734491ea7b8ea1b7cf

Patch Set 1 #

Patch Set 2 : fix build error #

Patch Set 3 : fix build error #

Patch Set 4 : fix test error #

Patch Set 5 : fix test error #

Total comments: 10

Patch Set 6 : CR gab #23 #

Patch Set 7 : CR gab #27 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -36 lines) Patch
M chrome/browser/io_thread_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/test/test_browser_thread_bundle.h View 1 2 3 4 5 3 chunks +9 lines, -11 lines 0 comments Download
M content/public/test/test_browser_thread_bundle.cc View 1 2 3 4 5 6 4 chunks +22 lines, -23 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 42 (34 generated)
fdoray
PTAL
3 years, 11 months ago (2017-01-12 15:10:57 UTC) #22
gab
https://codereview.chromium.org/2628903002/diff/80001/content/public/test/test_browser_thread_bundle.cc File content/public/test/test_browser_thread_bundle.cc (right): https://codereview.chromium.org/2628903002/diff/80001/content/public/test/test_browser_thread_bundle.cc#newcode80 content/public/test/test_browser_thread_bundle.cc:80: new TestBrowserThread(BrowserThread::UI, message_loop_.get())); Why is the UI thread unconditionally ...
3 years, 11 months ago (2017-01-12 19:47:36 UTC) #23
fdoray
PTAnL https://codereview.chromium.org/2628903002/diff/80001/content/public/test/test_browser_thread_bundle.cc File content/public/test/test_browser_thread_bundle.cc (right): https://codereview.chromium.org/2628903002/diff/80001/content/public/test/test_browser_thread_bundle.cc#newcode80 content/public/test/test_browser_thread_bundle.cc:80: new TestBrowserThread(BrowserThread::UI, message_loop_.get())); On 2017/01/12 19:47:35, gab wrote: ...
3 years, 11 months ago (2017-01-12 19:59:10 UTC) #25
gab
https://codereview.chromium.org/2628903002/diff/80001/content/public/test/test_browser_thread_bundle.cc File content/public/test/test_browser_thread_bundle.cc (right): https://codereview.chromium.org/2628903002/diff/80001/content/public/test/test_browser_thread_bundle.cc#newcode80 content/public/test/test_browser_thread_bundle.cc:80: new TestBrowserThread(BrowserThread::UI, message_loop_.get())); On 2017/01/12 19:59:10, fdoray wrote: > ...
3 years, 11 months ago (2017-01-12 20:13:27 UTC) #27
fdoray
jochen@: PTAL https://codereview.chromium.org/2628903002/diff/80001/content/public/test/test_browser_thread_bundle.cc File content/public/test/test_browser_thread_bundle.cc (right): https://codereview.chromium.org/2628903002/diff/80001/content/public/test/test_browser_thread_bundle.cc#newcode80 content/public/test/test_browser_thread_bundle.cc:80: new TestBrowserThread(BrowserThread::UI, message_loop_.get())); On 2017/01/12 20:13:27, gab ...
3 years, 11 months ago (2017-01-12 21:02:56 UTC) #32
jochen (gone - plz use gerrit)
lgtm
3 years, 11 months ago (2017-01-13 08:45:45 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2628903002/120001
3 years, 11 months ago (2017-01-13 12:14:10 UTC) #39
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 12:18:03 UTC) #42
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/93605d248126928596c785734491...

Powered by Google App Engine
This is Rietveld 408576698