Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8579)

Unified Diff: chrome/install_static/get_install_details_payload.cc

Issue 2635953002: Use loader-based binding of GetInstallDetailsPayload for install_static. (Closed)
Patch Set: better Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
+}

Powered by Google App Engine
This is Rietveld 408576698