OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/install_static/initialize_from_primary_module.h" |
| 6 |
| 7 #include "chrome/install_static/install_details.h" |
| 8 |
| 9 // A function exported by the primary module, which is expected to be built with |
| 10 // the "primary_module" source set. |
| 11 extern "C" const install_static::InstallDetails::Payload __declspec(dllimport) * |
| 12 GetInstallDetailsPayload(); |
| 13 |
| 14 namespace install_static { |
| 15 |
| 16 void InitializeFromPrimaryModule() { |
| 17 InstallDetails::InitializeFromPayload(GetInstallDetailsPayload()); |
| 18 } |
| 19 |
| 20 } // namespace install_static |
OLD | NEW |