blob: 58584ac7350fd80d762ea6f0f769c8d677b84db1 [file] [log] [blame]
// 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.
#include "chrome/install_static/initialize_from_primary_module.h"
#include "chrome/install_static/install_details.h"
// A function exported by the primary module, which is expected to be built with
// the "primary_module" source set.
extern "C" const install_static::InstallDetails::Payload __declspec(dllimport) *
GetInstallDetailsPayload();
namespace install_static {
void InitializeFromPrimaryModule() {
InstallDetails::InitializeFromPayload(GetInstallDetailsPayload());
}
} // namespace install_static