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

Unified Diff: device/bluetooth/bluetooth_uuid.h

Issue 655093002: [Clean up] Introduce a BLUETOOTH_EXPORT macro to control symbol visibility outside of //device/blue… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Export BluetoothUUID's PrintTo as well Created 6 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 | « device/bluetooth/bluetooth_socket.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_uuid.h
diff --git a/device/bluetooth/bluetooth_uuid.h b/device/bluetooth/bluetooth_uuid.h
index 5c2fc8a3b9c0f05053baab9d0a773f0954c65ea7..0783bc7a4dfec7690cdda78e5f9cc6f325691158 100644
--- a/device/bluetooth/bluetooth_uuid.h
+++ b/device/bluetooth/bluetooth_uuid.h
@@ -7,6 +7,8 @@
#include <string>
+#include "device/bluetooth/bluetooth_export.h"
+
namespace device {
// Opaque wrapper around a Bluetooth UUID. Instances of UUID represent the
@@ -14,7 +16,7 @@ namespace device {
// used in Bluetooth based communication, such as a peripheral's services,
// characteristics, and characteristic descriptors. An instance are
// constructed using a string representing 16, 32, or 128 bit UUID formats.
-class BluetoothUUID {
+class BLUETOOTH_EXPORT BluetoothUUID {
public:
// Possible representation formats used during construction.
enum Format {
@@ -90,7 +92,7 @@ class BluetoothUUID {
};
// This is required by gtest to print a readable output on test failures.
-void PrintTo(const BluetoothUUID& uuid, std::ostream* out);
+void BLUETOOTH_EXPORT PrintTo(const BluetoothUUID& uuid, std::ostream* out);
} // namespace device
« no previous file with comments | « device/bluetooth/bluetooth_socket.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698