Index: chrome/install_static/initialize_from_primary_module.h |
diff --git a/chrome/install_static/initialize_from_primary_module.h b/chrome/install_static/initialize_from_primary_module.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e66e2057043a35f794cd773a9dd3762945a20bd4 |
--- /dev/null |
+++ b/chrome/install_static/initialize_from_primary_module.h |
@@ -0,0 +1,17 @@ |
+// 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. |
+ |
+#ifndef CHROME_INSTALL_STATIC_INITIALIZE_FROM_PRIMARY_MODULE_H_ |
+#define CHROME_INSTALL_STATIC_INITIALIZE_FROM_PRIMARY_MODULE_H_ |
+ |
+namespace install_static { |
+ |
+// Initializes an InstallDetails instance for this module with the payload from |
+// the process's primary module (which exports an "GetInstallDetailsPayload" |
+// function for this express purpose). |
+void InitializeFromPrimaryModule(); |
+ |
+} // namespace install_static |
+ |
+#endif // CHROME_INSTALL_STATIC_INITIALIZE_FROM_PRIMARY_MODULE_H_ |