Commit e13951c3 authored by Greg Kerr's avatar Greg Kerr Committed by Commit Bot

macOS Sandbox: Allow LaunchServices connections.

As the macOS GPU sandbox now allows LaunchServices connections, remove
the API call telling it not to connect to LS.

Bug: 871280
Change-Id: Ic70da6796b6980c60c2e9ebdd897ccd4f588ea9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863630
Auto-Submit: Greg Kerr <kerrnel@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706221}
parent 5a45cc91
...@@ -99,14 +99,6 @@ ...@@ -99,14 +99,6 @@
#include "media/gpu/vaapi/vaapi_wrapper.h" #include "media/gpu/vaapi/vaapi_wrapper.h"
#endif #endif
#if defined(OS_MACOSX)
extern "C" {
void _LSSetApplicationLaunchServicesServerConnectionStatus(
uint64_t flags,
bool (^connection_allowed)(CFDictionaryRef));
}
#endif // defined(OS_MACOSX)
namespace content { namespace content {
namespace { namespace {
...@@ -285,9 +277,6 @@ int GpuMain(const MainFunctionParams& parameters) { ...@@ -285,9 +277,6 @@ int GpuMain(const MainFunctionParams& parameters) {
main_thread_task_executor = main_thread_task_executor =
std::make_unique<base::SingleThreadTaskExecutor>( std::make_unique<base::SingleThreadTaskExecutor>(
base::MessagePumpType::NS_RUNLOOP); base::MessagePumpType::NS_RUNLOOP);
// Tell LaunchServices to continue without a connection to the daemon.
_LSSetApplicationLaunchServicesServerConnectionStatus(0, nullptr);
#else #else
main_thread_task_executor = main_thread_task_executor =
std::make_unique<base::SingleThreadTaskExecutor>( std::make_unique<base::SingleThreadTaskExecutor>(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment