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

Issue 2225213002: Make GetBestPageForOnlineURL async (Closed)

Created:
4 years, 4 months ago by jianli
Modified:
4 years, 4 months ago
Reviewers:
Dmitry Titov, fgorski
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

Make GetBestPageForOnlineURL async The sync version OfflinePageModel::GetBestPageForOnlineURL is removed. The async version OfflinePageUtils::GetOfflineURLForOnlineURL is added. BUG=none Committed: https://crrev.com/b76ea4265490fca01a94988397262f13e7bd220d Cr-Commit-Position: refs/heads/master@{#411230}

Patch Set 1 #

Patch Set 2 : Make GetBestPageForOnlineURL async #

Total comments: 4

Patch Set 3 : Address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -127 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageBridge.java View 1 2 2 chunks +12 lines, -26 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_bridge.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_bridge.cc View 1 2 1 chunk +14 lines, -8 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_tab_helper.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_tab_helper.cc View 1 2 6 chunks +21 lines, -43 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_tab_helper_unittest.cc View 1 7 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils.cc View 1 2 3 chunks +39 lines, -0 lines 0 comments Download
M components/offline_pages/offline_page_model.h View 1 chunk +0 lines, -10 lines 0 comments Download
M components/offline_pages/offline_page_model_impl.h View 2 chunks +0 lines, -6 lines 0 comments Download
M components/offline_pages/offline_page_model_impl.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M components/offline_pages/stub_offline_page_model.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/offline_pages/stub_offline_page_model.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
jianli
4 years, 4 months ago (2016-08-08 23:04:14 UTC) #2
jianli
Change to make GetBestPageForOnlineURL async
4 years, 4 months ago (2016-08-09 22:50:17 UTC) #5
fgorski
lgtm on my part. I think you should let Dmitry take a look and have ...
4 years, 4 months ago (2016-08-09 23:30:45 UTC) #8
Dmitry Titov
lgtm with mostly naming nits. Move to int TabId ok. https://codereview.chromium.org/2225213002/diff/20001/chrome/browser/android/offline_pages/offline_page_tab_helper.h File chrome/browser/android/offline_pages/offline_page_tab_helper.h (right): https://codereview.chromium.org/2225213002/diff/20001/chrome/browser/android/offline_pages/offline_page_tab_helper.h#newcode99 ...
4 years, 4 months ago (2016-08-10 02:56:37 UTC) #11
jianli
https://codereview.chromium.org/2225213002/diff/20001/chrome/browser/android/offline_pages/offline_page_tab_helper.h File chrome/browser/android/offline_pages/offline_page_tab_helper.h (right): https://codereview.chromium.org/2225213002/diff/20001/chrome/browser/android/offline_pages/offline_page_tab_helper.h#newcode99 chrome/browser/android/offline_pages/offline_page_tab_helper.h:99: void GetBestPageForOnlineURLDone( On 2016/08/10 02:56:37, Dmitry Titov wrote: > ...
4 years, 4 months ago (2016-08-11 00:33:27 UTC) #12
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/2225213002/40001
4 years, 4 months ago (2016-08-11 00:34:32 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-11 02:31:13 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 02:33:14 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b76ea4265490fca01a94988397262f13e7bd220d
Cr-Commit-Position: refs/heads/master@{#411230}

Powered by Google App Engine
This is Rietveld 408576698