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

Issue 2179903005: [Prerender] Change IPC from bool to enum for more prerender modes (Closed)

Created:
4 years, 4 months ago by droger
Modified:
4 years, 4 months ago
CC:
chromium-reviews, tburkard+watch_chromium.org, gavinp+prer_chromium.org, cbentzel+watch_chromium.org, mattcary
Base URL:
https://chromium.googlesource.com/chromium/src.git@prefetchProto
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Prerender] Change IPC from bool to enum for more prerender modes This change is in preparation for adding a PreFetch mode to prerendering. BUG=632361 Committed: https://crrev.com/67b240c6628573aa3437e14fc82edcb7de78e944 Cr-Commit-Position: refs/heads/master@{#409494}

Patch Set 1 #

Patch Set 2 : comment #

Total comments: 3

Patch Set 3 : != NO_PRERENDER #

Patch Set 4 : Fix windows compile #

Total comments: 2

Patch Set 5 : add trailing comma #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -13 lines) Patch
M chrome/browser/prerender/prerender_contents.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/prerender_messages.h View 1 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/common/prerender_types.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_render_frame_observer.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_frame_observer.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.cc View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M chrome/renderer/prerender/prerender_helper.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/prerender/prerender_helper.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (20 generated)
mattcary
https://codereview.chromium.org/2179903005/diff/20001/chrome/renderer/chrome_render_frame_observer.cc File chrome/renderer/chrome_render_frame_observer.cc (right): https://codereview.chromium.org/2179903005/diff/20001/chrome/renderer/chrome_render_frame_observer.cc#newcode166 chrome/renderer/chrome_render_frame_observer.cc:166: if (mode == prerender::FULL_PRERENDER) { Should this be mode ...
4 years, 4 months ago (2016-07-27 11:31:54 UTC) #2
droger
https://codereview.chromium.org/2179903005/diff/20001/chrome/renderer/chrome_render_frame_observer.cc File chrome/renderer/chrome_render_frame_observer.cc (right): https://codereview.chromium.org/2179903005/diff/20001/chrome/renderer/chrome_render_frame_observer.cc#newcode166 chrome/renderer/chrome_render_frame_observer.cc:166: if (mode == prerender::FULL_PRERENDER) { On 2016/07/27 11:31:54, mattcary ...
4 years, 4 months ago (2016-07-27 13:16:55 UTC) #3
mattcary
lgtm
4 years, 4 months ago (2016-07-27 15:23:39 UTC) #4
droger
+ mmenke as OWNER of prerender + rsesek for IPC messages.
4 years, 4 months ago (2016-07-28 11:58:57 UTC) #6
Robert Sesek
_messages LGTM
4 years, 4 months ago (2016-07-28 14:19:24 UTC) #8
mmenke
Could you please add a "bug=" line for this? Also, is this code going to ...
4 years, 4 months ago (2016-07-28 14:37:35 UTC) #9
droger
On 2016/07/28 14:37:35, mmenke wrote: > Could you please add a "bug=" line for this? ...
4 years, 4 months ago (2016-07-28 15:30:11 UTC) #11
mmenke
On 2016/07/28 15:30:11, droger wrote: > On 2016/07/28 14:37:35, mmenke wrote: > > Could you ...
4 years, 4 months ago (2016-07-28 15:37:44 UTC) #12
droger
+thakis for: chrome/renderer/chrome_render_frame_observer chrome/common/prerender_types.h
4 years, 4 months ago (2016-08-02 09:42:10 UTC) #14
Nico
lgtm https://codereview.chromium.org/2179903005/diff/60001/chrome/common/prerender_types.h File chrome/common/prerender_types.h (right): https://codereview.chromium.org/2179903005/diff/60001/chrome/common/prerender_types.h#newcode21 chrome/common/prerender_types.h:21: PRERENDER_MODE_COUNT = 3 nit: include a trailing ,
4 years, 4 months ago (2016-08-02 20:54:40 UTC) #23
droger
Thanks for the reviews. https://codereview.chromium.org/2179903005/diff/60001/chrome/common/prerender_types.h File chrome/common/prerender_types.h (right): https://codereview.chromium.org/2179903005/diff/60001/chrome/common/prerender_types.h#newcode21 chrome/common/prerender_types.h:21: PRERENDER_MODE_COUNT = 3 On 2016/08/02 ...
4 years, 4 months ago (2016-08-03 07:50:45 UTC) #24
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/2179903005/80001
4 years, 4 months ago (2016-08-03 07:51:09 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/244585)
4 years, 4 months ago (2016-08-03 07:53:22 UTC) #29
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/2179903005/100001
4 years, 4 months ago (2016-08-03 11:08:33 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-03 11:50:42 UTC) #34
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 11:53:00 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/67b240c6628573aa3437e14fc82edcb7de78e944
Cr-Commit-Position: refs/heads/master@{#409494}

Powered by Google App Engine
This is Rietveld 408576698