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

Issue 426623004: While loading url in current tab should check if any prerender page avaliable. (Closed)

Created:
6 years, 4 months ago by Jitu( very slow this week)
Modified:
6 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

While loading url in current tab should check if any prerender page avaliable. This patch with check if any Prerender page is available for the URL trying to load (while disposition = CURRENT_TAB), if available then replace with prerender contents else load the url. BUG=398864 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287059

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fixed the review comments #

Patch Set 3 : Rename the API as suggested. #

Total comments: 2

Patch Set 4 : Fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -3 lines) Patch
M chrome/browser/android/tab_android.cc View 1 2 3 2 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Jitu( very slow this week)
PTAL... Thanks
6 years, 4 months ago (2014-07-28 14:50:48 UTC) #1
Bernhard Bauer
https://codereview.chromium.org/426623004/diff/1/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/426623004/diff/1/chrome/browser/android/tab_android.cc#newcode82 chrome/browser/android/tab_android.cc:82: bool SwapWithPrerender(const GURL& url, chrome::NavigateParams* params) { MaybeSwapWithPrerender()? https://codereview.chromium.org/426623004/diff/1/chrome/browser/android/tab_android.cc#newcode87 ...
6 years, 4 months ago (2014-07-28 15:00:05 UTC) #2
Bernhard Bauer
Also, can you please file a bug for this, so it can be appropriately triaged?
6 years, 4 months ago (2014-07-28 17:34:16 UTC) #3
Jitu( very slow this week)
Fixed the review comments... PTAL https://codereview.chromium.org/426623004/diff/1/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/426623004/diff/1/chrome/browser/android/tab_android.cc#newcode82 chrome/browser/android/tab_android.cc:82: bool SwapWithPrerender(const GURL& url, ...
6 years, 4 months ago (2014-07-30 13:48:28 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/426623004/diff/1/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/426623004/diff/1/chrome/browser/android/tab_android.cc#newcode82 chrome/browser/android/tab_android.cc:82: bool SwapWithPrerender(const GURL& url, chrome::NavigateParams* params) { On 2014/07/30 ...
6 years, 4 months ago (2014-07-30 14:19:46 UTC) #5
Jitu( very slow this week)
prerender_manager can be NULL in below piece of code. https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/prerender/prerender_manager_factory.cc&type=cs&sq=package:chromium&q=prerender_manager_factory.cc&l=39 And for other comment i ...
6 years, 4 months ago (2014-07-31 06:12:53 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/426623004/diff/40001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/426623004/diff/40001/chrome/browser/android/tab_android.cc#newcode90 chrome/browser/android/tab_android.cc:90: } else { Don't put an "else" after a ...
6 years, 4 months ago (2014-07-31 08:11:00 UTC) #7
Jitu( very slow this week)
Changes done as per suggested. PTAL... Thanks https://codereview.chromium.org/426623004/diff/40001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/426623004/diff/40001/chrome/browser/android/tab_android.cc#newcode90 chrome/browser/android/tab_android.cc:90: } else ...
6 years, 4 months ago (2014-07-31 08:19:47 UTC) #8
Bernhard Bauer
lgtm
6 years, 4 months ago (2014-07-31 08:22:24 UTC) #9
Jitu( very slow this week)
On 2014/07/31 08:22:24, Bernhard Bauer wrote: > lgtm Thanks a lot
6 years, 4 months ago (2014-07-31 08:22:58 UTC) #10
Jitu( very slow this week)
The CQ bit was checked by jitendra.ks@samsung.com
6 years, 4 months ago (2014-07-31 08:23:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jitendra.ks@samsung.com/426623004/60001
6 years, 4 months ago (2014-07-31 08:26:14 UTC) #12
Jitu( very slow this week)
Failing in Presubmit ** Presubmit ERRORS ** Missing LGTM from an OWNER for these files: ...
6 years, 4 months ago (2014-07-31 08:33:42 UTC) #13
Bernhard Bauer
On 2014/07/31 08:33:42, Jitu wrote: > Failing in Presubmit > > ** Presubmit ERRORS ** ...
6 years, 4 months ago (2014-07-31 08:35:56 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-07-31 10:06:26 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-31 10:10:36 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/1203)
6 years, 4 months ago (2014-07-31 10:10:37 UTC) #17
Jitu( very slow this week)
@David, This patch needed your permission. PTAL...
6 years, 4 months ago (2014-08-01 11:37:51 UTC) #18
Jitu( very slow this week)
The CQ bit was checked by jitendra.ks@samsung.com
6 years, 4 months ago (2014-08-01 17:41:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jitendra.ks@samsung.com/426623004/60001
6 years, 4 months ago (2014-08-01 17:46:16 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-08-01 18:59:52 UTC) #21
Message was sent while issue was closed.
Change committed as 287059

Powered by Google App Engine
This is Rietveld 408576698