Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / sandbox / sandbox_export.h
blob40a403664062c7846da62b208238e3dce30a6b6b
1 // Copyright 2014 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.
5 #ifndef SANDBOX_SANDBOX_EXPORT_H_
6 #define SANDBOX_SANDBOX_EXPORT_H_
8 #if defined(WIN32)
9 #error "sandbox_export.h does not support WIN32."
10 #endif
12 #if defined(COMPONENT_BUILD)
14 #if defined(SANDBOX_IMPLEMENTATION)
15 #define SANDBOX_EXPORT __attribute__((visibility("default")))
16 #define SANDBOX_EXPORT_PRIVATE __attribute__((visibility("default")))
17 #else
18 #define SANDBOX_EXPORT
19 #define SANDBOX_EXPORT_PRIVATE
20 #endif // defined(SANDBOX_IMPLEMENTATION)
22 #else // defined(COMPONENT_BUILD)
24 #define SANDBOX_EXPORT
25 #define SANDBOX_EXPORT_PRIVATE
27 #endif // defined(COMPONENT_BUILD)
29 #endif // SANDBOX_SANDBOX_EXPORT_H_