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

Side by Side Diff: chrome/install_static/initialize_from_primary_module.cc

Issue 2635953002: Use loader-based binding of GetInstallDetailsPayload for install_static. (Closed)
Patch Set: sync to position 444298 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 unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « chrome/install_static/initialize_from_primary_module.h ('k') | chrome/install_static/install_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698