chromium/chrome/browser/ui/file_system_access/file_system_access_restricted_directory_dialog.cc

// Copyright 2022 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/ui/file_system_access/file_system_access_restricted_directory_dialog.h"

#include "base/functional/callback_helpers.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/file_system_access/file_system_access_ui_helpers.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/models/dialog_model.h"
#include "ui/base/models/dialog_model_field.h"

namespace {

HandleType;
SensitiveEntryResult;

std::unique_ptr<ui::DialogModel>
CreateFileSystemAccessRestrictedDirectoryDialog(
    content::WebContents* web_contents,
    const url::Origin& origin,
    HandleType handle_type,
    base::OnceCallback<void(SensitiveEntryResult)> callback) {}

}  // namespace

void ShowFileSystemAccessRestrictedDirectoryDialog(
    const url::Origin& origin,
    HandleType handle_type,
    base::OnceCallback<void(SensitiveEntryResult)> callback,
    content::WebContents* web_contents) {}

std::unique_ptr<ui::DialogModel>
CreateFileSystemAccessRestrictedDirectoryDialogForTesting(  // IN-TEST
    const url::Origin& origin,
    HandleType handle_type,
    base::OnceCallback<void(SensitiveEntryResult)> callback) {}