#include "chrome/browser/ui/webui/theme_source.h"
#include <stddef.h>
#include <vector>
#include "base/functional/bind.h"
#include "base/memory/ref_counted_memory.h"
#include "base/run_loop.h"
#include "base/strings/strcat.h"
#include "base/test/bind.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/webui/webui_util_desktop.h"
#include "chrome/common/url_constants.h"
#include "chrome/grit/theme_resources.h"
#include "chrome/test/base/test_theme_provider.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_renderer_host.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
class WebUISourcesTest : public testing::Test { … };
TEST_F(WebUISourcesTest, ThemeSourceMimeTypes) { … }
TEST_F(WebUISourcesTest, ThemeSourceImages) { … }
TEST_F(WebUISourcesTest, ThemeSourceCSS) { … }
TEST_F(WebUISourcesTest, ThemeSourceColorsCSS) { … }
TEST_F(WebUISourcesTest, ThemeAllowedOrigin) { … }