chromium/extensions/browser/updater/extension_installer.cc

// Copyright 2015 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/updater/extension_installer.h"

#include <utility>

#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "components/update_client/update_client_errors.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "extensions/common/extension_id.h"

namespace extensions {

namespace {
InstallError;
Result;
}  // namespace

ExtensionInstaller::ExtensionInstaller(
    ExtensionId extension_id,
    const base::FilePath& extension_root,
    bool install_immediately,
    ExtensionInstallerCallback extension_installer_callback)
    :{}

void ExtensionInstaller::OnUpdateError(int error) {}

void ExtensionInstaller::Install(
    const base::FilePath& unpack_path,
    const std::string& public_key,
    std::unique_ptr<InstallParams> /*install_params*/,
    ProgressCallback /*progress_callback*/,
    UpdateClientCallback update_client_callback) {}

bool ExtensionInstaller::GetInstalledFile(const std::string& file,
                                          base::FilePath* installed_file) {}

bool ExtensionInstaller::Uninstall() {}

ExtensionInstaller::~ExtensionInstaller() = default;

}  // namespace extensions