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

Unified Diff: Source/platform/PlatformExport.h

Issue 26975004: Move ContentDecryptionModule* to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add NON_EXPORTED_BASE macro Created 7 years, 2 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 | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/PlatformExport.h
diff --git a/Source/platform/PlatformExport.h b/Source/platform/PlatformExport.h
index 0b12508db206b498997016c1c363ac4862dba052..89c636fccc3249820d3107be0924aa4ddc84d405 100644
--- a/Source/platform/PlatformExport.h
+++ b/Source/platform/PlatformExport.h
@@ -50,4 +50,15 @@
#define PLATFORM_EXPORT
#endif
+#if defined(_MSC_VER)
+#define COMPILER_MSVC 1
jamesr 2013/10/21 18:20:09 if you're setting this just to use in the macro be
+#endif
+
+#if defined(COMPILER_MSVC)
+#define NON_EXPORTED_BASE(code) MSVC_SUPPRESS_WARNING(4275) \
jamesr 2013/10/21 18:20:09 where does the definition of MSVC_SUPPRESS_WARNING
+ code
+#else // not MSVC
+#define NON_EXPORTED_BASE(code) code
+#endif // COMPILER_MSVC
+
#endif // PlatformExport_h
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698