0
Commit Graph

82 Commits

Author SHA1 Message Date
Clark DuVall
1df2052bf8 Remove ResourceContext from PluginService
This switches to using BrowserContext instead of ResourceContext for
PluginService and plugin_utils.cc. This required moving
PluginRegistryImpl, PluginInfoHostImpl, and
RenderFrameMessageFilter::OnGetPluginInfo to run on the UI thread.

This eliminates one of the major dependencies of extensions::InfoMap.

Bug: 980774
Change-Id: I7b26c5b40dc8b98c518339b771249ef16e6ec856
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730093
Commit-Queue: Clark DuVall <cduvall@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684082}
2019-08-05 19:58:46 +00:00
Kinuko Yasuda
cd87bdf0aa Run some methods on PluginService on UI thread during navigation.
Some of the methods can be run on any threads while not all of them
are explicitly marked so. Update documentation to make it clear and
call it on UI thread during navigation when needed.

Bug: 824840
Change-Id: I138d70338b2a35e164538918e23e034ba5d7045d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1687015
Reviewed-by: Clark DuVall <cduvall@chromium.org>
Commit-Queue: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674735}
2019-07-04 06:10:18 +00:00
Lei Zhang
fa5e24d9cf Clean up PluginServiceImpl.
- Make GetRegisteredPpapiPluginInfo() return a const pointer.
- Remove dead method declarations.
- Modernize code.

Change-Id: I03d15a156127d51d3371638e4e0839935f2bda59
Reviewed-on: https://chromium-review.googlesource.com/1175551
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586984}
2018-08-29 01:34:09 +00:00
Scott Violet
02e38b93c3 Rename buildflag_headers for consistency
This updates ppapi.

Targets go from foo_features to foo_buildflags
And similarly the header now has buildflags in the name.

BUG=814485
TEST=covered by build
TBR=xhwang@chromium.org

Change-Id: I25f990ebd1e7f8530ddd0cee24dba31c88a45fae
Reviewed-on: https://chromium-review.googlesource.com/980921
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Xiaohan Wang <xhwang@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546312}
2018-03-27 23:42:14 +00:00
Tom Sepez
f84d722890 Add mechanism to count PDF PPAPI processes in browser tests
Call it as appropriate in pdf_extension_test.cc

Split off from https://chromium-review.googlesource.com/c/chromium/src/+/922727
so as to get a baseline before making further changes.

Bug: 809614
Change-Id: I85e947230fd4f87547dac169e2271c2510c41b29
Reviewed-on: https://chromium-review.googlesource.com/953712
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541866}
2018-03-08 19:34:50 +00:00
Tom Sepez
19fecb3def Bound ppapi process totals when isolating by origin.
Otherwise, we risk having an unbounded number of processes.
Results in a "failed to load plugin" page once N == 15 created.
Add test to fork off a handful.

No plugins are yet isolated by origin, so no observable change
to chrome. That will happen in a subsequent CL.

Follow-up to:
  https://chromium-review.googlesource.com/c/chromium/src/+/915182

Bug: 809614
Change-Id: Ie71d41d03d380e31f006173b659023e3de0e3ac8
Reviewed-on: https://chromium-review.googlesource.com/942235
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Ehsan Karamad <ekaramad@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#540565}
2018-03-02 18:40:21 +00:00
Tom Sepez
8db30ad046 Manage ppapi plugins on a per-origin basis.
Expands the management of plugins to consider origin when assigning
a process. Only passes empty origins at present, so no observable
change expected.

Bug: 809614
Change-Id: I129495ddc94c86dc1c4aa1b3a7942354eabe59d4
Reviewed-on: https://chromium-review.googlesource.com/915182
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Ehsan Karamad <ekaramad@chromium.org>
Reviewed-by: Bill Budge <bbudge@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#540294}
2018-03-01 21:38:54 +00:00
Steven Holte
ba045f186a Whitelist UpdateSourceURL callers.
New UKM recorders should avoid using this API, since it requires
additional privacy auditting.

