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

Issue 2498983005: predictors: Expose the initialization call to Android. (Closed)

Created:
4 years, 1 month ago by Benoit L
Modified:
4 years, 1 month ago
Reviewers:
pasko
CC:
chromium-reviews, shishir+watch_chromium.org, lizeb+watch-custom-tabs_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

predictors: Expose the initialization call to Android. The resource_prefetch_predictor needs to be initialized before issuing prefetches. The initialization is usually triggered by the first page load completion, but this is not suitable for external triggering on Android. This exposes the initialization method to the Java side. BUG=650250, 631966 Committed: https://crrev.com/88af26a7ceb6bf5a35b12f14d70f761360d98b56 Cr-Commit-Position: refs/heads/master@{#432213}

Patch Set 1 #

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -34 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/ResourcePrefetchPredictor.java View 1 4 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor.h View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor.cc View 2 chunks +30 lines, -30 lines 0 comments Download
M chrome/browser/predictors/resource_prefetch_predictor_android.cc View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
Benoit L
4 years, 1 month ago (2016-11-15 13:24:58 UTC) #2
pasko
I think it would be a simpler API to ensure initialization in ::StartPrefetching. The ResourcePrefetchPredictor ...
4 years, 1 month ago (2016-11-15 14:29:17 UTC) #7
Benoit L
On 2016/11/15 14:29:17, pasko wrote: > I think it would be a simpler API to ...
4 years, 1 month ago (2016-11-15 15:07:13 UTC) #8
pasko
discussed offline and agreed that this externally requested initialization is simpler in short term. We ...
4 years, 1 month ago (2016-11-15 15:11:07 UTC) #9
Benoit L
On 2016/11/15 15:11:07, pasko wrote: > discussed offline and agreed that this externally requested initialization ...
4 years, 1 month ago (2016-11-15 15:28:07 UTC) #10
Benoit L
On 2016/11/15 15:11:07, pasko wrote: > discussed offline and agreed that this externally requested initialization ...
4 years, 1 month ago (2016-11-15 15:28:08 UTC) #11
pasko
lgtm
4 years, 1 month ago (2016-11-15 15:56:42 UTC) #14
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/2498983005/20001
4 years, 1 month ago (2016-11-15 17:33:37 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-15 17:51:37 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 18:02:30 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/88af26a7ceb6bf5a35b12f14d70f761360d98b56
Cr-Commit-Position: refs/heads/master@{#432213}

Powered by Google App Engine
This is Rietveld 408576698