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

Side by Side Diff: webkit/fileapi/fileapi_export.h

Issue 10447055: Move fileapi into its own component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes and use FILEAPI_EXPORT_PRIVATE Created 8 years, 6 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 | Annotate | Revision Log
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 WEBKIT_FILEAPI_FILEAPI_EXPORT_H_
6 #define WEBKIT_FILEAPI_FILEAPI_EXPORT_H_
7 #pragma once
8
9 #if defined(COMPONENT_BUILD)
10 #if defined(WIN32)
11
12 #if defined(FILEAPI_IMPLEMENTATION)
ericu 2012/05/29 17:59:49 What's the difference between FILEAPI_EXPORT and F
benwells 2012/05/29 23:46:52 There is no difference. Apparently this is a docum
13 #define FILEAPI_EXPORT __declspec(dllexport)
14 #define FILEAPI_EXPORT_PRIVATE __declspec(dllexport)
15 #else
16 #define FILEAPI_EXPORT __declspec(dllimport)
17 #define FILEAPI_EXPORT_PRIVATE __declspec(dllimport)
18 #endif // defined(FILEAPI_IMPLEMENTATION)
19
20 #else // defined(WIN32)
21 #if defined(FILEAPI_IMPLEMENTATION)
22 #define FILEAPI_EXPORT __attribute__((visibility("default")))
23 #define FILEAPI_EXPORT_PRIVATE __attribute__((visibility("default")))
24 #else
25 #define FILEAPI_EXPORT
26 #define FILEAPI_EXPORT_PRIVATE
27 #endif
28 #endif
29
30 #else // defined(COMPONENT_BUILD)
31 #define FILEAPI_EXPORT
32 #define FILEAPI_EXPORT_PRIVATE
33 #endif
34
35 #endif // WEBKIT_FILEAPI_FILEAPI_EXPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698