#include "extensions/browser/extension_registry.h"
#include <string>
#include "base/memory/ref_counted.h"
#include "extensions/browser/extension_registry_observer.h"
#include "extensions/browser/uninstall_reason.h"
#include "extensions/browser/unloaded_extension_reason.h"
#include "extensions/common/extension_builder.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
namespace {
ExtensionRegistryTest;
testing::AssertionResult HasSingleExtension(
const ExtensionList& list,
const scoped_refptr<const Extension>& extension) { … }
class TestObserver : public ExtensionRegistryObserver { … };
TEST_F(ExtensionRegistryTest, FillAndClearRegistry) { … }
TEST_F(ExtensionRegistryTest, AddAndRemoveExtensionFromRegistry) { … }
TEST_F(ExtensionRegistryTest, AddExtensionToRegistryTwice) { … }
TEST_F(ExtensionRegistryTest, GetExtensionById) { … }
TEST_F(ExtensionRegistryTest, Observer) { … }
TEST_F(ExtensionRegistryTest, TerminatedExtensionStoredVersion) { … }
}
}