#include "extensions/browser/error_map.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base/strings/string_number_conversions.h"
#include "components/crx_file/id_util.h"
#include "extensions/browser/extension_error.h"
#include "extensions/browser/extension_error_test_util.h"
#include "extensions/common/constants.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
CreateNewRuntimeError;
CreateNewManifestError;
class ErrorMapUnitTest : public testing::Test { … };
TEST_F(ErrorMapUnitTest, AddAndRemoveErrors) { … }
TEST_F(ErrorMapUnitTest, ExcessiveErrorsGetCropped) { … }
TEST_F(ErrorMapUnitTest, DuplicateErrorsAreReplaced) { … }
}