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

Side by Side Diff: components/device_event_log/device_event_log_export.h

Issue 1140643002: Fix device_event_log component build, make NonThreadSafe (Take 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 2015 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 #ifndef COMPONENTS_DEVICE_EVENT_LOG_DEVICE_EVENT_LOG_EXPORT_H_
6 #define COMPONENTS_DEVICE_EVENT_LOG_DEVICE_EVENT_LOG_EXPORT_H_
7
8 #if defined(COMPONENT_BUILD)
9
10 #if defined(WIN32)
11
12 #if defined(DEVICE_EVENT_LOG_IMPLEMENTATION)
13 #define DEVICE_EVENT_LOG_EXPORT __declspec(dllexport)
14 #else
15 #define DEVICE_EVENT_LOG_EXPORT __declspec(dllimport)
16 #endif // defined(DEVICE_EVENT_LOG_IMPLEMENTATION)
17
18 #else // defined(WIN32)
19
20 #if defined(DEVICE_EVENT_LOG_IMPLEMENTATION)
21 #define DEVICE_EVENT_LOG_EXPORT __attribute__((visibility("default")))
22 #else
23 #define DEVICE_EVENT_LOG_EXPORT
24 #endif // defined(DEVICE_EVENT_LOG_IMPLEMENTATION)
25
26 #endif // defined(WIN32)
27
28 #else // defined(COMPONENT_BUILD)
29
30 #define DEVICE_EVENT_LOG_EXPORT
31
32 #endif
33
34 #endif // COMPONENTS_DEVICE_EVENT_LOG_DEVICE_EVENT_LOG_EXPORT_H_
OLDNEW
« no previous file with comments | « components/device_event_log/device_event_log.cc ('k') | components/device_event_log/device_event_log_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698