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

Issue 2338733002: Use TestSimpleTaskRunner::HasPendingTask instead of GetPendingTasks().empty() (Closed)

Created:
4 years, 3 months ago by tzik
Modified:
4 years, 3 months ago
CC:
chromium-reviews, Peter Beverloo, chromium-apps-reviews_chromium.org, mlamouri+watch-notifications_chromium.org, awdf+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TestSimpleTaskRunner::HasPendingTask instead of GetPendingTasks().empty() TestSimpleTaskRunner::GetPendingTasks returns a full copy of the queued pending tasks, which is less clean, and also that prevents a refactoring that makes tasks move-only. This CL replaces them with an equivalent HasPendingTask to avoid the copy. BUG=554299 Committed: https://crrev.com/d3dd000ce7ea4854818f23ee10c68d0c86f95565 Cr-Commit-Position: refs/heads/master@{#420034}

Patch Set 1 #

Patch Set 2 : +bluetooth_adapter_mac_unittest.mm #

Patch Set 3 : +chrome/browser/chromeos/policy/ #

Patch Set 4 : fix #

Patch Set 5 : +bluetooth_adapter_win_unittest.cc #

Messages

Total messages: 30 (21 generated)
tzik
PTAL
4 years, 3 months ago (2016-09-13 08:12:27 UTC) #5
tzik
+scheib as a //device/bluetooth OWNER. PTAL.
4 years, 3 months ago (2016-09-13 11:47:23 UTC) #15
stevenjb
c/b/chromeos lgtm
4 years, 3 months ago (2016-09-13 15:21:34 UTC) #20
scheib
LGTM
4 years, 3 months ago (2016-09-13 20:03:37 UTC) #21
tzik
Adding pastarmovj@ as a policy/ OWNER. Could you take a look?
4 years, 3 months ago (2016-09-20 06:44:45 UTC) #23
pastarmovj
lgtm
4 years, 3 months ago (2016-09-21 09:28:46 UTC) #24
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/2338733002/80001
4 years, 3 months ago (2016-09-21 10:11:09 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-21 13:26:39 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 13:28:38 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d3dd000ce7ea4854818f23ee10c68d0c86f95565
Cr-Commit-Position: refs/heads/master@{#420034}

Powered by Google App Engine
This is Rietveld 408576698