summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_service_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* Restart plugin loading only if the plugin list has actually become stale.bauerb@chromium.org2014-01-271-14/+26
| | | | | | | | 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
* Update uses of UTF conversions in content/ to use the base:: namespace.avi@chromium.org2013-12-251-2/+2
| | | | | | | | | | BUG=330556 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/121033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242483 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Send dev/canary channel status to plugins.teravest@chromium.org2013-12-121-0/+5
| | | | | | | | | | | | | | | 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
* Instrument pepper plugin load failures.ihf@chromium.org2013-12-101-4/+20
| | | | | | | | | | | | | | ChromeOS experiences an increased failure to load Pepper Flash plugins. To help investigate these failures in the field increase logging. Also disallow npapi plugin generation on ChromeOS as a fallback. We don't need a zombie process when this failure happens. BUG=chromium:314301 TEST=kill -stop, reload, kill -9 ppapi process on Pixel. Review URL: https://codereview.chromium.org/103623003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239740 0039d316-1c4b-4281-b951-d872f2087c98
* Move more of the plugin code in the renderer to use RenderFrame instead of ↵jam@chromium.org2013-12-061-9/+9
| | | | | | | | | | | | | 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
* Convert string16 to base::string16 in content.brettw@chromium.org2013-12-031-2/+2
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/102593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238447 0039d316-1c4b-4281-b951-d872f2087c98
* LOG(INFO) -> VLOG(0) in content/scottmg@chromium.org2013-11-231-2/+2
| | | | | | | | | | | | Let me know if you prefer to keep some of these as INFO or just delete them. R=jam@chromium.org BUG=322805 Review URL: https://codereview.chromium.org/84293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236936 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webview-based behavior from --site-per-process flag.creis@chromium.org2013-11-051-18/+1
| | | | | | | | | | | We're getting close to actually swapping RenderFrameHosts instead. BUG=99379, 314791 TEST=none Review URL: https://codereview.chromium.org/53153008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232969 0039d316-1c4b-4281-b951-d872f2087c98
* Add more support for FreeBSDGeo.Liaskos@gmail.com2013-09-211-1/+2
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/16206002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224546 0039d316-1c4b-4281-b951-d872f2087c98
* Check whether the Pepper CDM is available before adding the key system.ddorwin@chromium.org2013-09-171-1/+1
| | | | | | | | | | | | This adds a synchronous IPC from chrome_key_systems.cc to the browser process to check with the PluginService. BUG=224793 TEST=existing IsTypeSupported browser tests and new negative tests Review URL: https://chromiumcodereview.appspot.com/23828007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223719 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of windows stuff from ui/base/win to ui/gfx/winben@chromium.org2013-09-121-2/+2
| | | | | | | | | R=sky@chromium.org BUG=103304 Review URL: https://codereview.chromium.org/23769011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222860 0039d316-1c4b-4281-b951-d872f2087c98
* TCPSockets are switched to the new Pepper proxy.ygorshenin@chromium.org2013-08-281-5/+3
| | | | | | | | | 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
* Get rid of webkit/plugins/plugin_constants.* and move them to ↵jam@chromium.org2013-08-091-1/+1
| | | | | | | | | | | content/public/common/content_constants. This allows us to delete webkit_plugins.gyp and webkit/plugins. BUG=265753 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/22723004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216553 0039d316-1c4b-4281-b951-d872f2087c98
* Split PepperPluginRegistry into the pieces that are needed in each process. ↵jam@chromium.org2013-07-251-3/+2
| | | | | | | | | | | 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
* Move webplugininfo.h to content/public.jam@chromium.org2013-07-211-20/+20
| | | | | | | | | 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
* Remove webkit/plugins/npapi.jam@chromium.org2013-07-191-4/+59
| | | | | | | | | | | | | | | | | | | | -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
* Move NPAPI implementation out of webkit/plugins/npapi and into content.jam@chromium.org2013-07-191-24/+22
| | | | | | | | | | | | | | | | Notes: -gtk_plugin_container_manager* and gtk_plugin_container* move to content/browser/renderer_host/ since that's all where they're used -plugin_list* and plugin_constants_win* move to content/common as they're used by child processes and the browser -webplugin_impl* and webplugin_page_delegate.h move to content/renderer as that's where they're used. I will remove webplugin_page_delegate.h in a followup change as it's no longer needed. -the rest moves to content/child/npapi -a few constants moved from plugin_constants_win.h to plugin_util.h temporarily BUG=237249 TBR=scottmg Review URL: https://codereview.chromium.org/19761007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212485 0039d316-1c4b-4281-b951-d872f2087c98
* Remove plugin_list.h includes from chrome tests in preparation for moving ↵jam@chromium.org2013-07-181-34/+32
| | | | | | | | | | | 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
* Use a direct include of the message_loop header in content/, part 2.avi@chromium.org2013-07-181-1/+1
| | | | | | | | | | BUG=260807 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/19618002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212184 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the two years old code to enable the nacl plugin once if it's ↵jam@chromium.org2013-07-171-4/+0
| | | | | | | | | | | | | 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
* Remove unused includes of plugin_list.h. Also remove unused ContentClient ↵jam@chromium.org2013-07-161-4/+1
| | | | | | | | | | | and webkit_support methods that referenced or used PluginList. BUG=237249 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/19381007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211830 0039d316-1c4b-4281-b951-d872f2087c98
* Make utility process run in-process when running in single-process mode.jam@chromium.org2013-07-091-0/+7
| | | | | | | | | | | Remove the unit test/single process code path for SandboxedUnpacker as a first step. BUG=19192 R=asargent@chromium.org, scottmg@chromium.org Review URL: https://codereview.chromium.org/18119009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210620 0039d316-1c4b-4281-b951-d872f2087c98
* Adding --disable-plugins-discovery command line switch to not load ↵sevalo@google.com2013-06-121-0/+3
| | | | | | | | | | | | | | third-party plugins from common locations. When --disable-plugins-discovery switch is set, any built-in plugins are still loaded as well as third-party ones that are explicitly requested with --extra-plugin-dir or --load-plugin switches. No other plugins are loaded. Switch is effective on posix, mac and win platforms. BUG=239325 Review URL: https://chromiumcodereview.appspot.com/16369004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205850 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in content/browser/, part 2.avi@chromium.org2013-06-111-1/+1
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16625010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205435 0039d316-1c4b-4281-b951-d872f2087c98
* Update includes of message_loop_proxy.brettw@chromium.org2013-06-101-1/+1
| | | | | | | | | | | This keeps the forwarding header, just updates all current callers. BUG= R=avi@chromium.org Review URL: https://codereview.chromium.org/16514006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205306 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of utf_string_conversions.h in content/.avi@chromium.org2013-06-071-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16408017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204917 0039d316-1c4b-4281-b951-d872f2087c98
* Update content/ to use scoped_refptr<T>::get() rather than implicit ↵rsleevi@chromium.org2013-06-021-1/+1
| | | | | | | | | | | | | "operator T*" Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/16294003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203624 0039d316-1c4b-4281-b951-d872f2087c98
* content: Use base::MessageLoop.xhwang@chromium.org2013-05-041-1/+1
| | | | | | | | | BUG=236029 R=avi@chromium.org Review URL: https://chromiumcodereview.appspot.com/14335017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198316 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup various bits of BrowserThreadImpl and PluginServiceImpl.thestig@chromium.org2013-04-241-7/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/13896004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195957 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.erg@chromium.org2013-04-171-4/+4
| | | | | | | | | | | In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes these in content/. BUG=232084 Review URL: https://codereview.chromium.org/14081010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194608 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite std::string("") to std::string(), Linux edition.dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | | | | | | | | | This patch was generated by running the empty_string clang tool across the Chromium Linux compilation database. Implicitly or explicitly constructing std::string() with a "" argument is inefficient as the caller needs to emit extra instructions to pass an argument, and the constructor needlessly copies a byte into internal storage. Rewriting these instances to simply call the default constructor appears to save ~14-18 kilobytes on an optimized release build. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193020 Review URL: https://codereview.chromium.org/13145003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193040 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Rewrite std::string("") to std::string(), Linux edition."dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | | | | This reverts commit e59558b78e8c6a1b0bd916a724724b638c3c91b6. Revert "Fix build after r193020." This reverts commit 558a35897f6b3ffbcaefde927c1f150b815d140a. Revert "Really fix build after r193020." This reverts commit e3748a79b523a8d365d4a33ef986eebb4186fa78. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193030 0039d316-1c4b-4281-b951-d872f2087c98
* Really fix build after r193020.dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | Argh. Macros are evil. BUG= TBR=darin Review URL: https://codereview.chromium.org/13937002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193029 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite std::string("") to std::string(), Linux edition.dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | | | | | | | This patch was generated by running the empty_string clang tool across the Chromium Linux compilation database. Implicitly or explicitly constructing std::string() with a "" argument is inefficient as the caller needs to emit extra instructions to pass an argument, and the constructor needlessly copies a byte into internal storage. Rewriting these instances to simply call the default constructor appears to save ~14-18 kilobytes on an optimized release build. BUG=none Review URL: https://codereview.chromium.org/13145003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193020 0039d316-1c4b-4281-b951-d872f2087c98
* Record stats on Chrome users running PPAPI Flash vs NPAPI Flash.yzshen@chromium.org2013-02-281-0/+42
| | | | | | | | | | | - Plugin.FlashUsage: Number of browser processes that start at least one NPAPI/PPAPI Flash process during their lifetime. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/12319137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185124 0039d316-1c4b-4281-b951-d872f2087c98
* Move file_path.h to base/files.brettw@chromium.org2013-02-241-1/+1
| | | | | | TBR=sky git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
* Use base namespace for FilePath in content/browserbrettw@chromium.org2013-02-071-30/+32
| | | | | | Review URL: https://codereview.chromium.org/12213066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181349 0039d316-1c4b-4281-b951-d872f2087c98
* Follow-on fixes and naming changes for https://codereview.chromium.org/12086077/jschuh@chromium.org2013-02-051-6/+6
| | | | | | | | | | | BUG=172573 Review URL: https://codereview.chromium.org/12177018 Recommit of: https://codereview.chromium.org/12177018 TBR=cevans@chromium.org Review URL: https://codereview.chromium.org/12209008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180700 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 180600jschuh@chromium.org2013-02-051-6/+6
| | | | | | | | | | | | | | | | > Follow-on fixes and naming changes for https://codereview.chromium.org/12086077/ > > BUG=172573 > Review URL: https://codereview.chromium.org/12177018 Windows and aura bots are failing, and this is the only CL in range that had no passing try runs for those tests. If the bots don't go green, I'll unrevert the revert. TBR=cevans@chromium.org Review URL: https://codereview.chromium.org/12210009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180620 0039d316-1c4b-4281-b951-d872f2087c98
* Follow-on fixes and naming changes for https://codereview.chromium.org/12086077/cevans@chromium.org2013-02-051-6/+6
| | | | | | | BUG=172573 Review URL: https://codereview.chromium.org/12177018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180600 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor: Simplify WaitableEventWatcher.teravest@chromium.org2013-02-041-2/+8
| | | | | | | | | | | | | | | | | | | | | | | This change uses a callback instead of a delegate for specifying what should be called when a WaitableEvent occurs. This simplifies the class and gets rid of a workaround internal to the class to prevent name collision on "Delegate" inner classes. Tested (linux and windows): out/Debug/base_unittests --gtest_filter=*WaitableEventWatcherTest* out/Release/ipc_tests with valgrind and leak-check=yes Previously reverted at: https://codereview.chromium.org/12087120/ BUG= Review URL: https://chromiumcodereview.appspot.com/12094106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180450 0039d316-1c4b-4281-b951-d872f2087c98
* Only permit plug-in loads in the browser if the plug-in isn't blocked or thecevans@chromium.org2013-02-011-5/+25
| | | | | | | | | | | | user has authorized it with a browser-mediated interaction. (Reland https://codereview.chromium.org/12086077 with Android test tweak) BUG=172573 R=jam@chromium.org Review URL: https://codereview.chromium.org/12092107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180159 0039d316-1c4b-4281-b951-d872f2087c98
* Broke ContentSettingBubbleModelTest.Plugins on Android.dbeam@chromium.org2013-02-011-25/+5
| | | | | | | | | | | | | Revert 180103 - Only permit plug-in loads in the browser if the plug-in isn't blocked or the user has authorized it with a browser-mediated interaction. BUG=172573 Review URL: https://codereview.chromium.org/12086077 TBR=cevans@chromium.org Review URL: https://chromiumcodereview.appspot.com/12114045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180110 0039d316-1c4b-4281-b951-d872f2087c98
* Only permit plug-in loads in the browser if the plug-in isn't blocked or thecevans@chromium.org2013-02-011-5/+25
| | | | | | | | | user has authorized it with a browser-mediated interaction. BUG=172573 Review URL: https://codereview.chromium.org/12086077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180103 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 179987dmichael@chromium.org2013-01-311-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Caused memory leak: Leak_DefinitelyLost 4,196 (1,600 direct, 2,596 indirect) bytes in 4 blocks are definitely lost in loss record 608 of 639 operator new(unsigned long) (m_replacemalloc/vg_replace_malloc.c:1140) IPC::SyncChannel::SyncChannel(IPC::ChannelHandle const&, IPC::Channel::Mode, IPC::Listener*, base::SingleThreadTaskRunner*, bool, base::WaitableEvent*) (ipc/ipc_sync_channel.cc:410) (anonymous namespace)::RestrictedDispatchPipeWorker::Run() (ipc/ipc_sync_channel_unittest.cc:1636) (anonymous namespace)::Worker::OnStart() (ipc/ipc_sync_channel_unittest.cc:176) Suppression (error hash=#2A77226DFEFF6041#): For more info on using suppressions see http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/memory-sheriff#TOC-Suppressing-memory-reports { <insert_a_suppression_name_here> Memcheck:Leak fun:_Znw* fun:_ZN3IPC11SyncChannelC1ERKNS_13ChannelHandleENS_7Channel4ModeEPNS_8ListenerEPN4base22SingleThreadTaskRunnerEbPNS8_13WaitableEventE fun:_ZN12_GLOBAL__N_128RestrictedDispatchPipeWorker3RunEv fun:_ZN12_GLOBAL__N_16Worker7OnStartEv } 15:02:51 memcheck_a http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%282%29/builds/22101 > Refactor: Simplify WaitableEventWatcher. > > This change uses a callback instead of a delegate for specifying what > should be called when a WaitableEvent occurs. > > This simplifies the class and gets rid of a workaround internal to the > class to prevent name collision on "Delegate" inner classes. > > Tested (on linux and windows): > ninja -C out/Debug chrome > out/Debug/base_unittests --gtest_filter=*WaitableEventWatcherTest* > > BUG= > > > Review URL: https://chromiumcodereview.appspot.com/11953112 TBR=teravest@chromium.org Review URL: https://codereview.chromium.org/12087120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179993 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor: Simplify WaitableEventWatcher.teravest@chromium.org2013-01-311-2/+8
| | | | | | | | | | | | | | | | | | | This change uses a callback instead of a delegate for specifying what should be called when a WaitableEvent occurs. This simplifies the class and gets rid of a workaround internal to the class to prevent name collision on "Delegate" inner classes. Tested (on linux and windows): ninja -C out/Debug chrome out/Debug/base_unittests --gtest_filter=*WaitableEventWatcherTest* BUG= Review URL: https://chromiumcodereview.appspot.com/11953112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179987 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a prototype to render cross-site iframes in a separate process ↵nasko@chromium.org2013-01-231-1/+18
| | | | | | | | | | | | | | from their parent. This is a very early prototype and should not be used for general browsing of the web. To enable it, run Chrome with --site-per-process and --enable-browser-plugin-for-all-view-types command line parameters. (initial implementation by irobert@chromium.org) BUG=99379 Review URL: https://chromiumcodereview.appspot.com/11772005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178292 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the base::files:: namespace.darin@chromium.org2013-01-151-1/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11876031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176836 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using FilePathWatcher::Callback instead of FilePathWatcher::Delegate.darin@chromium.org2013-01-081-27/+22
| | | | | | | | BUG=130980 Review URL: https://codereview.chromium.org/11794042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175570 0039d316-1c4b-4281-b951-d872f2087c98
* Use an explicit PID for duplicating Pepper handles rather than the Channel's.brettw@chromium.org2013-01-041-2/+2
| | | | | | | | | | | | When the browser process launches the plugin, it explicitly tells each side the PID of the other side, and we now use this PID for sharing handles. Previously we'd use the PID from the IPC channel. Using the PID from the IPC channel creates a race condition because the PID isn't set until the "hello" message from the opposite side is processed, which isn't guaranteed at any particular time. BUG=168222 Review URL: https://codereview.chromium.org/11722017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175190 0039d316-1c4b-4281-b951-d872f2087c98