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

Issue 5024003: Reland r65996. Disallows Singletons on non-joinable thread. (Closed)

Created:
10 years, 1 month ago by willchan no longer on Chromium
Modified:
9 years, 7 months ago
Reviewers:
wtc
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, Paweł Hajdan Jr., pam+watch_chromium.org, brettw-cc_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Reland r65996. Disallows Singletons on non-joinable thread. Test breakages caused by this change have been fixed here or in other changelists. BUG=61753 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66719

Patch Set 1 #

Patch Set 2 : Reland. #

Patch Set 3 : Changes #

Patch Set 4 : Don't DCHECK(!MessageLoop::current()) #

Patch Set 5 : More fixes. #

Total comments: 2

Patch Set 6 : Don't change windows API #

Patch Set 7 : Allow another use that should be fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -99 lines) Patch
M base/lazy_instance.h View 2 4 chunks +10 lines, -1 line 0 comments Download
M base/platform_thread_posix.cc View 3 chunks +26 lines, -7 lines 0 comments Download
M base/platform_thread_win.cc View 2 3 4 5 3 chunks +52 lines, -22 lines 0 comments Download
M base/singleton.h View 5 chunks +11 lines, -0 lines 0 comments Download
M base/thread_restrictions.h View 2 3 chunks +32 lines, -3 lines 0 comments Download
M base/thread_restrictions.cc View 2 2 chunks +21 lines, -2 lines 0 comments Download
M base/tracked_objects.cc View 4 chunks +22 lines, -5 lines 0 comments Download
M ceee/ie/broker/executors_manager.h View 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/browser_thread.cc View 3 chunks +11 lines, -0 lines 0 comments Download
M net/base/dns_reload_timer.cc View 3 chunks +12 lines, -4 lines 0 comments Download
M net/base/ev_root_ca_metadata.h View 2 chunks +4 lines, -2 lines 0 comments Download
M net/base/ev_root_ca_metadata.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M net/base/keygen_handler_unittest.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M net/base/x509_certificate.h View 1 chunk +0 lines, -2 lines 0 comments Download
M net/base/x509_certificate.cc View 2 10 chunks +26 lines, -28 lines 0 comments Download
M net/base/x509_certificate_mac.cc View 6 chunks +12 lines, -7 lines 0 comments Download
M net/ocsp/nss_ocsp.cc View 4 9 chunks +2 lines, -9 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
willchan no longer on Chromium
wtc: This address your comments.
10 years, 1 month ago (2010-11-16 23:36:01 UTC) #1
wtc
LGTM. http://codereview.chromium.org/5024003/diff/11001/base/platform_thread_win.cc File base/platform_thread_win.cc (right): http://codereview.chromium.org/5024003/diff/11001/base/platform_thread_win.cc#newcode77 base/platform_thread_win.cc:77: bool PlatformThread::Create(size_t stack_size, Delegate* delegate, You should document ...
10 years, 1 month ago (2010-11-17 01:56:18 UTC) #2
willchan no longer on Chromium
http://codereview.chromium.org/5024003/diff/11001/base/platform_thread_win.cc File base/platform_thread_win.cc (right): http://codereview.chromium.org/5024003/diff/11001/base/platform_thread_win.cc#newcode77 base/platform_thread_win.cc:77: bool PlatformThread::Create(size_t stack_size, Delegate* delegate, On 2010/11/17 01:56:18, wtc ...
10 years, 1 month ago (2010-11-17 19:03:26 UTC) #3
wtc
LGTM.
10 years, 1 month ago (2010-11-17 19:09:54 UTC) #4
wtc
10 years, 1 month ago (2010-11-18 22:31:49 UTC) #5
willchan: the new change to chrome/browser/browser_thread.cc
in Patch Set 7 looks good to me.

Powered by Google App Engine
This is Rietveld 408576698