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

Issue 1126073003: Plugin Placeholders: Refactor for platforms that don't support plugins (Closed)

Created:
5 years, 7 months ago by tommycli
Modified:
5 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plugin Placeholders: Refactor for platforms that don't support plugins This patch removes a lot of plugin placeholder code from builds that don't support plugins (enable_plugins==0). BUG= Committed: https://crrev.com/0bd1dade4968461abd05b807baf7c22088b3035a Cr-Commit-Position: refs/heads/master@{#330444}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 8

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : The version that was reverted. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+319 lines, -270 lines) Patch
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 16 chunks +55 lines, -55 lines 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.h View 1 2 3 2 chunks +1 line, -7 lines 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.cc View 1 2 3 10 chunks +5 lines, -45 lines 0 comments Download
A chrome/renderer/plugins/non_loadable_plugin_placeholder.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/renderer/plugins/non_loadable_plugin_placeholder.cc View 1 2 3 4 5 6 7 8 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/renderer/plugins/plugin_preroller.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/resources/blocked_plugin.html View 1 2 3 4 5 6 3 chunks +7 lines, -4 lines 0 comments Download
M components/plugins.gypi View 1 chunk +7 lines, -2 lines 0 comments Download
M components/plugins/renderer/BUILD.gn View 1 1 chunk +8 lines, -2 lines 0 comments Download
M components/plugins/renderer/loadable_plugin_placeholder.h View 1 2 3 5 chunks +3 lines, -14 lines 0 comments Download
M components/plugins/renderer/loadable_plugin_placeholder.cc View 1 2 3 11 chunks +12 lines, -105 lines 0 comments Download
M components/plugins/renderer/mobile_youtube_plugin.h View 1 2 3 4 5 2 chunks +1 line, -5 lines 0 comments Download
M components/plugins/renderer/mobile_youtube_plugin.cc View 1 2 3 4 5 3 chunks +3 lines, -18 lines 0 comments Download
M components/plugins/renderer/plugin_placeholder.h View 1 2 3 2 chunks +22 lines, -5 lines 0 comments Download
M components/plugins/renderer/plugin_placeholder.cc View 1 2 3 4 5 6 7 8 3 chunks +85 lines, -5 lines 0 comments Download
M components/plugins/renderer/webview_plugin.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 42 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126073003/1
5 years, 7 months ago (2015-05-15 19:57:09 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/72191) linux_chromium_gn_dbg on ...
5 years, 7 months ago (2015-05-15 20:07:15 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126073003/40001
5 years, 7 months ago (2015-05-15 20:29:23 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/88877)
5 years, 7 months ago (2015-05-15 20:48:23 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126073003/80001
5 years, 7 months ago (2015-05-15 22:19:53 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/88943)
5 years, 7 months ago (2015-05-15 22:39:56 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126073003/100001
5 years, 7 months ago (2015-05-15 22:43:23 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126073003/140001
5 years, 7 months ago (2015-05-15 23:29:45 UTC) #16
tommycli
bauerb: ptal This is the refactor we discussed a while ago making LoadablePluginPlaceholder only used ...
5 years, 7 months ago (2015-05-15 23:57:58 UTC) #18
Bernhard Bauer
Nice! The CL description is a bit unclear though. https://codereview.chromium.org/1126073003/diff/140001/chrome/renderer/plugins/non_loadable_plugin_placeholder.cc File chrome/renderer/plugins/non_loadable_plugin_placeholder.cc (right): https://codereview.chromium.org/1126073003/diff/140001/chrome/renderer/plugins/non_loadable_plugin_placeholder.cc#newcode19 chrome/renderer/plugins/non_loadable_plugin_placeholder.cc:19: ...
5 years, 7 months ago (2015-05-16 00:22:21 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-16 00:54:23 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126073003/160001
5 years, 7 months ago (2015-05-18 20:47:21 UTC) #23
tommycli
bauerb: thanks! https://codereview.chromium.org/1126073003/diff/140001/chrome/renderer/plugins/non_loadable_plugin_placeholder.cc File chrome/renderer/plugins/non_loadable_plugin_placeholder.cc (right): https://codereview.chromium.org/1126073003/diff/140001/chrome/renderer/plugins/non_loadable_plugin_placeholder.cc#newcode19 chrome/renderer/plugins/non_loadable_plugin_placeholder.cc:19: plugins::PluginPlaceholder* CreateMissingPluginPlaceholder( On 2015/05/16 00:22:21, Bernhard Bauer ...
5 years, 7 months ago (2015-05-18 21:12:42 UTC) #24
tommycli
thestig: PTAL chrome/renderer/chrome_content_renderer_client.cc chrome/renderer/chrome_content_renderer_client.h chrome/renderer/resources/blocked_plugin.html Thanks! Tommy
5 years, 7 months ago (2015-05-18 21:13:26 UTC) #26
Bernhard Bauer
lgtm https://codereview.chromium.org/1126073003/diff/160001/chrome/renderer/plugins/non_loadable_plugin_placeholder.h File chrome/renderer/plugins/non_loadable_plugin_placeholder.h (right): https://codereview.chromium.org/1126073003/diff/160001/chrome/renderer/plugins/non_loadable_plugin_placeholder.h#newcode35 chrome/renderer/plugins/non_loadable_plugin_placeholder.h:35: const base::FilePath& file_path); Add DISALLOW_IMPLICIT_CONSTRUCTORS(NonLoadablePluginPlaceholder) to prevent instantiation.
5 years, 7 months ago (2015-05-18 21:29:12 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126073003/180001
5 years, 7 months ago (2015-05-18 21:42:24 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126073003/200001
5 years, 7 months ago (2015-05-18 21:47:45 UTC) #33
tommycli
bauerb: thanks! https://codereview.chromium.org/1126073003/diff/160001/chrome/renderer/plugins/non_loadable_plugin_placeholder.h File chrome/renderer/plugins/non_loadable_plugin_placeholder.h (right): https://codereview.chromium.org/1126073003/diff/160001/chrome/renderer/plugins/non_loadable_plugin_placeholder.h#newcode35 chrome/renderer/plugins/non_loadable_plugin_placeholder.h:35: const base::FilePath& file_path); On 2015/05/18 21:29:12, Bernhard ...
5 years, 7 months ago (2015-05-18 22:09:57 UTC) #34
Lei Zhang
On 2015/05/18 21:13:26, tommycli wrote: > thestig: PTAL > chrome/renderer/chrome_content_renderer_client.cc > chrome/renderer/chrome_content_renderer_client.h > chrome/renderer/resources/blocked_plugin.html lgtm
5 years, 7 months ago (2015-05-18 22:29:14 UTC) #35
tommycli
thestig: thank you!
5 years, 7 months ago (2015-05-18 22:29:39 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1126073003/200001
5 years, 7 months ago (2015-05-18 22:29:55 UTC) #39
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 7 months ago (2015-05-18 22:58:22 UTC) #40
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/0bd1dade4968461abd05b807baf7c22088b3035a Cr-Commit-Position: refs/heads/master@{#330444}
5 years, 7 months ago (2015-05-18 22:59:14 UTC) #41
brucedawson
5 years, 7 months ago (2015-05-19 00:42:58 UTC) #42
Message was sent while issue was closed.
There is a failed Mac ASan 64 Tests build that FindIt suspects is related to
this change. I'm taking a look but I thought I'd pass that along in parallel:

https://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Tests...

Powered by Google App Engine
This is Rietveld 408576698