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

Issue 1419473005: Fix task concurrency in components/update_client (Closed)

Created:
5 years, 1 month ago by Sorin Jianu
Modified:
5 years, 1 month ago
Reviewers:
waffles, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix task concurrency in components/update_client 1. Only dequeue pending tasks when no other tasks are running. 2. Use the running tasks list to accept or reject a foreground task. BUG=549305 Committed: https://crrev.com/08d153c2a2964510cff3d5e9f4f46d19b94e4f5c Cr-Commit-Position: refs/heads/master@{#356992}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -28 lines) Patch
M components/update_client/task.h View 2 chunks +6 lines, -0 lines 0 comments Download
M components/update_client/task_update.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/update_client/task_update.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/update_client/update_client.h View 2 chunks +16 lines, -6 lines 0 comments Download
M components/update_client/update_client.cc View 1 5 chunks +17 lines, -3 lines 2 comments Download
M components/update_client/update_client_internal.h View 1 2 1 chunk +9 lines, -2 lines 0 comments Download
M components/update_client/update_client_unittest.cc View 1 chunk +114 lines, -0 lines 0 comments Download
M components/update_client/update_engine.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/update_client/update_engine.cc View 1 chunk +0 lines, -14 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Sorin Jianu
5 years, 1 month ago (2015-10-29 22:44:28 UTC) #2
waffles
lgtm https://codereview.chromium.org/1419473005/diff/20001/components/update_client/update_client_internal.h File components/update_client/update_client_internal.h (right): https://codereview.chromium.org/1419473005/diff/20001/components/update_client/update_client_internal.h#newcode68 components/update_client/update_client_internal.h:68: // Contains the tasks that are queued up. ...
5 years, 1 month ago (2015-10-29 22:59:33 UTC) #3
Sorin Jianu
ty, all done.
5 years, 1 month ago (2015-10-29 23:04:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1419473005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1419473005/40001
5 years, 1 month ago (2015-10-29 23:07:07 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-10-30 00:04:26 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/08d153c2a2964510cff3d5e9f4f46d19b94e4f5c Cr-Commit-Position: refs/heads/master@{#356992}
5 years, 1 month ago (2015-10-30 00:05:37 UTC) #9
Nico
https://codereview.chromium.org/1419473005/diff/40001/components/update_client/update_client.cc File components/update_client/update_client.cc (right): https://codereview.chromium.org/1419473005/diff/40001/components/update_client/update_client.cc#newcode185 components/update_client/update_client.cc:185: if (std::find(std::begin(ids), std::end(ids), id) != std::end(ids)) { chromium-cpp.appspot.com says ...
5 years, 1 month ago (2015-11-04 23:31:25 UTC) #11
Sorin Jianu
Will do. https://codereview.chromium.org/1419473005/diff/40001/components/update_client/update_client.cc File components/update_client/update_client.cc (right): https://codereview.chromium.org/1419473005/diff/40001/components/update_client/update_client.cc#newcode185 components/update_client/update_client.cc:185: if (std::find(std::begin(ids), std::end(ids), id) != std::end(ids)) { ...
5 years, 1 month ago (2015-11-04 23:37:00 UTC) #12
Sorin Jianu
5 years, 1 month ago (2015-11-04 23:37:03 UTC) #13
Message was sent while issue was closed.
Will do.

Powered by Google App Engine
This is Rietveld 408576698