-
weinig@apple.com authored
the profiles to WebKit2. Reviewed by Anders Carlsson. * PluginProcess/EntryPoint/mac/LegacyProcess/PluginProcessMain.mm: (WebKit::PluginProcessMainDelegate::getExtraInitializationData): * PluginProcess/EntryPoint/mac/XPCService/PluginServiceEntryPoint.mm: (WebKit::PluginServiceInitializerDelegate::getExtraInitializationData): * UIProcess/Plugins/mac/PluginProcessProxyMac.mm: (WebKit::PluginProcessProxy::platformGetLaunchOptions): Stop passing the sandbox-profile-directory-path to the plug-in process. * PluginProcess/mac/PluginProcessMac.mm: (WebKit::loadSandboxProfileForDirectory): (WebKit::loadSandboxProfile): (WebKit::PluginProcess::initializeSandbox): Hard code the plug-in sandbox profile lookup to only look in the WebKit2 bundle and /System/Library/Sandbox/Profiles/. * Resources/PlugInSandboxProfiles: Added. Add profiles. * WebKit2.xcodeproj/project.pbxproj: Copy the profiles to the bundle. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9ffbf65b