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

Unified Diff: storage/common/storage_export.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « storage/common/quota/quota_types.h ('k') | storage/storage.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/common/storage_export.h
diff --git a/base/prefs/base_prefs_export.h b/storage/common/storage_export.h
similarity index 31%
copy from base/prefs/base_prefs_export.h
copy to storage/common/storage_export.h
index 3d207db890cfe12c66885054186e93b19ec4cf36..de039cde2ce86ead5577ec01d020756835a02d28 100644
--- a/base/prefs/base_prefs_export.h
+++ b/storage/common/storage_export.h
@@ -2,28 +2,33 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_PREFS_BASE_PREFS_EXPORT_H_
-#define BASE_PREFS_BASE_PREFS_EXPORT_H_
+#ifndef STORAGE_COMMON_STORAGE_EXPORT_H_
+#define STORAGE_COMMON_STORAGE_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
-#if defined(BASE_PREFS_IMPLEMENTATION)
-#define BASE_PREFS_EXPORT __declspec(dllexport)
+#if defined(STORAGE_IMPLEMENTATION)
+#define STORAGE_EXPORT __declspec(dllexport)
+#define STORAGE_EXPORT_PRIVATE __declspec(dllexport)
#else
-#define BASE_PREFS_EXPORT __declspec(dllimport)
-#endif // defined(BASE_PREFS_IMPLEMENTATION)
+#define STORAGE_EXPORT __declspec(dllimport)
+#define STORAGE_EXPORT_PRIVATE __declspec(dllimport)
+#endif // defined(STORAGE_IMPLEMENTATION)
#else // defined(WIN32)
-#if defined(BASE_PREFS_IMPLEMENTATION)
-#define BASE_PREFS_EXPORT __attribute__((visibility("default")))
+#if defined(STORAGE_IMPLEMENTATION)
+#define STORAGE_EXPORT __attribute__((visibility("default")))
+#define STORAGE_EXPORT_PRIVATE __attribute__((visibility("default")))
#else
-#define BASE_PREFS_EXPORT
+#define STORAGE_EXPORT
+#define STORAGE_EXPORT_PRIVATE
#endif
#endif
#else // defined(COMPONENT_BUILD)
-#define BASE_PREFS_EXPORT
+#define STORAGE_EXPORT
+#define STORAGE_EXPORT_PRIVATE
#endif
-#endif // BASE_PREFS_BASE_PREFS_EXPORT_H_
+#endif // STORAGE_COMMON_STORAGE_EXPORT_H_
« no previous file with comments | « storage/common/quota/quota_types.h ('k') | storage/storage.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698