summaryrefslogtreecommitdiff
path: root/chromium/components/on_load_script_injector/export.h
blob: e0bdd04b95260e0324aed01fa1291181f1104bac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2020 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.

#ifndef COMPONENTS_ON_LOAD_SCRIPT_INJECTOR_EXPORT_H_
#define COMPONENTS_ON_LOAD_SCRIPT_INJECTOR_EXPORT_H_

#if defined(COMPONENT_BUILD) && defined(ON_LOAD_SCRIPT_INJECTOR_IMPLEMENTATION)
#define ON_LOAD_SCRIPT_INJECTOR_EXPORT __attribute__((visibility("default")))
#else  // !defined(COMPONENT_BUILD) ||
       // !defined(ON_LOAD_SCRIPT_INJECTOR_IMPLEMENTATION)
#define ON_LOAD_SCRIPT_INJECTOR_EXPORT
#endif

#endif  // COMPONENTS_ON_LOAD_SCRIPT_INJECTOR_EXPORT_H_