chromium/extensions/browser/extension_registry.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/browser/extension_registry.h"

#include "base/observer_list.h"
#include "base/strings/string_util.h"
#include "extensions/browser/extension_registry_factory.h"
#include "extensions/browser/extension_registry_observer.h"

namespace extensions {

ExtensionRegistry::ExtensionRegistry(content::BrowserContext* browser_context)
    :{}
ExtensionRegistry::~ExtensionRegistry() = default;

// static
ExtensionRegistry* ExtensionRegistry::Get(content::BrowserContext* context) {}

ExtensionSet ExtensionRegistry::GenerateInstalledExtensionsSet() const {}

ExtensionSet ExtensionRegistry::GenerateInstalledExtensionsSet(
    int include_mask) const {}

base::Version ExtensionRegistry::GetStoredVersion(const ExtensionId& id) const {}

void ExtensionRegistry::AddObserver(ExtensionRegistryObserver* observer) {}

void ExtensionRegistry::RemoveObserver(ExtensionRegistryObserver* observer) {}

void ExtensionRegistry::TriggerOnLoaded(const Extension* extension) {}

void ExtensionRegistry::TriggerOnReady(const Extension* extension) {}

void ExtensionRegistry::TriggerOnUnloaded(const Extension* extension,
                                          UnloadedExtensionReason reason) {}

void ExtensionRegistry::TriggerOnWillBeInstalled(const Extension* extension,
                                                 bool is_update,
                                                 const std::string& old_name) {}

void ExtensionRegistry::TriggerOnInstalled(const Extension* extension,
                                           bool is_update) {}

void ExtensionRegistry::TriggerOnUninstalled(const Extension* extension,
                                             UninstallReason reason) {}

void ExtensionRegistry::TriggerOnUninstallationDenied(
    const Extension* extension) {}

const Extension* ExtensionRegistry::GetExtensionById(const std::string& id,
                                                     int include_mask) const {}

const Extension* ExtensionRegistry::GetInstalledExtension(
    const std::string& id) const {}

bool ExtensionRegistry::AddEnabled(
    const scoped_refptr<const Extension>& extension) {}

bool ExtensionRegistry::RemoveEnabled(const std::string& id) {}

bool ExtensionRegistry::AddDisabled(
    const scoped_refptr<const Extension>& extension) {}

bool ExtensionRegistry::RemoveDisabled(const std::string& id) {}

bool ExtensionRegistry::AddTerminated(
    const scoped_refptr<const Extension>& extension) {}

bool ExtensionRegistry::RemoveTerminated(const std::string& id) {}

bool ExtensionRegistry::AddBlocklisted(
    const scoped_refptr<const Extension>& extension) {}

bool ExtensionRegistry::RemoveBlocklisted(const std::string& id) {}

bool ExtensionRegistry::AddBlocked(
    const scoped_refptr<const Extension>& extension) {}

bool ExtensionRegistry::RemoveBlocked(const std::string& id) {}

bool ExtensionRegistry::AddReady(
    const scoped_refptr<const Extension>& extension) {}

bool ExtensionRegistry::RemoveReady(const std::string& id) {}

void ExtensionRegistry::ClearAll() {}

void ExtensionRegistry::Shutdown() {}

}  // namespace extensions