#include <string>
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/thread_pool.h"
#include "components/storage_monitor/media_storage_util.h"
#include "components/storage_monitor/removable_device_constants.h"
#include "components/storage_monitor/storage_monitor.h"
#include "components/storage_monitor/test_storage_monitor.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
const char kImageCaptureDeviceId[] = …;
}
namespace storage_monitor {
class MediaStorageUtilTest : public testing::Test { … };
TEST_F(MediaStorageUtilTest, MediaDeviceAttached) { … }
TEST_F(MediaStorageUtilTest, NonMediaDeviceAttached) { … }
TEST_F(MediaStorageUtilTest, CanCreateFileSystemForImageCapture) { … }
TEST_F(MediaStorageUtilTest, DetectDeviceFiltered) { … }
}