#include "chrome/browser/ui/views/extensions/media_galleries_dialog_views.h"
#include <stdint.h>
#include "base/memory/raw_ptr.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/media_galleries/media_galleries_dialog_controller_mock.h"
#include "chrome/browser/ui/views/extensions/media_gallery_checkbox_view.h"
#include "chrome/test/views/chrome_views_test_base.h"
#include "components/storage_monitor/storage_info.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/views/controls/button/checkbox.h"
#include "ui/views/test/button_test_api.h"
_;
AnyNumber;
Mock;
NiceMock;
Return;
ReturnPointee;
namespace {
MediaGalleryPrefInfo MakePrefInfoForTesting(MediaGalleryPrefId id) { … }
}
class MediaGalleriesDialogTest : public ChromeViewsTestBase { … };
TEST_F(MediaGalleriesDialogTest, InitializeCheckboxes) { … }
TEST_F(MediaGalleriesDialogTest, ToggleCheckboxes) { … }
TEST_F(MediaGalleriesDialogTest, UpdateAdds) { … }
TEST_F(MediaGalleriesDialogTest, ForgetDeletes) { … }