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

Unified Diff: webkit/browser/webkit_storage_browser_export.h

Issue 16701004: Fix webkit_storage exports definitions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/browser/quota/usage_tracker.h ('k') | webkit/common/appcache/appcache_interfaces.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/webkit_storage_browser_export.h
diff --git a/webkit/browser/webkit_storage_browser_export.h b/webkit/browser/webkit_storage_browser_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..bfe2599b3ac0bd8a7143597d56231b1bc6430533
--- /dev/null
+++ b/webkit/browser/webkit_storage_browser_export.h
@@ -0,0 +1,34 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEBKIT_BROWSER_WEBKIT_STORAGE_BROWSER_EXPORT_H_
+#define WEBKIT_BROWSER_WEBKIT_STORAGE_BROWSER_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(WEBKIT_STORAGE_BROWSER_IMPLEMENTATION)
+#define WEBKIT_STORAGE_BROWSER_EXPORT __declspec(dllexport)
+#define WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE __declspec(dllexport)
+#else
+#define WEBKIT_STORAGE_BROWSER_EXPORT __declspec(dllimport)
+#define WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE __declspec(dllimport)
+#endif // defined(BROWSER_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(WEBKIT_STORAGE_BROWSER_IMPLEMENTATION)
+#define WEBKIT_STORAGE_BROWSER_EXPORT __attribute__((visibility("default")))
+#define WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE __attribute__((visibility("default")))
+#else
+#define WEBKIT_STORAGE_BROWSER_EXPORT
+#define WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define WEBKIT_STORAGE_BROWSER_EXPORT
+#define WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE
+#endif
+
+#endif // WEBKIT_BROWSER_WEBKIT_STORAGE_BROWSER_EXPORT_H_
« no previous file with comments | « webkit/browser/quota/usage_tracker.h ('k') | webkit/common/appcache/appcache_interfaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698