| Index: chrome/installer/setup/setup_install_details.h
|
| diff --git a/chrome/installer/setup/setup_install_details.h b/chrome/installer/setup/setup_install_details.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1545e8dcc6ab0966f10f8472fc87bc24474b770b
|
| --- /dev/null
|
| +++ b/chrome/installer/setup/setup_install_details.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// Contains functions for determining the installer's InstallDetails at runtime.
|
| +// See chrome/install_static/install_details.h for more information.
|
| +
|
| +#ifndef CHROME_INSTALLER_SETUP_SETUP_INSTALL_DETAILS_H_
|
| +#define CHROME_INSTALLER_SETUP_SETUP_INSTALL_DETAILS_H_
|
| +
|
| +#include <memory>
|
| +
|
| +namespace base {
|
| +class CommandLine;
|
| +}
|
| +namespace install_static {
|
| +class PrimaryInstallDetails;
|
| +}
|
| +namespace installer {
|
| +class MasterPreferences;
|
| +}
|
| +
|
| +// Creates a PrimaryInstallDetails instance for the installer and makes it the
|
| +// global InstallDetails for the process.
|
| +void InitializeInstallDetails(
|
| + const base::CommandLine& command_line,
|
| + const installer::MasterPreferences& master_preferences);
|
| +
|
| +// Returns a PrimaryInstallDetails instance for the installer.
|
| +std::unique_ptr<install_static::PrimaryInstallDetails> MakeInstallDetails(
|
| + const base::CommandLine& command_line,
|
| + const installer::MasterPreferences& master_preferences);
|
| +
|
| +#endif // CHROME_INSTALLER_SETUP_SETUP_INSTALL_DETAILS_H_
|
|
|