#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/browser/ui/views/folder_upload_confirmation_view.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/test/test_browser_dialog.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/test_utils.h"
#include "ui/views/controls/button/label_button.h"
constexpr size_t kTestFileCount = …;
static const base::FilePath::StringPieceType kTestFileNames[kTestFileCount] = …;
class FolderUploadConfirmationViewTest : public DialogBrowserTest { … };
IN_PROC_BROWSER_TEST_F(FolderUploadConfirmationViewTest,
InitiallyFocusesCancel) { … }
IN_PROC_BROWSER_TEST_F(FolderUploadConfirmationViewTest,
AcceptRunsCallbackWithFileInfo) { … }
IN_PROC_BROWSER_TEST_F(FolderUploadConfirmationViewTest,
CancelRunsCallbackWithEmptyFileInfo) { … }
IN_PROC_BROWSER_TEST_F(FolderUploadConfirmationViewTest, CancelsWhenClosed) { … }
IN_PROC_BROWSER_TEST_F(FolderUploadConfirmationViewTest, InvokeUi_default) { … }