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

Issue 2714733003: [Offline Pages] Add a timer to BackgroundLoaderOffliner to delay SavePage by 2 seconds. (Closed)

Created:
3 years, 10 months ago by chili
Modified:
3 years, 9 months ago
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/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Add a timer to BackgroundLoaderOffliner to delay SavePage by 2 seconds. BUG=695915 Review-Url: https://codereview.chromium.org/2714733003 Cr-Commit-Position: refs/heads/master@{#453381} Committed: https://chromium.googlesource.com/chromium/src/+/632b3bc8fe84af8ed8f69adbfa181e025957bf6a

Patch Set 1 #

Total comments: 4

Patch Set 2 : add additional pointer invalidation after possible navigation commit #

Total comments: 2

Patch Set 3 : unittests #

Patch Set 4 : fix tests and last comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -36 lines) Patch
M chrome/browser/android/offline_pages/background_loader_offliner.h View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/background_loader_offliner.cc View 1 2 3 5 chunks +72 lines, -33 lines 0 comments Download
M chrome/browser/android/offline_pages/background_loader_offliner_unittest.cc View 1 2 3 5 chunks +23 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
chili
3 years, 10 months ago (2017-02-24 17:19:05 UTC) #4
Pete Williamson
https://codereview.chromium.org/2714733003/diff/1/chrome/browser/android/offline_pages/background_loader_offliner.cc File chrome/browser/android/offline_pages/background_loader_offliner.cc (left): https://codereview.chromium.org/2714733003/diff/1/chrome/browser/android/offline_pages/background_loader_offliner.cc#oldcode132 chrome/browser/android/offline_pages/background_loader_offliner.cc:132: SavePageRequest request(*pending_request_.get()); How about leaving this code where it ...
3 years, 10 months ago (2017-02-24 17:31:45 UTC) #5
chili
Per offline discussion with Filip, I added an additional check in DidFinishNavigation to invalidate ongoing ...
3 years, 10 months ago (2017-02-24 21:43:47 UTC) #8
fgorski
lgtm, but that test might need more work in case pump loop does not work ...
3 years, 10 months ago (2017-02-24 22:12:08 UTC) #10
Pete Williamson
lgtm
3 years, 10 months ago (2017-02-24 22:29:49 UTC) #11
chili
Added an ability to override the delay for tests. There doesn't seem to be an ...
3 years, 9 months ago (2017-02-27 22:18:29 UTC) #18
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/2714733003/80001
3 years, 9 months ago (2017-02-27 23:09:18 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 23:16:32 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/632b3bc8fe84af8ed8f69adbfa18...

Powered by Google App Engine
This is Rietveld 408576698