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

Issue 2831183004: Bind ModelLoader to a sequence, not a thread. (Closed)

Created:
3 years, 8 months ago by Joe Mason
Modified:
3 years, 7 months ago
Reviewers:
gab, Jialiu Lin
CC:
chromium-reviews, grt+watch_chromium.org, timvolodine, vakh+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Bind ModelLoader to a sequence, not a thread. BUG=714191 Review-Url: https://codereview.chromium.org/2831183004 Cr-Commit-Position: refs/heads/master@{#468252} Committed: https://chromium.googlesource.com/chromium/src/+/d38126b6c8415249dd4a8d347d47c13d06831c0d

Patch Set 1 #

Patch Set 2 : Fix typo #

Patch Set 3 : Add missed sequence check #

Total comments: 14

Patch Set 4 : Simplify #

Patch Set 5 : Move WeakPtrFactory to end #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -8 lines) Patch
M chrome/browser/safe_browsing/client_side_model_loader.h View 1 2 3 4 5 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_model_loader.cc View 1 2 3 6 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
Joe Mason
3 years, 8 months ago (2017-04-21 21:46:05 UTC) #2
gab
Re. "not a thread" in CL desc. I don't see how it was previously bound ...
3 years, 8 months ago (2017-04-25 14:34:09 UTC) #3
Joe Mason
On 2017/04/25 14:34:09, gab wrote: > Re. "not a thread" in CL desc. I don't ...
3 years, 8 months ago (2017-04-25 18:05:39 UTC) #4
Joe Mason
https://codereview.chromium.org/2831183004/diff/40001/chrome/browser/safe_browsing/client_side_model_loader.cc File chrome/browser/safe_browsing/client_side_model_loader.cc (right): https://codereview.chromium.org/2831183004/diff/40001/chrome/browser/safe_browsing/client_side_model_loader.cc#newcode101 chrome/browser/safe_browsing/client_side_model_loader.cc:101: const std::string& model_name) On 2017/04/25 14:34:08, gab wrote: > ...
3 years, 8 months ago (2017-04-25 18:05:48 UTC) #5
gab
https://codereview.chromium.org/2831183004/diff/40001/chrome/browser/safe_browsing/client_side_model_loader.cc File chrome/browser/safe_browsing/client_side_model_loader.cc (right): https://codereview.chromium.org/2831183004/diff/40001/chrome/browser/safe_browsing/client_side_model_loader.cc#newcode101 chrome/browser/safe_browsing/client_side_model_loader.cc:101: const std::string& model_name) On 2017/04/25 18:05:48, Joe Mason wrote: ...
3 years, 8 months ago (2017-04-25 18:38:27 UTC) #6
Joe Mason
+jialul for OWNERS review. Do you have any opinions on the ModelLoader destruction sequence we're ...
3 years, 7 months ago (2017-04-28 13:54:19 UTC) #8
gab
https://codereview.chromium.org/2831183004/diff/40001/chrome/browser/safe_browsing/client_side_model_loader.cc File chrome/browser/safe_browsing/client_side_model_loader.cc (right): https://codereview.chromium.org/2831183004/diff/40001/chrome/browser/safe_browsing/client_side_model_loader.cc#newcode101 chrome/browser/safe_browsing/client_side_model_loader.cc:101: const std::string& model_name) On 2017/04/28 13:54:19, Joe Mason wrote: ...
3 years, 7 months ago (2017-04-28 16:29:53 UTC) #9
Jialiu Lin
https://codereview.chromium.org/2831183004/diff/40001/chrome/browser/safe_browsing/client_side_model_loader.cc File chrome/browser/safe_browsing/client_side_model_loader.cc (right): https://codereview.chromium.org/2831183004/diff/40001/chrome/browser/safe_browsing/client_side_model_loader.cc#newcode211 chrome/browser/safe_browsing/client_side_model_loader.cc:211: // called on the same sequence because it invalidates ...
3 years, 7 months ago (2017-04-28 17:52:47 UTC) #10
Joe Mason
https://codereview.chromium.org/2831183004/diff/40001/chrome/browser/safe_browsing/client_side_model_loader.cc File chrome/browser/safe_browsing/client_side_model_loader.cc (right): https://codereview.chromium.org/2831183004/diff/40001/chrome/browser/safe_browsing/client_side_model_loader.cc#newcode101 chrome/browser/safe_browsing/client_side_model_loader.cc:101: const std::string& model_name) On 2017/04/28 16:29:53, gab wrote: > ...
3 years, 7 months ago (2017-04-28 19:43:55 UTC) #11
Jialiu Lin
lgtm
3 years, 7 months ago (2017-04-28 19:44:58 UTC) #12
gab
lgtm
3 years, 7 months ago (2017-04-28 19:47:58 UTC) #13
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/2831183004/60001
3 years, 7 months ago (2017-04-28 19:50:18 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/63760) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-04-28 20:01:16 UTC) #17
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/2831183004/80001
3 years, 7 months ago (2017-04-30 03:08:07 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-04-30 03:55:11 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/d38126b6c8415249dd4a8d347d47...

Powered by Google App Engine
This is Rietveld 408576698