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

Issue 2616093002: Do not start timer on when reloading a Reading List offline page on iOS. (Closed)

Created:
3 years, 11 months ago by Olivier
Modified:
3 years, 11 months ago
Reviewers:
jif
CC:
chromium-reviews, stkhapugin, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not start timer on when reloading a Reading List offline page on iOS. If a user has a distilled entry in the Reading List and is on a poor network, the distilled entry will be loaded and the user cannot access the online page. To avoid blocking the user from the up to date page, reloading a page from the offline page will not start the offline triggering timer. Reloading again from the pending loading will load back the online version. BUG=680481 Review-Url: https://codereview.chromium.org/2616093002 Cr-Commit-Position: refs/heads/master@{#443287} Committed: https://chromium.googlesource.com/chromium/src/+/3dcbdfb6ef790697a538ef3f0ab909e44af8ee5d

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 3

Patch Set 3 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -4 lines) Patch
M ios/chrome/browser/reading_list/reading_list_web_state_observer.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_web_state_observer.mm View 1 2 3 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Olivier
3 years, 11 months ago (2017-01-12 13:58:02 UTC) #3
jif
lgtm https://codereview.chromium.org/2616093002/diff/20001/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm File ios/chrome/browser/reading_list/reading_list_web_state_observer.mm (right): https://codereview.chromium.org/2616093002/diff/20001/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm#newcode180 ios/chrome/browser/reading_list/reading_list_web_state_observer.mm:180: is_reload || ui::PageTransitionCoreTypeIs(item->GetTransitionType(), Not a fan of |is_reload| ...
3 years, 11 months ago (2017-01-12 16:30:22 UTC) #4
jif
On 2017/01/12 16:30:22, jif wrote: > lgtm > > https://codereview.chromium.org/2616093002/diff/20001/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm > File ios/chrome/browser/reading_list/reading_list_web_state_observer.mm (right): > ...
3 years, 11 months ago (2017-01-12 16:33:04 UTC) #6
Olivier
Done, Thanks https://codereview.chromium.org/2616093002/diff/20001/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm File ios/chrome/browser/reading_list/reading_list_web_state_observer.mm (right): https://codereview.chromium.org/2616093002/diff/20001/ios/chrome/browser/reading_list/reading_list_web_state_observer.mm#newcode183 ios/chrome/browser/reading_list/reading_list_web_state_observer.mm:183: // the online page even on bad ...
3 years, 11 months ago (2017-01-12 16:53:35 UTC) #8
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/2616093002/40001
3 years, 11 months ago (2017-01-12 17:43:59 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 17:59:00 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3dcbdfb6ef790697a538ef3f0ab9...

Powered by Google App Engine
This is Rietveld 408576698