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

Unified Diff: components/policy/policy_proto_export.h

Issue 258743005: Enable Enterprise enrollment on desktop builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added arg to PathService::OverrideAndCreateIfNeeded, added test for FakeCryptohomeClient::InstallAt… Created 6 years, 8 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
« chromeos/dbus/fake_cryptohome_client.cc ('K') | « components/policy.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/policy_proto_export.h
diff --git a/components/policy/policy_proto_export.h b/components/policy/policy_proto_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..4e9fd81302ddd4d5e381b4341497c11d519697e6
--- /dev/null
+++ b/components/policy/policy_proto_export.h
@@ -0,0 +1,34 @@
+// Copyright 2014 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_POLICY_POLICY_PROTO_EXPORT_H_
+#define COMPONENTS_POLICY_POLICY_PROTO_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+
+#if defined(WIN32)
+
+#if defined(POLICY_PROTO_COMPILATION)
+#define POLICY_PROTO_EXPORT __declspec(dllexport)
+#else
+#define POLICY_PROTO_EXPORT __declspec(dllimport)
+#endif // defined(POLICY_PROTO_COMPILATION)
+
+#else // defined(WIN32)
+
+#if defined(POLICY_PROTO_COMPILATION)
+#define POLICY_PROTO_EXPORT __attribute__((visibility("default")))
+#else
+#define POLICY_PROTO_EXPORT
+#endif // defined(POLICY_PROTO_COMPILATION)
+
+#endif // defined(WIN32)
+
+#else // defined(COMPONENT_BUILD)
+
+#define POLICY_PROTO_EXPORT
+
+#endif // defined(COMPONENT_BUILD)
+
+#endif // COMPONENTS_POLICY_POLICY_PROTO_EXPORT_H_
« chromeos/dbus/fake_cryptohome_client.cc ('K') | « components/policy.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698