Bug: 780930
Change-Id: If4aef754cc56997a82dce27ffd4df308e894dd7d
Reviewed-on: https://chromium-review.googlesource.com/820683
Reviewed-by: Sebastien Seguin-Gagnon <sebsg@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Reviewed-by: Brian White <bcwhite@chromium.org>
Commit-Queue: Steven Holte <holte@chromium.org>
Cr-Commit-Position: refs/heads/master@{#525836}
2017-12-21 22:39:43 +00:00
Raymes Khoury
978652cd62 Add UKM to record actions associated with the Pepper Broker
Records when the Pepper broker process channel is opened by a plugin.

Bug: 756138
Change-Id: Ibc480af41cb0f0b004d167dcefae325e7920b7ad
Reviewed-on: https://chromium-review.googlesource.com/778743
Commit-Queue: Raymes Khoury <raymes@chromium.org>
Reviewed-by: Brett Wilson <brettw@chromium.org>
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519228}
2017-11-27 06:28:37 +00:00
Nico Weber
43ddd7a3af Remove uses NON_EXPORTED_BASE now that it's a no-op.
CL generated by

   git grep -l NON_EXPORTED_BASE | xargs sed -i 's/NON_EXPORTED_BASE(\([^)]*\))/\1/g'
   git cl format

I'm not changing compiler_specific.h itself in this cl, to keep the revert
small if the subsequent removal of the actual macro should break something.

Bug: 752837
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_site_isolation;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I53d6460e592b91a173f7aa55dfdb05631e51e5f7
Reviewed-on: https://chromium-review.googlesource.com/614703
Reviewed-by: Brett Wilson <brettw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#494486}
2017-08-15 19:19:27 +00:00
fdoray
9292e072c4 Use PostTaskAndReplyWithResult in plugin_service_impl.cc.
BUG=

