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

Unified Diff: device/bluetooth/bluetooth_device_unittest.cc

Issue 2512783005: Fix //third_party/cec to not disable -Wunused-function. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 | « components/search_engines/template_url_prepopulate_data.cc ('k') | third_party/ced/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_device_unittest.cc
diff --git a/device/bluetooth/bluetooth_device_unittest.cc b/device/bluetooth/bluetooth_device_unittest.cc
index 9433fda99ef8071763ef0334f2aa22e896eafcfb..8d10181907374bef46b4945fe43f02b0889849fe 100644
--- a/device/bluetooth/bluetooth_device_unittest.cc
+++ b/device/bluetooth/bluetooth_device_unittest.cc
@@ -27,6 +27,8 @@
namespace device {
+#if defined(OS_ANDROID) || defined(OS_MACOSX)
+
namespace {
int8_t ToInt8(BluetoothTest::TestRSSI rssi) {
@@ -39,6 +41,8 @@ int8_t ToInt8(BluetoothTest::TestTxPower tx_power) {
} // namespace
+#endif
+
using UUIDSet = BluetoothDevice::UUIDSet;
using ServiceDataMap = BluetoothDevice::ServiceDataMap;
« no previous file with comments | « components/search_engines/template_url_prepopulate_data.cc ('k') | third_party/ced/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698