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

Unified Diff: components/secure_display/secure_display_export.h

Issue 1233313005: Move elide_url to its own component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add cast to fix windows bot Created 5 years, 5 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
Index: components/secure_display/secure_display_export.h
diff --git a/components/secure_display/secure_display_export.h b/components/secure_display/secure_display_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..bc158ebd42f51fcfa5bef7cbd9656d508c78c13e
--- /dev/null
+++ b/components/secure_display/secure_display_export.h
@@ -0,0 +1,29 @@
+// Copyright 2015 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 COMPONENTS_SECURE_DISPLAY_SECURE_DISPLAY_EXPORT_H_
+#define COMPONENTS_SECURE_DISPLAY_SECURE_DISPLAY_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(SECURE_DISPLAY_IMPLEMENTATION)
+#define SECURE_DISPLAY_EXPORT __declspec(dllexport)
+#else
+#define SECURE_DISPLAY_EXPORT __declspec(dllimport)
+#endif // defined(SECURE_DISPLAY_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(SECURE_DISPLAY_IMPLEMENTATION)
+#define SECURE_DISPLAY_EXPORT __attribute__((visibility("default")))
+#else
+#define SECURE_DISPLAY_EXPORT
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define SECURE_DISPLAY_EXPORT
+#endif
+
+#endif // COMPONENTS_SECURE_DISPLAY_SECURE_DISPLAY_EXPORT_H_
« components/secure_display/elide_url.cc ('K') | « components/secure_display/elide_url_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698