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

Issue 1902443003: Redirect immediately to offline copy on no network (Closed)

Created:
4 years, 8 months ago by jianli
Modified:
4 years, 7 months ago
Reviewers:
fgorski
CC:
chromium-reviews, dimich+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Redirect immediately to offline copy on no network Also mark the offline page as accessed when this occurs. BUG=603940, 605951 Committed: https://crrev.com/732834fe7d24a687d481f09e2c88cb22219ceb6b Cr-Commit-Position: refs/heads/master@{#392170}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 7

Patch Set 3 : Address feedback #

Patch Set 4 : Update comment and tests #

Patch Set 5 : Remove empty line #

Patch Set 6 : Rebase and update tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -63 lines) Patch
M chrome/browser/android/offline_pages/offline_page_tab_helper.cc View 1 2 3 6 chunks +33 lines, -14 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_tab_helper_unittest.cc View 1 2 3 4 5 5 chunks +48 lines, -35 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils.cc View 1 2 3 4 5 7 chunks +28 lines, -14 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
jianli
4 years, 8 months ago (2016-04-18 23:07:14 UTC) #2
fgorski
please add the bug id: 605951 https://codereview.chromium.org/1902443003/diff/20001/chrome/browser/android/offline_pages/offline_page_tab_helper.cc File chrome/browser/android/offline_pages/offline_page_tab_helper.cc (right): https://codereview.chromium.org/1902443003/diff/20001/chrome/browser/android/offline_pages/offline_page_tab_helper.cc#newcode103 chrome/browser/android/offline_pages/offline_page_tab_helper.cc:103: GURL offline_url = ...
4 years, 7 months ago (2016-05-04 21:45:12 UTC) #3
jianli
https://codereview.chromium.org/1902443003/diff/20001/chrome/browser/android/offline_pages/offline_page_tab_helper.cc File chrome/browser/android/offline_pages/offline_page_tab_helper.cc (right): https://codereview.chromium.org/1902443003/diff/20001/chrome/browser/android/offline_pages/offline_page_tab_helper.cc#newcode103 chrome/browser/android/offline_pages/offline_page_tab_helper.cc:103: GURL offline_url = offline_pages::OfflinePageUtils::GetOfflineURLForOnlineURL( On 2016/05/04 21:45:12, fgorski wrote: ...
4 years, 7 months ago (2016-05-05 00:23:13 UTC) #4
fgorski
Please add relevant comment. Also I noticed that you are not updating tests (and we ...
4 years, 7 months ago (2016-05-05 04:19:30 UTC) #5
jianli
On 2016/05/05 04:19:30, fgorski wrote: > Please add relevant comment. > > Also I noticed ...
4 years, 7 months ago (2016-05-05 23:56:54 UTC) #8
fgorski
lgtm mod rebase
4 years, 7 months ago (2016-05-06 07:07:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1902443003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1902443003/120001
4 years, 7 months ago (2016-05-06 21:29:53 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 7 months ago (2016-05-06 22:07:00 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 22:08:56 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/732834fe7d24a687d481f09e2c88cb22219ceb6b
Cr-Commit-Position: refs/heads/master@{#392170}

Powered by Google App Engine
This is Rietveld 408576698