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_ |