#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/browser/ui/webui/fileicon_source.h"
#include "base/memory/ref_counted_memory.h"
#include "base/strings/strcat.h"
#include "build/build_config.h"
#include "chrome/browser/icon_manager.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/resource/resource_scale_factor.h"
namespace {
class TestFileIconSource : public FileIconSource { … };
class FileIconSourceTest : public testing::Test { … };
const struct FetchFileIconExpectation { … } kBasicExpectations[] = …;
MATCHER(CallbackIsNull, "") { … }
}
TEST_F(FileIconSourceTest, FileIconSource_Parse) { … }