Chromium Code Reviews| 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). |
|
Sigurður Ásgeirsson
2017/01/16 18:31:58
doesn't this need to be in an extern "C" declarati
grt (UTC plus 2)
2017/01/16 20:27:33
This function isn't used across DLL boundaries. It
|
| +void InitializeFromPrimaryModule(); |
| + |
| +} // namespace install_static |
| + |
| +#endif // CHROME_INSTALL_STATIC_INITIALIZE_FROM_PRIMARY_MODULE_H_ |