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

Side by Side Diff: sync/base/sync_export.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
« no previous file with comments | « sync/base/DEPS ('k') | sync/engine/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 SYNC_SYNC_EXPORT_H_
6 #define SYNC_SYNC_EXPORT_H_
7
8 #if defined(COMPONENT_BUILD)
9 #if defined(WIN32)
10
11 // TODO(skym): Remove SYNC_EXPORT_PRIVATE, see crbug/554242.
12
13 #if defined(SYNC_IMPLEMENTATION)
14 #define SYNC_EXPORT __declspec(dllexport)
15 #define SYNC_EXPORT_PRIVATE __declspec(dllexport)
16 #elif defined(SYNC_TEST)
17 #define SYNC_EXPORT __declspec(dllimport)
18 #define SYNC_EXPORT_PRIVATE __declspec(dllimport)
19 #else
20 #define SYNC_EXPORT __declspec(dllimport)
21 #define SYNC_EXPORT_PRIVATE
22 #endif // defined(SYNC_IMPLEMENTATION)
23
24 #else // defined(WIN32)
25 #if defined(SYNC_IMPLEMENTATION)
26 #define SYNC_EXPORT __attribute__((visibility("default")))
27 #define SYNC_EXPORT_PRIVATE __attribute__((visibility("default")))
28 #elif defined(SYNC_TEST)
29 #define SYNC_EXPORT
30 #define SYNC_EXPORT_PRIVATE __attribute__((visibility("default")))
31 #else
32 #define SYNC_EXPORT
33 #define SYNC_EXPORT_PRIVATE
34 #endif // defined(SYNC_IMPLEMENTATION)
35 #endif
36
37 #else // defined(COMPONENT_BUILD)
38 #define SYNC_EXPORT
39 #define SYNC_EXPORT_PRIVATE
40 #endif
41
42 #endif // SYNC_SYNC_EXPORT_H_
OLDNEW
« no previous file with comments | « sync/base/DEPS ('k') | sync/engine/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698