Chromium Code Reviews| Index: chrome/install_static/get_install_details_payload.cc |
| diff --git a/chrome/install_static/get_install_details_payload.cc b/chrome/install_static/get_install_details_payload.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8af4f33b16b863a235c9ed41f919f2c32b16c0ed |
| --- /dev/null |
| +++ b/chrome/install_static/get_install_details_payload.cc |
| @@ -0,0 +1,10 @@ |
| +// 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/install_details.h" |
| + |
| +extern "C" const install_static::InstallDetails::Payload __declspec(dllexport) * |
|
Sigurður Ásgeirsson
2017/01/16 18:31:58
yeah, I don't like the dllexport declarations, nor
grt (UTC plus 2)
2017/01/16 20:27:33
Removed in favor of .def file. The linker error wa
|
| + GetInstallDetailsPayload() { |
| + return install_static::InstallDetails::Get().GetPayload(); |
| +} |