chromium/extensions/browser/management_policy.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/management_policy.h"
#include "base/logging.h"

namespace extensions {

namespace {

void GetExtensionNameAndId(const Extension* extension,
                           std::string* name,
                           std::string* id) {}

}  // namespace

ManagementPolicy::ManagementPolicy() {}

ManagementPolicy::~ManagementPolicy() {}

bool ManagementPolicy::Provider::UserMayLoad(const Extension* extension,
                                             std::u16string* error) const {}

bool ManagementPolicy::Provider::UserMayInstall(const Extension* extension,
                                                std::u16string* error) const {}

bool ManagementPolicy::Provider::UserMayModifySettings(
    const Extension* extension,
    std::u16string* error) const {}

bool ManagementPolicy::Provider::ExtensionMayModifySettings(
    const Extension* source_extension,
    const Extension* extension,
    std::u16string* error) const {}

bool ManagementPolicy::Provider::MustRemainEnabled(
    const Extension* extension,
    std::u16string* error) const {}

bool ManagementPolicy::Provider::MustRemainDisabled(
    const Extension* extension,
    disable_reason::DisableReason* reason,
    std::u16string* error) const {}

bool ManagementPolicy::Provider::MustRemainInstalled(
    const Extension* extension,
    std::u16string* error) const {}

bool ManagementPolicy::Provider::ShouldForceUninstall(
    const Extension* extension,
    std::u16string* error) const {}

void ManagementPolicy::RegisterProvider(Provider* provider) {}

void ManagementPolicy::UnregisterProvider(Provider* provider) {}

void ManagementPolicy::RegisterProviders(
    const std::vector<std::unique_ptr<Provider>>& providers) {}

bool ManagementPolicy::UserMayLoad(const Extension* extension,
                                   std::u16string* error) const {}

bool ManagementPolicy::UserMayInstall(const Extension* extension,
                                      std::u16string* error) const {}

bool ManagementPolicy::UserMayModifySettings(const Extension* extension,
                                             std::u16string* error) const {}

bool ManagementPolicy::ExtensionMayModifySettings(
    const Extension* source_extension,
    const Extension* extension,
    std::u16string* error) const {}

bool ManagementPolicy::MustRemainEnabled(const Extension* extension,
                                         std::u16string* error) const {}

bool ManagementPolicy::MustRemainDisabled(const Extension* extension,
                                          disable_reason::DisableReason* reason,
                                          std::u16string* error) const {}

bool ManagementPolicy::MustRemainInstalled(const Extension* extension,
                                           std::u16string* error) const {}

bool ManagementPolicy::ShouldForceUninstall(const Extension* extension,
                                            std::u16string* error) const {}

bool ManagementPolicy::ShouldRepairIfCorrupted(const Extension* extension) {}

void ManagementPolicy::UnregisterAllProviders() {}

int ManagementPolicy::GetNumProviders() const {}

bool ManagementPolicy::ApplyToProviderList(ProviderFunction function,
                                           const char* debug_operation_name,
                                           bool normal_result,
                                           const Extension* extension,
                                           std::u16string* error) const {}

}  // namespace extensions