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..7bd86e61411b27844d4b0a1e8e071bbdd9205237 |
--- /dev/null |
+++ b/chrome/installer/setup/setup_install_details.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2016 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_ |
+ |
+namespace base { |
+class CommandLine; |
+} |
+namespace installer { |
+class InstallerState; |
+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, |
+ const installer::InstallerState& installer_state); |
+ |
+#endif // CHROME_INSTALLER_SETUP_SETUP_INSTALL_DETAILS_H_ |