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

Issue 2916303002: ThreadChecker instead of SequenceChecker in classes that use TLS. (Closed)

Created:
3 years, 6 months ago by gab
Modified:
3 years, 6 months ago
Reviewers:
jianli, Scott Byer
CC:
chromium-reviews, darin-cc_chromium.org, jam, kinuko+fileapi, nhiroki, tzik
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ThreadChecker instead of SequenceChecker in classes that use TLS. A few incorrect SequenceChecker slipped through reviews in mass migration of base::NonThreadSafe. As documented on those CLs, usage of ThreadLocalStorage requires thread-affinity (ThreadChecker instead of SequenceChecker). BUG=676387 Review-Url: https://codereview.chromium.org/2916303002 Cr-Commit-Position: refs/heads/master@{#476742} Committed: https://chromium.googlesource.com/chromium/src/+/17bf185c1ff5d8cc7f3a9d501e140136e3482911

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -12 lines) Patch
M chrome/service/cloud_print/cloud_print_token_store.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/service/cloud_print/cloud_print_token_store.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/child/fileapi/webfilesystem_impl.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/child/fileapi/webfilesystem_impl.cc View 3 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
gab
Just surveyed the codebase for mix of SequenceChecker and ThreadLocal in the same file. @jianli: ...
3 years, 6 months ago (2017-06-02 14:48:02 UTC) #5
Scott Byer
lgtm
3 years, 6 months ago (2017-06-02 15:41:43 UTC) #10
jianli
fileapi lgtm
3 years, 6 months ago (2017-06-02 18:55:20 UTC) #13
gab
@scottbyer: see note below about usage of TLS in chrome/service/cloud_print/cloud_print_token_store.cc being overkill IMO Thanks! Gab ...
3 years, 6 months ago (2017-06-02 18:59:05 UTC) #14
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/2916303002/20001
3 years, 6 months ago (2017-06-02 18:59:52 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 19:05:58 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/17bf185c1ff5d8cc7f3a9d501e14...

Powered by Google App Engine
This is Rietveld 408576698