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

Issue 2921343002: Improve documentation and tests for base::OnTaskRunnerDeleter. (Closed)

Created:
3 years, 6 months ago by gab
Modified:
3 years, 6 months ago
Reviewers:
Lei Zhang, danakj, jam, tzik
CC:
chromium-reviews, jam, danakj+watch_chromium.org, darin-cc_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve documentation and tests for base::OnTaskRunnerDeleter. And cross-documentation from BrowserThread::DeleteOnThread (ref. crbug.com/729210). Modernized the tests while trying to make OnTaskRunnerDeleter work for RefCounted until I realized it wouldn't work as-is, still better than nothing for now and will help cleaner follow-up. BUG=729210 Review-Url: https://codereview.chromium.org/2921343002 Cr-Commit-Position: refs/heads/master@{#477661} Committed: https://chromium.googlesource.com/chromium/src/+/98dee7702162992e0f0a605c09879f0bde1ce987

Patch Set 1 #

Patch Set 2 : rm unused include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -36 lines) Patch
M base/sequenced_task_runner.h View 2 chunks +7 lines, -0 lines 0 comments Download
M base/sequenced_task_runner_unittest.cc View 1 2 chunks +66 lines, -36 lines 0 comments Download
M content/public/browser/browser_thread.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
gab
Lei/John PTaL, thanks!
3 years, 6 months ago (2017-06-05 21:26:06 UTC) #2
gab
+Dana looks like Lei is away and you're back.. :)
3 years, 6 months ago (2017-06-06 17:54:32 UTC) #14
Lei Zhang
Adding tzik who actually wrote base/sequenced_task_runner_unittest.cc.
3 years, 6 months ago (2017-06-07 00:58:03 UTC) #16
jam
content lgtm
3 years, 6 months ago (2017-06-07 01:20:12 UTC) #17
tzik
lgtm
3 years, 6 months ago (2017-06-07 09:41:05 UTC) #18
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/2921343002/20001
3 years, 6 months ago (2017-06-07 13:26:30 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 15:49:18 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/98dee7702162992e0f0a605c0987...

Powered by Google App Engine
This is Rietveld 408576698