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

Issue 2506293002: Trigger redirect for offline pages (Closed)

Created:
4 years, 1 month ago by jianli
Modified:
4 years, 1 month ago
Reviewers:
Mike West, mmenke, fgorski
CC:
chili+watch_chromium.org, chromium-reviews, dewittj+watch_chromium.org, dimich+watch_chromium.org, fgorski+watch_chromium.org, petewil+watch_chromium.org, romax+watch_chromium.org, vitaliii
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Trigger redirect for offline pages If original request URL is found, we will use it to trigger redirect such that offline page for final redirected URL could be served. BUG=618716 Committed: https://crrev.com/55994375eb39e2965999474fb3612737626bed13 Cr-Commit-Position: refs/heads/master@{#433318}

Patch Set 1 #

Patch Set 2 : Add test #

Total comments: 18

Patch Set 3 : Address comments #

Patch Set 4 : Rebase #

Patch Set 5 : Fix typo #

Patch Set 6 : Fix trybot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -5 lines) Patch
M chrome/browser/android/offline_pages/offline_page_request_job.h View 1 2 3 4 5 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_request_job.cc View 1 2 3 4 3 chunks +64 lines, -2 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_request_job_unittest.cc View 1 7 chunks +25 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
jianli
4 years, 1 month ago (2016-11-17 01:57:02 UTC) #2
fgorski
lgtm with nits and comments. https://codereview.chromium.org/2506293002/diff/20001/chrome/browser/android/offline_pages/offline_page_request_job.cc File chrome/browser/android/offline_pages/offline_page_request_job.cc (right): https://codereview.chromium.org/2506293002/diff/20001/chrome/browser/android/offline_pages/offline_page_request_job.cc#newcode581 chrome/browser/android/offline_pages/offline_page_request_job.cc:581: if (!fake_headers_for_redirect_.get()) { this ...
4 years, 1 month ago (2016-11-17 17:37:48 UTC) #3
mmenke
This LGTM. [+mkwst]: Mind doing a sanity check for me, in case I'm missing something? ...
4 years, 1 month ago (2016-11-17 18:42:26 UTC) #5
jianli
https://codereview.chromium.org/2506293002/diff/20001/chrome/browser/android/offline_pages/offline_page_request_job.cc File chrome/browser/android/offline_pages/offline_page_request_job.cc (right): https://codereview.chromium.org/2506293002/diff/20001/chrome/browser/android/offline_pages/offline_page_request_job.cc#newcode578 chrome/browser/android/offline_pages/offline_page_request_job.cc:578: } On 2016/11/17 18:42:26, mmenke wrote: > If you're ...
4 years, 1 month ago (2016-11-17 23:42:06 UTC) #6
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/2506293002/80001
4 years, 1 month ago (2016-11-18 00:15:51 UTC) #11
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/2506293002/100001
4 years, 1 month ago (2016-11-18 00:53:41 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/167013)
4 years, 1 month ago (2016-11-18 01:46:51 UTC) #18
Mike West
mmenke@: I agree. The plan seems reasonable to me.
4 years, 1 month ago (2016-11-18 08:28:43 UTC) #20
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/2506293002/120001
4 years, 1 month ago (2016-11-18 21:52:04 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 1 month ago (2016-11-18 22:42:05 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 22:48:29 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/55994375eb39e2965999474fb3612737626bed13
Cr-Commit-Position: refs/heads/master@{#433318}

Powered by Google App Engine
This is Rietveld 408576698