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

Issue 810583002: Teach CrOS's OfflineResourceThrottle about ServiceWorkers so it know longer presents its offline in… (Closed)

Created:
6 years ago by michaeln
Modified:
5 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, Elly Fong-Jones, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+serviceworker, nhiroki, oshima, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Teach CrOS's OfflineResourceThrottle about ServiceWorkers so it no longer presents its offline interstitial page when a ServiceWorker can handle the request. TBR=jochen@chromium.org BUG=439876 Committed: https://crrev.com/463cbca202c52fcae7ef7f05cd957d2f8d517bd5 Cr-Commit-Position: refs/heads/master@{#310937}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : geez, fix the cros compile already #

Total comments: 13

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -17 lines) Patch
M chrome/browser/renderer_host/offline_resource_throttle.h View 1 2 3 4 5 1 chunk +2 lines, -8 lines 0 comments Download
M chrome/browser/renderer_host/offline_resource_throttle.cc View 1 2 3 4 5 4 chunks +23 lines, -9 lines 0 comments Download
M content/browser/service_worker/service_worker_context_core.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.cc View 1 2 3 4 5 4 chunks +37 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_request_handler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/service_worker_context.h View 1 2 3 3 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
michaeln
ptal
6 years ago (2014-12-15 23:28:18 UTC) #2
falken
Thanks for working on this. Looks pretty good. https://codereview.chromium.org/810583002/diff/60001/chrome/browser/renderer_host/offline_resource_throttle.cc File chrome/browser/renderer_host/offline_resource_throttle.cc (right): https://codereview.chromium.org/810583002/diff/60001/chrome/browser/renderer_host/offline_resource_throttle.cc#newcode157 chrome/browser/renderer_host/offline_resource_throttle.cc:157: service_worker_completion_callback_.Cancel(); ...
6 years ago (2014-12-16 08:16:50 UTC) #3
falken
Hi Michael, how is this patch going? Do you think it can get in by ...
5 years, 11 months ago (2015-01-08 05:51:10 UTC) #4
michaeln
I think this is ready for a final review. I don't see any existing tests ...
5 years, 11 months ago (2015-01-09 01:46:06 UTC) #5
michaeln
https://codereview.chromium.org/810583002/diff/60001/chrome/browser/renderer_host/offline_resource_throttle.cc File chrome/browser/renderer_host/offline_resource_throttle.cc (right): https://codereview.chromium.org/810583002/diff/60001/chrome/browser/renderer_host/offline_resource_throttle.cc#newcode157 chrome/browser/renderer_host/offline_resource_throttle.cc:157: service_worker_completion_callback_.Cancel(); On 2014/12/16 08:16:49, falken wrote: > Would it ...
5 years, 11 months ago (2015-01-09 01:47:36 UTC) #6
falken
+oshima for background info lgtm I hope we can add regression tests for this but ...
5 years, 11 months ago (2015-01-09 02:27:44 UTC) #7
oshima
+rdsmith@, ellyjones@ A bit of history: the interstitial based offline page predates online/offline event in ...
5 years, 11 months ago (2015-01-09 16:28:54 UTC) #9
Randy Smith (Not in Mondays)
On 2015/01/09 16:28:54, oshima wrote: > +rdsmith@, ellyjones@ > > > A bit of history: ...
5 years, 11 months ago (2015-01-09 16:56:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/810583002/100001
5 years, 11 months ago (2015-01-10 01:11:32 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 11 months ago (2015-01-10 01:51:40 UTC) #14
commit-bot: I haz the power
5 years, 11 months ago (2015-01-10 01:54:45 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/463cbca202c52fcae7ef7f05cd957d2f8d517bd5
Cr-Commit-Position: refs/heads/master@{#310937}

Powered by Google App Engine
This is Rietveld 408576698