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

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed)

Created:
5 years, 1 month ago by Nate Chapin
Modified:
5 years ago
CC:
blink-reviews, blink-reviews-api_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, jam, Nate Chapin, jochen+watch_chromium.org, loading-reviews_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove PluginLoadObserver and related logic, it was only used for NPAPI. This really, truly kills NPN_GetURL, NPN_GetURLNotify, NPN_PostURL, NPN_PostURLNotify, and NPN_URLRedirectResponse. BUG=493212 Committed: https://crrev.com/15bd8a880b4999e376a2cecf53fcea2e7e1838d7 Cr-Commit-Position: refs/heads/master@{#363119}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 12

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 5

Patch Set 13 : #

Patch Set 14 : Rebase, delete http/tests/plugins/geturlnotify-from-npp-destroystream.html #

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -4419 lines) Patch
M components/plugins/renderer/webview_plugin.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -7 lines 0 comments Download
M components/test_runner/test_plugin.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -5 lines 0 comments Download
M content/child/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +0 lines, -10 lines 0 comments Download
M content/child/npapi/plugin_host.cc View 1 2 3 4 5 6 7 4 chunks +11 lines, -183 lines 0 comments Download
M content/child/npapi/plugin_instance.h View 1 2 3 4 5 6 7 10 chunks +1 line, -84 lines 0 comments Download
M content/child/npapi/plugin_instance.cc View 1 2 3 4 5 6 7 12 chunks +2 lines, -273 lines 0 comments Download
M content/child/npapi/plugin_stream.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -148 lines 0 comments Download
M content/child/npapi/plugin_stream.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -282 lines 0 comments Download
D content/child/npapi/plugin_stream_posix.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -59 lines 0 comments Download
M content/child/npapi/plugin_stream_url.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -93 lines 0 comments Download
M content/child/npapi/plugin_stream_url.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -217 lines 0 comments Download
D content/child/npapi/plugin_stream_win.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -79 lines 0 comments Download
M content/child/npapi/plugin_string_stream.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -40 lines 0 comments Download
M content/child/npapi/plugin_string_stream.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -37 lines 0 comments Download
D content/child/npapi/plugin_url_fetcher.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -102 lines 0 comments Download
D content/child/npapi/plugin_url_fetcher.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -406 lines 0 comments Download
M content/child/npapi/webplugin.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -17 lines 0 comments Download
M content/child/npapi/webplugin_delegate.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -57 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -34 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl.cc View 1 2 3 4 5 6 7 4 chunks +0 lines, -93 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M content/child/npapi/webplugin_resource_client.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M content/child/plugin_messages.h View 1 2 3 4 5 6 7 8 6 chunks +0 lines, -56 lines 0 comments Download
M content/content_child.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -10 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -4 lines 0 comments Download
M content/plugin/plugin_channel.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -10 lines 0 comments Download
M content/plugin/webplugin_delegate_stub.h View 1 2 3 4 5 6 7 3 chunks +0 lines, -17 lines 0 comments Download
M content/plugin/webplugin_delegate_stub.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +0 lines, -84 lines 0 comments Download
M content/plugin/webplugin_proxy.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -11 lines 0 comments Download
M content/plugin/webplugin_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +0 lines, -46 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -10 lines 0 comments Download
M content/renderer/npapi/webplugin_delegate_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +0 lines, -36 lines 0 comments Download
M content/renderer/npapi/webplugin_delegate_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +1 line, -147 lines 0 comments Download
M content/renderer/npapi/webplugin_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +4 lines, -50 lines 0 comments Download
M content/renderer/npapi/webplugin_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 13 chunks +3 lines, -337 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_webplugin_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/pepper/pepper_webplugin_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -8 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -10 lines 0 comments Download
M content/shell/tools/plugin/PluginTest.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -4 lines 0 comments Download
M content/shell/tools/plugin/PluginTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -10 lines 0 comments Download
D content/shell/tools/plugin/Tests/DocumentOpenInDestroyStream.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -59 lines 0 comments Download
D content/shell/tools/plugin/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -80 lines 0 comments Download
D content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -122 lines 0 comments Download
D content/shell/tools/plugin/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -55 lines 0 comments Download
M third_party/WebKit/LayoutTests/NeverFixTests View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/get-url.html View 1 2 3 4 5 1 chunk +0 lines, -19 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/get-url-expected.txt View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/get-url-notify-on-removal.html View 1 2 3 4 5 1 chunk +0 lines, -40 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/get-url-notify-on-removal-expected.txt View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/geturlnotify-from-npp-destroystream.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -27 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/geturlnotify-from-npp-destroystream-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/local-geturl-from-remote.html View 1 2 3 4 5 1 chunk +0 lines, -36 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/local-geturl-from-remote-expected.txt View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/npapi-response-headers.html View 1 2 3 4 5 1 chunk +0 lines, -108 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/npapi-response-headers-expected.txt View 1 2 3 4 5 1 chunk +0 lines, -16 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/third-party-cookie-accept-policy.html View 1 2 3 4 5 1 chunk +0 lines, -18 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/plugins/third-party-cookie-accept-policy-expected.txt View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/frame-with-plugin-to-navigate.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -44 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -23 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -19 lines 0 comments Download
D third_party/WebKit/LayoutTests/plugins/document-open.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -20 lines 0 comments Download
D third_party/WebKit/LayoutTests/plugins/document-open-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/plugins/embed-inside-object.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -37 lines 0 comments Download
D third_party/WebKit/LayoutTests/plugins/embed-inside-object-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -5 lines 0 comments Download
D third_party/WebKit/ManualTests/NPN_Invoke/main.c View 1 2 3 4 5 1 chunk +0 lines, -265 lines 0 comments Download
D third_party/WebKit/ManualTests/NPN_Invoke/test.html View 1 2 3 4 5 1 chunk +0 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/core/html/PluginDocument.cpp View 1 chunk +1 line, -8 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.h View 1 2 3 4 5 13 2 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoaderClient.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/plugins/PluginView.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +1 line, -33 lines 0 comments Download
M third_party/WebKit/Source/web/WebDataSourceImpl.h View 1 2 3 4 5 3 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebDataSourceImpl.cpp View 1 2 3 4 5 6 3 chunks +0 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.h View 1 2 3 4 5 6 7 4 chunks +3 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/web/WebPluginContainerImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +1 line, -30 lines 0 comments Download
D third_party/WebKit/Source/web/WebPluginLoadObserver.h View 1 2 3 4 5 13 1 chunk +0 lines, -75 lines 0 comments Download
D third_party/WebKit/Source/web/WebPluginLoadObserver.cpp View 1 2 3 4 5 13 1 chunk +0 lines, -68 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FakeWebPlugin.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/web.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/public/web/WebPlugin.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/public/web/WebPluginContainer.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 40 (19 generated)
Nate Chapin
dcheng, care to review the blink bits, and any others you feel comfortable with? Is ...
5 years, 1 month ago (2015-11-18 00:03:58 UTC) #3
dcheng
I haven't reviewed the patch yet, but 474535 or the bug it's blocking is probably ...
5 years, 1 month ago (2015-11-18 00:13:00 UTC) #4
dcheng
https://codereview.chromium.org/1426923007/diff/120001/content/child/npapi/plugin_host.cc File content/child/npapi/plugin_host.cc (right): https://codereview.chromium.org/1426923007/diff/120001/content/child/npapi/plugin_host.cc#newcode354 content/child/npapi/plugin_host.cc:354: NPError NPN_GetURLNotify(NPP id, I feel like we should just ...
5 years, 1 month ago (2015-11-18 18:38:18 UTC) #5
Nate Chapin
This got big. It's not clear to me whether deleting some of those layout tests ...
5 years, 1 month ago (2015-11-18 23:28:50 UTC) #6
dcheng
lgtm, let's update the CL description to mention that this kills NPN_GetUrl, NPN_PostUrl, and NPN_URLRedirectResponse ...
5 years, 1 month ago (2015-11-19 03:41:40 UTC) #7
Nate Chapin
https://codereview.chromium.org/1426923007/diff/220001/content/child/npapi/plugin_stream.cc File content/child/npapi/plugin_stream.cc (left): https://codereview.chromium.org/1426923007/diff/220001/content/child/npapi/plugin_stream.cc#oldcode1 content/child/npapi/plugin_stream.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
5 years, 1 month ago (2015-11-19 19:28:50 UTC) #8
Nate Chapin
wfh, would you mind double-checking the test deletions and making sure you're OK with them?
5 years, 1 month ago (2015-11-19 19:31:50 UTC) #11
Will Harris
strange, I thought I already replied, sorry. this lgtm - it seems that all the ...
5 years, 1 month ago (2015-11-20 01:00:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1426923007/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1426923007/240001
5 years, 1 month ago (2015-11-20 18:17:29 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/120768)
5 years, 1 month ago (2015-11-20 18:37:12 UTC) #18
Nate Chapin
jochen, is this something you're comfortable reviewing? content/ and components/ are what I still need ...
5 years, 1 month ago (2015-11-20 19:08:27 UTC) #20
jochen (gone - plz use gerrit)
LGTM++
5 years ago (2015-11-24 10:38:31 UTC) #21
sof
Does http/tests/plugins/geturlnotify-from-npp-destroystream.html still serve a purpose after this CL? (It isn't deleted here)
5 years ago (2015-11-26 13:31:25 UTC) #23
dcheng
On 2015/11/26 at 13:31:25, sigbjornf wrote: > Does http/tests/plugins/geturlnotify-from-npp-destroystream.html still serve a purpose after this ...
5 years ago (2015-11-27 20:37:50 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1426923007/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1426923007/260001
5 years ago (2015-12-03 22:37:01 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/38315)
5 years ago (2015-12-03 22:57:19 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1426923007/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1426923007/280001
5 years ago (2015-12-03 23:04:16 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_dbg on ...
5 years ago (2015-12-04 01:10:10 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1426923007/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1426923007/280001
5 years ago (2015-12-04 02:55:18 UTC) #36
commit-bot: I haz the power
Committed patchset #15 (id:280001)
5 years ago (2015-12-04 04:01:44 UTC) #38
commit-bot: I haz the power
5 years ago (2015-12-04 04:02:32 UTC) #40
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/15bd8a880b4999e376a2cecf53fcea2e7e1838d7
Cr-Commit-Position: refs/heads/master@{#363119}

Powered by Google App Engine
This is Rietveld 408576698