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

Issue 856643002: Viewing cached webpages while offline is not available on Chrome OS (Closed)

Created:
5 years, 11 months ago by afakhry
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Viewing cached webpages while offline is not available on Chrome OS Fixed by creating the OfflineResourceThrottle in ChromeOS only if the "enable-offline-load-stale-cache" flag is not enabled. This allows us to go back to the default behavior if this flag is turned off. BUG=433388 TEST=manually R=oshima@chromium.org,rdsmith@chromium.org Committed: https://crrev.com/b4fd13cb9dca2d60333e6e9211dd5b88b0ca9739 Cr-Commit-Position: refs/heads/master@{#313851}

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Total comments: 8

Patch Set 5 : Removed the new offline error page flags #

Total comments: 4

Patch Set 6 : #

Total comments: 8

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -1 line) Patch
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/renderer/resources/neterror.js View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 65 (11 generated)
afakhry
5 years, 11 months ago (2015-01-16 01:05:46 UTC) #2
Randy Smith (Not in Mondays)
A couple of high level thoughts: * What testing have you done with this? As ...
5 years, 11 months ago (2015-01-16 01:18:54 UTC) #3
afakhry
On 2015/01/16 01:18:54, rdsmith wrote: > A couple of high level thoughts: > * What ...
5 years, 11 months ago (2015-01-16 01:31:36 UTC) #4
oshima
On 2015/01/16 01:31:36, afakhry wrote: > On 2015/01/16 01:18:54, rdsmith wrote: > > A couple ...
5 years, 11 months ago (2015-01-16 18:18:21 UTC) #5
afakhry
Added a separate flag "enable-new-offline-error-page" which is defaulted to enabled if it's not explicitly set ...
5 years, 11 months ago (2015-01-16 23:51:20 UTC) #6
Randy Smith (Not in Mondays)
On 2015/01/16 01:31:36, afakhry wrote: > On 2015/01/16 01:18:54, rdsmith wrote: > > A couple ...
5 years, 11 months ago (2015-01-20 17:25:44 UTC) #7
afakhry
On 2015/01/20 17:25:44, rdsmith wrote: > On 2015/01/16 01:31:36, afakhry wrote: > > On 2015/01/16 ...
5 years, 11 months ago (2015-01-20 18:17:32 UTC) #8
Randy Smith (Not in Mondays)
On 2015/01/20 18:17:32, afakhry wrote: > On 2015/01/20 17:25:44, rdsmith wrote: > > On 2015/01/16 ...
5 years, 11 months ago (2015-01-20 18:19:05 UTC) #9
afakhry
On 2015/01/20 18:19:05, rdsmith wrote: > On 2015/01/20 18:17:32, afakhry wrote: > > On 2015/01/20 ...
5 years, 11 months ago (2015-01-20 18:28:41 UTC) #10
oshima
On 2015/01/20 18:28:41, afakhry wrote: > On 2015/01/20 18:19:05, rdsmith wrote: > > On 2015/01/20 ...
5 years, 11 months ago (2015-01-21 18:34:57 UTC) #11
afakhry
https://codereview.chromium.org/856643002/diff/60001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (left): https://codereview.chromium.org/856643002/diff/60001/chrome/renderer/resources/neterror.js#oldcode139 chrome/renderer/resources/neterror.js:139: } This code created inconsistency ... It used to ...
5 years, 11 months ago (2015-01-22 00:07:23 UTC) #12
Randy Smith (Not in Mondays)
https://codereview.chromium.org/856643002/diff/60001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (left): https://codereview.chromium.org/856643002/diff/60001/chrome/renderer/resources/neterror.js#oldcode139 chrome/renderer/resources/neterror.js:139: } On 2015/01/22 00:07:23, afakhry wrote: > This code ...
5 years, 11 months ago (2015-01-22 18:22:09 UTC) #13
afakhry
https://codereview.chromium.org/856643002/diff/60001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (left): https://codereview.chromium.org/856643002/diff/60001/chrome/renderer/resources/neterror.js#oldcode139 chrome/renderer/resources/neterror.js:139: } On 2015/01/22 18:22:09, rdsmith wrote: > On 2015/01/22 ...
5 years, 11 months ago (2015-01-22 19:26:07 UTC) #14
Randy Smith (Not in Mondays)
On 2015/01/22 19:26:07, afakhry wrote: > https://codereview.chromium.org/856643002/diff/60001/chrome/renderer/resources/neterror.js > File chrome/renderer/resources/neterror.js (left): > > https://codereview.chromium.org/856643002/diff/60001/chrome/renderer/resources/neterror.js#oldcode139 > ...
5 years, 11 months ago (2015-01-22 19:43:52 UTC) #15
afakhry
On 2015/01/22 19:43:52, rdsmith wrote: > On 2015/01/22 19:26:07, afakhry wrote: > > > https://codereview.chromium.org/856643002/diff/60001/chrome/renderer/resources/neterror.js ...
5 years, 11 months ago (2015-01-22 20:16:22 UTC) #16
oshima
On 2015/01/22 19:43:52, rdsmith wrote: > On 2015/01/22 19:26:07, afakhry wrote: > > > https://codereview.chromium.org/856643002/diff/60001/chrome/renderer/resources/neterror.js ...
5 years, 11 months ago (2015-01-22 20:19:40 UTC) #17
afakhry
5 years, 11 months ago (2015-01-22 22:24:14 UTC) #19
afakhry
https://codereview.chromium.org/856643002/diff/80001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/856643002/diff/80001/chrome/renderer/resources/neterror.js#newcode141 chrome/renderer/resources/neterror.js:141: </if> To mimic the behavior of the old ChromeOS's ...
5 years, 11 months ago (2015-01-22 22:27:23 UTC) #20
afakhry
https://codereview.chromium.org/856643002/diff/80001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/856643002/diff/80001/chrome/renderer/resources/neterror.js#newcode141 chrome/renderer/resources/neterror.js:141: </if> On 2015/01/22 22:27:23, afakhry wrote: > To mimic ...
5 years, 11 months ago (2015-01-23 01:35:46 UTC) #21
afakhry
https://codereview.chromium.org/856643002/diff/80001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/856643002/diff/80001/chrome/renderer/resources/neterror.js#newcode141 chrome/renderer/resources/neterror.js:141: </if> On 2015/01/23 01:35:46, afakhry wrote: > On 2015/01/22 ...
5 years, 11 months ago (2015-01-23 01:42:01 UTC) #22
edwardjung
https://codereview.chromium.org/856643002/diff/80001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/856643002/diff/80001/chrome/renderer/resources/neterror.js#newcode141 chrome/renderer/resources/neterror.js:141: </if> On 2015/01/23 01:42:01, afakhry wrote: > On 2015/01/23 ...
5 years, 11 months ago (2015-01-23 11:18:28 UTC) #23
afakhry
https://codereview.chromium.org/856643002/diff/80001/chrome/renderer/resources/neterror.js File chrome/renderer/resources/neterror.js (right): https://codereview.chromium.org/856643002/diff/80001/chrome/renderer/resources/neterror.js#newcode141 chrome/renderer/resources/neterror.js:141: </if> On 2015/01/23 11:18:28, edwardjung wrote: > On 2015/01/23 ...
5 years, 11 months ago (2015-01-23 17:49:25 UTC) #24
edwardjung
> > The diagnose button is only specific to ChromeOS. Setting its value is guarded ...
5 years, 11 months ago (2015-01-23 18:39:56 UTC) #25
afakhry
On 2015/01/23 18:39:56, edwardjung wrote: > > > > The diagnose button is only specific ...
5 years, 11 months ago (2015-01-23 19:55:14 UTC) #26
edwardjung
> Does that mean that this change sounds good to you at the moment? Yes ...
5 years, 11 months ago (2015-01-23 21:18:12 UTC) #27
edwardjung
> Does that mean that this change sounds good to you at the moment? Yes ...
5 years, 11 months ago (2015-01-23 21:18:13 UTC) #28
oshima
https://codereview.chromium.org/856643002/diff/80001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/856643002/diff/80001/chrome/browser/about_flags.cc#newcode2164 chrome/browser/about_flags.cc:2164: }, I still think we don't need about flags. ...
5 years, 11 months ago (2015-01-23 21:49:04 UTC) #29
afakhry
Removed the new offline error page from the about:flags page, but kept the disable-new-offline-error-page command ...
5 years, 11 months ago (2015-01-24 00:53:16 UTC) #30
oshima
lgtm with nits https://codereview.chromium.org/856643002/diff/100001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/856643002/diff/100001/chrome/browser/about_flags.cc#oldcode2152 chrome/browser/about_flags.cc:2152: nit: revert this change? https://codereview.chromium.org/856643002/diff/100001/tools/metrics/histograms/histograms.xml File ...
5 years, 11 months ago (2015-01-24 04:55:47 UTC) #31
afakhry
@mpearson: Do we need to keep the change in histograms.xml if we added a command-line ...
5 years, 11 months ago (2015-01-26 16:55:19 UTC) #33
Randy Smith (Not in Mondays)
Were you going to send me screen shots of what the ChromeOS page used to ...
5 years, 11 months ago (2015-01-26 17:30:44 UTC) #34
Mark P
On 2015/01/26 16:55:19, afakhry wrote: > @mpearson: Do we need to keep the change in ...
5 years, 11 months ago (2015-01-26 18:44:47 UTC) #36
afakhry
On 2015/01/26 18:44:47, Mark P wrote: > On 2015/01/26 16:55:19, afakhry wrote: > > @mpearson: ...
5 years, 11 months ago (2015-01-27 00:06:47 UTC) #37
afakhry
On 2015/01/26 17:30:44, rdsmith wrote: > Were you going to send me screen shots of ...
5 years, 11 months ago (2015-01-27 01:29:19 UTC) #38
Alexei Svitkine (slow)
I think the test we have for this checks that all about_flags.cc flags are in ...
5 years, 11 months ago (2015-01-27 16:15:44 UTC) #39
afakhry
https://codereview.chromium.org/856643002/diff/100001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/856643002/diff/100001/chrome/browser/about_flags.cc#oldcode2152 chrome/browser/about_flags.cc:2152: On 2015/01/24 04:55:47, oshima wrote: > nit: revert this ...
5 years, 11 months ago (2015-01-27 17:44:14 UTC) #40
Randy Smith (Not in Mondays)
This is getting close enough for me to want to pull in mmenke@ as well ...
5 years, 11 months ago (2015-01-27 19:05:29 UTC) #42
oshima
https://codereview.chromium.org/856643002/diff/120001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): https://codereview.chromium.org/856643002/diff/120001/chrome/common/chrome_switches.cc#newcode1380 chrome/common/chrome_switches.cc:1380: // command-line switch is not available. On 2015/01/27 19:05:29, ...
5 years, 11 months ago (2015-01-27 22:41:32 UTC) #44
Randy Smith (Not in Mondays)
https://codereview.chromium.org/856643002/diff/120001/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): https://codereview.chromium.org/856643002/diff/120001/chrome/common/chrome_switches.cc#newcode1380 chrome/common/chrome_switches.cc:1380: // command-line switch is not available. On 2015/01/27 22:41:31, ...
5 years, 11 months ago (2015-01-27 23:52:59 UTC) #45
afakhry
https://codereview.chromium.org/856643002/diff/120001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc File chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc (right): https://codereview.chromium.org/856643002/diff/120001/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc#newcode367 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc:367: // "enable-new-offline-error-page" flag is enabled. On 2015/01/27 19:05:29, rdsmith ...
5 years, 11 months ago (2015-01-28 00:08:05 UTC) #46
oshima
On 2015/01/27 23:52:59, rdsmith wrote: > https://codereview.chromium.org/856643002/diff/120001/chrome/common/chrome_switches.cc > File chrome/common/chrome_switches.cc (right): > > https://codereview.chromium.org/856643002/diff/120001/chrome/common/chrome_switches.cc#newcode1380 > ...
5 years, 11 months ago (2015-01-28 00:13:08 UTC) #47
afakhry
@edwardjung, @rdsmith, and @mmenke: Could you please take a look at the last patch and ...
5 years, 11 months ago (2015-01-28 04:20:53 UTC) #48
edwardjung
On 2015/01/28 04:20:53, afakhry wrote: > @edwardjung, @rdsmith, and @mmenke: Could you please take a ...
5 years, 10 months ago (2015-01-28 12:18:21 UTC) #49
Randy Smith (Not in Mondays)
lgtm
5 years, 10 months ago (2015-01-28 18:47:40 UTC) #50
afakhry
@arv: Could you please give us an OWNERS review?
5 years, 10 months ago (2015-01-29 02:14:51 UTC) #52
arv (Not doing code reviews)
LGTM
5 years, 10 months ago (2015-01-29 21:32:45 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/856643002/140001
5 years, 10 months ago (2015-01-29 21:35:18 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/39281)
5 years, 10 months ago (2015-01-29 21:42:09 UTC) #57
afakhry
@sky, Could you please give us OWNERS acceptance?
5 years, 10 months ago (2015-01-29 22:07:51 UTC) #59
sky
LGTM https://codereview.chromium.org/856643002/diff/140001/chrome/common/chrome_switches.h File chrome/common/chrome_switches.h (right): https://codereview.chromium.org/856643002/diff/140001/chrome/common/chrome_switches.h#newcode402 chrome/common/chrome_switches.h:402: bool NewOfflineErrorPageEnabled(); nit: keep sort order.
5 years, 10 months ago (2015-01-29 23:45:56 UTC) #60
afakhry
https://codereview.chromium.org/856643002/diff/140001/chrome/common/chrome_switches.h File chrome/common/chrome_switches.h (right): https://codereview.chromium.org/856643002/diff/140001/chrome/common/chrome_switches.h#newcode402 chrome/common/chrome_switches.h:402: bool NewOfflineErrorPageEnabled(); On 2015/01/29 23:45:56, sky wrote: > nit: ...
5 years, 10 months ago (2015-01-30 00:24:39 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/856643002/160001
5 years, 10 months ago (2015-01-30 00:26:24 UTC) #63
commit-bot: I haz the power
Committed patchset #8 (id:160001)
5 years, 10 months ago (2015-01-30 01:22:19 UTC) #64
commit-bot: I haz the power
5 years, 10 months ago (2015-01-30 01:24:06 UTC) #65
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b4fd13cb9dca2d60333e6e9211dd5b88b0ca9739
Cr-Commit-Position: refs/heads/master@{#313851}

Powered by Google App Engine
This is Rietveld 408576698