#include "chrome/browser/extensions/error_console/error_console.h"
#include <stddef.h>
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
#include "components/crx_file/id_util.h"
#include "components/prefs/pref_service.h"
#include "components/version_info/version_info.h"
#include "content/public/test/browser_task_environment.h"
#include "extensions/browser/extension_error.h"
#include "extensions/browser/extension_error_test_util.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/unloaded_extension_reason.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/features/feature_channel.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
CreateNewManifestError;
CreateNewRuntimeError;
class ErrorConsoleUnitTest : public testing::Test { … };
TEST_F(ErrorConsoleUnitTest, EnableAndDisableErrorConsole) { … }
TEST_F(ErrorConsoleUnitTest, EnabledForAllChannels) { … }
TEST_F(ErrorConsoleUnitTest, ReportErrors) { … }
TEST_F(ErrorConsoleUnitTest, DontStoreErrorsWithoutEnablingType) { … }
TEST_F(ErrorConsoleUnitTest, TestDefaultStoringPrefs) { … }
}