Review-Url: https://codereview.chromium.org/2873963005
Cr-Commit-Position: refs/heads/master@{#471549}
2017-05-13 03:47:51 +00:00
leon.han
9ed4df7531 Remove ScopedVector from content/browser/.
base::ScopedVector is deprecated, see bug.

BUG=554289
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2752533003
Cr-Commit-Position: refs/heads/master@{#456954}
2017-03-15 02:17:03 +00:00
brettw
4b46108b37 Convert enable_plugins to a buildflag header.
Moves the build flag from build/config/features.gni to ppapi/features/features.gni so it's not global any more.

Moves the define from build/config (global) to a generated buildflag header //ppapi/features:features. Updates callers to use BUILDFLAG, include the new header, and depend on this target.

R=bbudge
TBR=rsesek@chromium.org (*_messages.h files).
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2512563003
Cr-Commit-Position: refs/heads/master@{#433426}
2016-11-19 18:58:06 +00:00
jbriance
ed975026c4 content: Cleanup class/struct forward declarations
Remove useless class and struct forward declarations, and add
missing ones in content header files.

BUG=662195
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2473003002
Cr-Commit-Position: refs/heads/master@{#429839}
2016-11-04 09:16:42 +00:00
tommycli
f2a1e9f94f [HBD] Blanket BLOCK on all non-HTTP(s) and non-FILE URLs for Flash.
This patch does two things:

1) Blocks all non-HTTP and non-FILE plugin loads within plugin_utils.cc (unless the user has chosen ALLOW)

2) Fixes FILE plugin loads. Previously, FILE origins were getting lost in the GetPlugins, since WebSecurityOrigin serializes FILE origins to "null".

This meant that content settings exceptions did not work correctly for the plugin list retrieval. This didn't matter before HBD because the plugin list wasn't affected by content settings until HBD.

This patch fixes it by passing url::Origin throughout the Plugins code rather than GURL for the page origin.

BUG=649223
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2378573005
Cr-Commit-Position: refs/heads/master@{#423598}
2016-10-06 18:37:14 +00:00
fdoray
5e1706c385 Remove calls to IsRunningSequenceOnCurrentThread() from plugin_service_impl.cc
SequencedWorkerPool is being migrated to base/task_scheduler and there
is no equivalent to IsRunningSequenceOnCurrentThread() in
base/task_scheduler.

Developers should use SequenceChecker to verify that tasks run
sequentially. Unlike
SequencedWorkerPool::IsRunningSequenceOnCurrentThread(),
SequenceChecker works everywhere in Chrome (MessageLoop,
SequencedWorkerPool, base/task_scheduler...).

BUG=622400

Review-Url: https://codereview.chromium.org/2319623002
Cr-Commit-Position: refs/heads/master@{#417266}
2016-09-08 12:58:36 +00:00
dcheng
5971627d34 Convert //content/browser from scoped_ptr to std::unique_ptr
BUG=554298
R=avi@chromium.org

Review URL: https://codereview.chromium.org/1874893002

Cr-Commit-Position: refs/heads/master@{#386285}
2016-04-09 05:20:41 +00:00
piman
e8c57eac84 Remove NPAPI from browser and utility
This pulls a lot of hairballs but that's pretty much everything left.

BUG=493212,123851,234591,238460
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation

Review URL: https://codereview.chromium.org/1862513003

Cr-Commit-Position: refs/heads/master@{#385358}
2016-04-06 01:21:31 +00:00
piman
bfb2cebc0c Remove windowed NPAPI code
BUG=493212
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation

Review URL: https://codereview.chromium.org/1815593002

Cr-Commit-Position: refs/heads/master@{#382094}
2016-03-18 21:35:03 +00:00
avi
b7348940d3 Switch to standard integer types in content/browser/.
BUG=138542
TBR=jam@chromium.org

Review URL: https://codereview.chromium.org/1549113002

Cr-Commit-Position: refs/heads/master@{#366868}
2015-12-25 20:58:00 +00:00
olli.raula
36aa8be4eb Move Singleton and related structs to namespace base
Public APIs from base should live inside base:: so moved Singleton class
and structs to base{} and fixed consumers.

also fixed:

** Presubmit ERRORS **
Found Singleton<T> in the following header files.
Please move them to an appropriate source file so that the template
gets instantiated in a single compilation unit.
  chrome/browser/plugins/plugin_finder.h \
  chromecast/media/base/media_message_loop.h \
  content/browser/media/android/media_drm_credential_manager.h

Presubmit warnings:
src/chrome/browser/extensions/warning_badge_service_factory.h:5:
  #ifndef header guard has wrong style, please use:
  CHROME_BROWSER_EXTENSIONS_WARNING_BADGE_SERVICE_FACTORY_H_
  [build/header_guard] [5]
src/chrome/browser/extensions/warning_badge_service_factory.h:39:
  #endif line should be "#endif  //
  CHROME_BROWSER_EXTENSIONS_WARNING_BADGE_SERVICE_FACTORY_H_"
  [build/header_guard] [5]

TBR=jam@chromium.org

Review URL: https://codereview.chromium.org/1308823002

Cr-Commit-Position: refs/heads/master@{#348136}
2015-09-10 11:15:10 +00:00
skyostil
95082a6a47 content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs
This patch was mostly autogenerated with
https://codereview.chromium.org/1010073002/.

BUG=465354
TBR=nick@chromium.org

Committed: https://crrev.com/422456f9d53f0bf936a64f21a1463fd0abd3df84
Cr-Commit-Position: refs/heads/master@{#333081}

Review URL: https://codereview.chromium.org/1159623009

Cr-Commit-Position: refs/heads/master@{#333112}
2015-06-05 19:53:37 +00:00
skyostil
d4104aab63 Revert "content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs"
This reverts commit 422456f9d5.

TBR=zea@chromium.org
BUG=465354
NOTRY=true
NOTREECHECKS=true

Review URL: https://codereview.chromium.org/1170623003

Cr-Commit-Position: refs/heads/master@{#333086}
2015-06-05 17:49:39 +00:00
skyostil
422456f9d5 content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs
This patch was mostly autogenerated with
https://codereview.chromium.org/1010073002/.

BUG=465354
TBR=nick@chromium.org

Review URL: https://codereview.chromium.org/1159623009

Cr-Commit-Position: refs/heads/master@{#333081}
2015-06-05 17:24:40 +00:00
skyostil
74f13dc2b6 Revert "content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs"
This reverts commit 5d18b2493a.

Reason: Broke iOS build: http://build.chromium.org/p/chromium.mac/builders/iOS_Simulator_%28dbg%29/builds/27843

NOTRY=true
NOTREECHECKS=true
BUG=465354
TBR=sievers@chromium.org,nick@chromium.org

Review URL: https://codereview.chromium.org/1153503009

Cr-Commit-Position: refs/heads/master@{#333047}
2015-06-05 15:26:51 +00:00
skyostil
5d18b2493a content: Remove use of MessageLoopProxy and deprecated MessageLoop APIs
This patch was mostly autogenerated with
https://codereview.chromium.org/1010073002/.

BUG=465354
TBR=nick@chromium.org

Review URL: https://codereview.chromium.org/1159623009

Cr-Commit-Position: refs/heads/master@{#333043}
2015-06-05 14:21:03 +00:00
wfh
cfdd80f3d2 Disable NPAPI support by removing the --enable-npapi switch, chrome://flags and enterprise policy override.
--enable-npapi-for-testing will remain temporarily until the rest of the NPAPI code and tests are removed.

This is a selective revert of 0539f2f521 and 26d09db193.

BUG=493212,489066

Review URL: https://codereview.chromium.org/1158423003

Cr-Commit-Position: refs/heads/master@{#332006}
2015-05-29 17:56:57 +00:00
nick
5120892497 Update {virtual,override} to follow C++11 style in content.
The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override.

This patch was manually generated using a regex and a text editor.

BUG=417463

Review URL: https://codereview.chromium.org/1091093006

Cr-Commit-Position: refs/heads/master@{#326880}
2015-04-24 21:38:54 +00:00
wfh
26d09db193 Enable NPAPI if policy has plugin policies.
BUG=472648
TEST=manual - verify that NPAPI plugins appear in chrome://plugins when either a machine or user plugin policy is set.

Review URL: https://codereview.chromium.org/1071713004

Cr-Commit-Position: refs/heads/master@{#324754}
2015-04-11 02:24:30 +00:00
tommycli
e86b2982a9 Plugin Power Saver: Replace all "plug-in" with "plugin" for consistency.
Passed chrome-ui-review: https://groups.google.com/a/google.com/d/msg/chrome-ui-review/FwuQ2TWc5n8/H3PSuV4L_cAJ

BUG=467165

TBR=tsepez
(comment changes only in render_messages)

NOPRESUBMIT=true
(legacy LOG messages)

Review URL: https://codereview.chromium.org/1007443004

Cr-Commit-Position: refs/heads/master@{#320782}
2015-03-16 20:17:22 +00:00
wfh
0539f2f521 Block NPAPI plugins by default
Add --enable-npapi flag in chrome://flags to support re-enable.

BUG=295137
TEST=browser_tests, unit_tests, content_browsertests, blink layout tests

Review URL: https://codereview.chromium.org/645203002

Cr-Commit-Position: refs/heads/master@{#312374}
2015-01-21 14:38:17 +00:00
dcheng
c2282aa891 Standardize usage of virtual/override/final in content/browser/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.

BUG=417463
TBR=sky@chromium.org

Review URL: https://codereview.chromium.org/667943003

Cr-Commit-Position: refs/heads/master@{#300469}
2014-10-21 12:08:25 +00:00
rvargas
6f315b85b9 Remove raw handles from base::win::RegKey
BUG=419210, 423634
R=cpu@chromium.org, eroman@chromium.org, sky@chromium.org

Committed: https://crrev.com/1aa0fa75b65f403e08ae0f3f2fcb053c02cd9ef2
Cr-Commit-Position: refs/heads/master@{#299737}

Review URL: https://codereview.chromium.org/632833002

Cr-Commit-Position: refs/heads/master@{#300036}
2014-10-17 01:29:21 +00:00
dcheng
4fe6ccadfd Revert of Remove raw handles from base::win::RegKey (patchset id:330001 of https://codereview.chromium.org/632833002/)
Reason for revert:
Causing base_unittests failures on XP Tests (1)

Original issue's description:
> Remove raw handles from base::win::RegKey
>
> BUG=419210, 423634
> R=cpu@chromium.org, eroman@chromium.org, sky@chromium.org
>
> Committed: https://crrev.com/1aa0fa75b65f403e08ae0f3f2fcb053c02cd9ef2
> Cr-Commit-Position: refs/heads/master@{#299737}

TBR=cpu@chromium.org,eroman@chromium.org,jam@chromium.org,rvargas@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=419210, 423634

Review URL: https://codereview.chromium.org/652903005

Cr-Commit-Position: refs/heads/master@{#299828}
2014-10-16 03:09:45 +00:00
rvargas
1aa0fa75b6 Remove raw handles from base::win::RegKey
BUG=419210, 423634
R=cpu@chromium.org, eroman@chromium.org, sky@chromium.org

Review URL: https://codereview.chromium.org/632833002

Cr-Commit-Position: refs/heads/master@{#299737}
2014-10-15 19:17:09 +00:00
mohan.reddy
7fc3ac7d5a Replace FINAL and OVERRIDE with their C++11 counterparts in content
This step is a giant search and replace for OVERRIDE and FINAL to
replace them with their lowercase versions.

BUG=417463

Review URL: https://codereview.chromium.org/637183002

Cr-Commit-Position: refs/heads/master@{#298804}
2014-10-09 05:24:24 +00:00
thestig
c4cac8f477 Cleanup: Put more plugin code behind the ENABLE_PLUGINS ifdef.
Review URL: https://codereview.chromium.org/525513003

Cr-Commit-Position: refs/heads/master@{#293338}
2014-09-04 21:23:10 +00:00
hamaji@chromium.org
aec5ed535e Pepper: Whitelist dev channel APIs for some apps.
Some applications need access to dev channel APIs before they will
become stable. As written, this change only performs whitelisting for NaCl
apps; I don't think we have any need for enabling this in the non-NaCl case.

I need to find a good way to test this.

BUG=383937
R=dmichael@chromium.org, jln@chromium.org, piman@chromium.org

Review URL: https://codereview.chromium.org/338523007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278645 0039d316-1c4b-4281-b951-d872f2087c98
2014-06-20 07:51:42 +00:00
bauerb@chromium.org
aa7f880a41 Restart plugin loading only if the plugin list has actually become stale.
BUG=171404

Review URL: https://codereview.chromium.org/128773002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247252 0039d316-1c4b-4281-b951-d872f2087c98
2014-01-27 16:56:32 +00:00
tfarina@chromium.org
06a095049f content: Remove odd and unused forward declaration in plugin_service_impl.h
I found this while grepping for "namespace webkit {".

BUG=None
TEST=None
TBR=sky@chromium.org

Review URL: https://codereview.chromium.org/147713003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247169 0039d316-1c4b-4281-b951-d872f2087c98
2014-01-26 10:13:53 +00:00
teravest@chromium.org
8ddc6b7c44 Pepper: Send dev/canary channel status to plugins.
As part of supporting "dev channel" methods in Pepper APIs, the plugin needs to
know whether or not it's running in a channel that supports those methods.

This patch plumbs that information through LoadPlugin so it's available by the
time get_interface<>() would ever be called.

TBR=piman
BUG=325403

Review URL: https://codereview.chromium.org/104673003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240398 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-12 20:42:06 +00:00
jam@chromium.org
60eca4eb05 Move more of the plugin code in the renderer to use RenderFrame instead of RenderView.
This is part of the work of making ContentRendererClient's OverrideCreatePlugin and CreatePluginReplacement take only a RenderFrame. I'm still not there yet, which is why their signatures haven't been trimmed.

BUG=304341
R=fsamuel@chromium.org, nasko@chromium.org

Review URL: https://codereview.chromium.org/107183002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239075 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-06 00:02:16 +00:00
brettw@chromium.org
fcf75d4016 Convert string16 to base::string16 in content.
BUG=

Review URL: https://codereview.chromium.org/102593002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238447 0039d316-1c4b-4281-b951-d872f2087c98
2013-12-03 20:11:26 +00:00
ygorshenin@chromium.org
8522332eef TCPSockets are switched to the new Pepper proxy.
BUG=230784
TEST=browser_tests:*TCPSocket*, *TCPServerSocket*

Review URL: https://chromiumcodereview.appspot.com/22923014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220073 0039d316-1c4b-4281-b951-d872f2087c98
2013-08-28 19:42:59 +00:00
jam@chromium.org
dac6a5ac4f Split PepperPluginRegistry into the pieces that are needed in each process. content/common only needed a simple method to get the list of pepper plugins. The zygote specific method moves to content/zygote. The rest moves to content/renderer, as that has dependencies on the pepper implementation which depends on blink.
BUG=263054
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/20172004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213593 0039d316-1c4b-4281-b951-d872f2087c98
2013-07-25 05:06:48 +00:00
jam@chromium.org
d7bd3e5a34 Move webplugininfo.h to content/public.
BUG=237249
TBR=scottmg

Review URL: https://codereview.chromium.org/19894003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212812 0039d316-1c4b-4281-b951-d872f2087c98
2013-07-21 04:29:20 +00:00
jam@chromium.org
9a60ccb9a1 Remove webkit/plugins/npapi.
-NPAPIPluginsSupported moves to PluginService
  -no need to call it in PluginList methods anymore since PluginService is now the only place that calls these methods, and it can check first
  -no need for the renderer to call this first since now the browser won't enumerate NPAPI plugins if it's disabled
-CreateVersionFromString moves to WebPluginInfo. I couldn't find a better place to put it.
-move the constants back to plugin_constants_win.h
-move PLUGIN_QUIRK_DIE_AFTER_UNLOAD handling to WebPluginDelegateStub and PluginThread instead of being a global
-GetDefaultWindowParent moves to plugin_constants_win.h. I couldn't find a better place.
-IsPluginWindow moves to PluginService
-GetPluginNameFromWindow and GetPluginVersionFromWindow are both replaced by GetPluginInfoFromWindow which is on PluginService
-IsDummyActivationWindow was called by one place so I moved the code there

BUG=237249
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/19844003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212672 0039d316-1c4b-4281-b951-d872f2087c98
2013-07-19 22:23:36 +00:00
jam@chromium.org
8f337212cc Remove plugin_list.h includes from chrome tests in preparation for moving webkit/plugins to content/. To do this, I simplified how we disable plugin loading for tests, and also updated the test in content to use the new way.
BUG=237249
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/19706002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212249 0039d316-1c4b-4281-b951-d872f2087c98
2013-07-18 04:34:14 +00:00
jam@chromium.org
fb476a2653 Remove the two years old code to enable the nacl plugin once if it's disabled. This was added to deal with old profiles when we had the plugin disabled by default. There have been 15 releases in the meantime, which is enough chances to update this pref.
This is in preparation for moving webkit/plugins to content/.

BUG=237249
R=bauerb@chromium.org

Review URL: https://codereview.chromium.org/19518006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212104 0039d316-1c4b-4281-b951-d872f2087c98
2013-07-17 19:01:47 +00:00
tfarina@chromium.org
707e1c4664 content: Migrate from googleurl/ includes to url/ ones.
BUG=229660
TBR=darin@chromium.org

Review URL: https://codereview.chromium.org/18868005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210626 0039d316-1c4b-4281-b951-d872f2087c98
2013-07-09 21:18:58 +00:00