#include "extensions/common/image_util.h"
#include <string>
#include <string_view>
#include "base/containers/span.h"
#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/strings/string_split.h"
#include "base/test/metrics/histogram_tester.h"
#include "extensions/common/extension_paths.h"
#include "extensions/test/logging_timer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/codec/png_codec.h"
#include "ui/gfx/color_utils.h"
#include "url/gurl.h"
namespace extensions {
TEST(ImageUtilTest, IsIconSufficientlyVisible) { … }
TEST(ImageUtilTest, IconTooLargeForAnalysis) { … }
TEST(ImageUtilTest, MANUAL_IsIconSufficientlyVisiblePerfTest) { … }
namespace {
void WriteRenderedIcon(const SkBitmap& icon,
SkColor background_color,
const base::FilePath& rendered_icon_path) { … }
}
TEST(ImageUtilTest, DISABLED_AnalyzeAllDownloadedIcons) { … }
}