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

Issue 2040573002: [Offlining] Updates the tab helper to use the async OfflinePageModel API (Closed)

Created:
4 years, 6 months ago by dewittj
Modified:
4 years, 6 months ago
Reviewers:
gone, jianli
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offlining] Updates the tab helper to use the async OfflinePageModel API Adds a test to make sure sequential navs are handled correctly, and also add histogram checks to all tab helper tests. BUG=589526 Committed: https://crrev.com/fd1614e5e1ca3ad2b67589eb7682a20c20152948 Cr-Commit-Position: refs/heads/master@{#398077}

Patch Set 1 #

Patch Set 2 : Add test. #

Patch Set 3 : Fix TODOs #

Total comments: 10

Patch Set 4 : address jianli's nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -70 lines) Patch
M chrome/browser/android/offline_pages/offline_page_tab_helper.h View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_tab_helper.cc View 1 2 3 5 chunks +83 lines, -50 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_tab_helper_unittest.cc View 1 2 3 7 chunks +44 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils.h View 2 chunks +17 lines, -2 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils.cc View 1 2 5 chunks +60 lines, -2 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils_unittest.cc View 1 chunk +12 lines, -10 lines 0 comments Download
M chrome/browser/android/tab_android.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
dewittj
4 years, 6 months ago (2016-06-03 23:58:47 UTC) #3
jianli
lgtm https://codereview.chromium.org/2040573002/diff/40001/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/2040573002/diff/40001/chrome/browser/android/offline_pages/offline_page_tab_helper.cc#newcode68 chrome/browser/android/offline_pages/offline_page_tab_helper.cc:68: void ReportAccessedOfflinePage(content::BrowserContext* browser_context, Please move it to anonymous ...
4 years, 6 months ago (2016-06-04 00:27:20 UTC) #4
dewittj
dfalcantara: PTAL at tab_android and add_to_homescreen_data_fetcher, thanks https://codereview.chromium.org/2040573002/diff/40001/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/2040573002/diff/40001/chrome/browser/android/offline_pages/offline_page_tab_helper.cc#newcode68 chrome/browser/android/offline_pages/offline_page_tab_helper.cc:68: void ReportAccessedOfflinePage(content::BrowserContext* ...
4 years, 6 months ago (2016-06-06 16:53:15 UTC) #6
gone
tab_android and add_to_homescreen_data_fetcher lgtm
4 years, 6 months ago (2016-06-06 18:11:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040573002/60001
4 years, 6 months ago (2016-06-06 18:26:43 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-06 18:36:15 UTC) #12
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 18:39:46 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fd1614e5e1ca3ad2b67589eb7682a20c20152948
Cr-Commit-Position: refs/heads/master@{#398077}

Powered by Google App Engine
This is Rietveld 408576698