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

Issue 2325563003: [Offline Pages] Close race condition of multiple StartProcessing callers. (Closed)

Created:
4 years, 3 months ago by dewittj
Modified:
4 years, 3 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2840
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Close race condition of multiple StartProcessing callers. Introduces new bool to track the starting/picking phase so that we avoid concurrent pickers (and not overwrite the schedule_callback) in order to also avoid the DCHECK that guards concurrent SendRequestToOffliner calls. BUG=643455 Review-Url: https://codereview.chromium.org/2317893002 Cr-Commit-Position: refs/heads/master@{#416957} (cherry picked from commit 81356643cfe6ffe145741fb4b8fef53a3db86a50) R=dougarnett@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/f68a8dfdcc256445b040cb9cf0f447e1b8e39de7

Patch Set 1 #

Messages

Total messages: 10 (4 generated)
dewittj
ptal, this is the merge candidate
4 years, 3 months ago (2016-09-08 18:44:28 UTC) #3
dougarnett
Justin, did you happen to grab any of the conflict detail?
4 years, 3 months ago (2016-09-08 18:57:54 UTC) #5
dougarnett
This look like a good change but I didn't see where there might have been ...
4 years, 3 months ago (2016-09-08 19:50:08 UTC) #6
dougarnett
lgtm I think I get it now
4 years, 3 months ago (2016-09-08 19:55:06 UTC) #7
dewittj
On 2016/09/08 19:55:06, dougarnett wrote: > lgtm > > I think I get it now ...
4 years, 3 months ago (2016-09-08 20:07:11 UTC) #8
dewittj
4 years, 3 months ago (2016-09-08 20:25:17 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
f68a8dfdcc256445b040cb9cf0f447e1b8e39de7.

Powered by Google App Engine
This is Rietveld 408576698