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

Side by Side Diff: webkit/common/storage_export.h

Issue 520913003: Split storage macros into storage and storage_common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix header guard Created 6 years, 3 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 | « webkit/common/storage_common_export.h ('k') | webkit/storage_browser.gyp » ('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) 2013 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_COMMON_STORAGE_EXPORT_H_
6 #define WEBKIT_COMMON_STORAGE_EXPORT_H_
7
8 #if defined(COMPONENT_BUILD)
9 #if defined(WIN32)
10
11 #if defined(STORAGE_IMPLEMENTATION)
12 #define STORAGE_EXPORT __declspec(dllexport)
13 #define STORAGE_EXPORT_PRIVATE __declspec(dllexport)
14 #else
15 #define STORAGE_EXPORT __declspec(dllimport)
16 #define STORAGE_EXPORT_PRIVATE __declspec(dllimport)
17 #endif // defined(STORAGE_IMPLEMENTATION)
18
19 #else // defined(WIN32)
20 #if defined(STORAGE_IMPLEMENTATION)
21 #define STORAGE_EXPORT __attribute__((visibility("default")))
22 #define STORAGE_EXPORT_PRIVATE __attribute__((visibility("default")))
23 #else
24 #define STORAGE_EXPORT
25 #define STORAGE_EXPORT_PRIVATE
26 #endif
27 #endif
28
29 #else // defined(COMPONENT_BUILD)
30 #define STORAGE_EXPORT
31 #define STORAGE_EXPORT_PRIVATE
32 #endif
33
34 #endif // WEBKIT_COMMON_STORAGE_EXPORT_H_
OLDNEW
« no previous file with comments | « webkit/common/storage_common_export.h ('k') | webkit/storage_browser.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698