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

Unified Diff: chromeos/chromeos_export.h

Issue 9837075: Move power_supply_status.* from src/ash to src/chromeos (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 9 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 | « chromeos/chromeos.gyp ('k') | chromeos/dbus/power_supply_status.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/chromeos_export.h
diff --git a/chromeos/chromeos_export.h b/chromeos/chromeos_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..7be813f260fb5b1da6ff0ee7444c9c64629c9991
--- /dev/null
+++ b/chromeos/chromeos_export.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2012 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 CHROMEOS_CHROMEOS_EXPORT_H_
+#define CHROMEOS_CHROMEOS_EXPORT_H_
+#pragma once
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(CHROMEOS_IMPLEMENTATION)
+#define CHROMEOS_EXPORT __declspec(dllexport)
+#else
+#define CHROMEOS_EXPORT __declspec(dllimport)
+#endif // defined(CHROMEOS_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#define CHROMEOS_EXPORT __attribute__((visibility("default")))
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define CHROMEOS_EXPORT
+#endif
+
+#endif // CHROMEOS_CHROMEOS_EXPORT_H_
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/dbus/power_supply_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698