blob: b1a25e9dd77d842dc2fa38abf9dcde513f6e6729 [file] [log] [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/file_system_access/file_system_access_features.h"
#include "base/feature_list.h"
namespace features {
#if BUILDFLAG(IS_WIN)
// Enables blocking local UNC path on Windows for the File System Access API.
BASE_FEATURE(kFileSystemAccessLocalUNCPathBlock,
"kFileSystemAccessLocalUNCPathBlock",
base::FEATURE_ENABLED_BY_DEFAULT);
#endif
// Enables persistent permissions for the File System Access API.
BASE_FEATURE(kFileSystemAccessPersistentPermissions,
"kFileSystemAccessPersistentPermissions",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the updated Page Info UI for the persistent permissions feature.
BASE_FEATURE(kFileSystemAccessPersistentPermissionsUpdatedPageInfo,
"kFileSystemAccessPersistentPermissionsUpdatedPageInfo",
base::FEATURE_ENABLED_BY_DEFAULT);
// TODO(b/354661640): Temporarily disable this flag while investigating CrOS
// file saving issue.
//
// Enables performing the blocklist check on a full absolute path, which
// resolves any symbolic link.
BASE_FEATURE(kFileSystemAccessSymbolicLinkCheck,
"FileSystemAccessSymbolicLinkCheck",
base::FEATURE_DISABLED_BY_DEFAULT);
} // namespace features