#include "chrome/browser/platform_util.h"
#include "base/check_op.h"
#include "base/files/file.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/task/thread_pool.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/platform_util_internal.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#if BUILDFLAG(IS_CHROMEOS_LACROS)
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/lacros/window_properties.h"
#include "chromeos/ui/base/window_pin_type.h"
#include "ui/aura/window.h"
#endif
BrowserThread;
namespace platform_util {
namespace {
bool shell_operations_allowed = …;
void VerifyAndOpenItemOnBlockingThread(const base::FilePath& path,
OpenItemType type,
OpenOperationCallback callback) { … }
}
namespace internal {
void DisableShellOperationsForTesting() { … }
bool AreShellOperationsAllowed() { … }
}
void OpenItem(Profile* profile,
const base::FilePath& full_path,
OpenItemType item_type,
OpenOperationCallback callback) { … }
bool IsBrowserLockedFullscreen(const Browser* browser) { … }
}