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

Issue 2599593002: Fix for crbug.com/675863 - don't clobber PAUSE state. (Closed)

Created:
4 years ago by Pete Williamson
Modified:
4 years ago
Reviewers:
dewittj
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/branch-heads/2924
Project:
chromium
Visibility:
Public.

Description

Fix for crbug.com/675863 - don't clobber PAUSE state. When making a page available for offlining, we were clobbering the pause state. We now check to only change the state to AVAILABLE if it was previously OFFLINING, allowing the PAUSE state to remain unchanged. Original change this was cherry picked from: Review-Url: https://codereview.chromium.org/2598573003 Cr-Commit-Position: refs/heads/master@{#440212} (manually cherry picked from commit ff7cfc31cc358e47ed3b311a97fb6f9a728507dc) BUG=675863 R=dewittj@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/2dddbcafe16533b7f638a8a0fa8155267b3cbb52

Patch Set 1 #

Patch Set 2 : Add unit test back in. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -3 lines) Patch
M components/offline_pages/background/mark_attempt_aborted_task_unittest.cc View 1 2 chunks +43 lines, -0 lines 0 comments Download
M components/offline_pages/background/save_page_request.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/offline_pages/background/save_page_request.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
Pete Williamson
This is just landing the patch we already checked into M57 onto M56. I left ...
4 years ago (2016-12-22 00:09:42 UTC) #2
dewittj
I think including the unit test is important; the build will break if something goes ...
4 years ago (2016-12-22 00:14:07 UTC) #3
Pete Williamson
Added unit test back in. See if you like the format for the description, I ...
4 years ago (2016-12-22 00:36:54 UTC) #5
dewittj
I think you only need to include the first block, the rest is added by ...
4 years ago (2016-12-22 00:42:41 UTC) #6
Pete Williamson
4 years ago (2016-12-22 00:50:53 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2dddbcafe16533b7f638a8a0fa8155267b3cbb52 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698