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

Unified Diff: device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 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 | « device/bluetooth/bluetooth_remote_gatt_characteristic_win.cc ('k') | device/geolocation/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm
diff --git a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm
index f39d77f86525fbd76c288bf16d97771b3f33c371..ce195f01b282b2df55333356f9d50181c4c18dbe 100644
--- a/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm
+++ b/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm
@@ -141,16 +141,9 @@ using base::scoped_nsobject;
}
- (void)didModifyServices:(NSArray*)invalidatedServices {
- // -[CBPeripheralDelegate peripheral:didModifyServices:] is only available
- // with 10.9. It is safe to call this method (even if chrome is running on
- // 10.8) since WebBluetooth is enabled only with 10.10.
- // TODO(crbug.com/653056)
DCHECK(
[_delegate respondsToSelector:@selector(peripheral:didModifyServices:)]);
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wpartial-availability"
[_delegate peripheral:self.peripheral didModifyServices:invalidatedServices];
-#pragma clang diagnostic pop
}
- (NSUUID*)identifier {
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_characteristic_win.cc ('k') | device/geolocation/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698