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

Unified Diff: device/bluetooth/bluetooth_task_manager_win.cc

Issue 2317773002: Fix bluetooth callback function declaration (Closed)
Patch Set: Updating typedef comment per code-review feedback Created 4 years, 3 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_low_energy_win_fake.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_task_manager_win.cc
diff --git a/device/bluetooth/bluetooth_task_manager_win.cc b/device/bluetooth/bluetooth_task_manager_win.cc
index e79294715b9df1109182c84a34b7a38bc392fd1e..df0b0fcccb9432adc1300127691dd0b99b0e8ddc 100644
--- a/device/bluetooth/bluetooth_task_manager_win.cc
+++ b/device/bluetooth/bluetooth_task_manager_win.cc
@@ -154,9 +154,9 @@ base::Lock g_characteristic_value_changed_registrations_lock;
// Function to be registered to OS to monitor Bluetooth LE GATT event. It is
// invoked in BluetoothApis.dll thread.
-void OnGetGattEventWin(BTH_LE_GATT_EVENT_TYPE type,
- PVOID event_parameter,
- PVOID context) {
+void CALLBACK OnGetGattEventWin(BTH_LE_GATT_EVENT_TYPE type,
+ PVOID event_parameter,
+ PVOID context) {
if (type != CharacteristicValueChangedEvent) {
// Right now, only characteristic value changed event is supported.
NOTREACHED();
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_win_fake.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698