#include "chrome/browser/extensions/extension_error_ui_default.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/extensions/extension_error_ui.h"
#include "chrome/grit/branded_strings.h"
#include "chrome/grit/generated_resources.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "extensions/browser/blocklist_extension_prefs.h"
#include "extensions/browser/disable_reason.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_system.h"
#include "extensions/browser/management_policy.h"
#include "extensions/browser/mock_extension_system.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/extension_set.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
namespace {
class TestErrorUIDelegate : public extensions::ExtensionErrorUI::Delegate { … };
class ManagementPolicyMock : public extensions::ManagementPolicy::Provider { … };
}
TEST(ExtensionErrorUIDefaultTest, BubbleTitleAndMessageMentionsExtension) { … }
TEST(ExtensionErrorUIDefaultTest, BubbleTitleAndMessageMentionsApp) { … }
TEST(ExtensionErrorUIDefaultTest, BubbleMessageMentionsMalware) { … }
TEST(ExtensionErrorUIDefaultTest, BubbleTitleForEnterpriseBlockedExtensions) { … }