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

Unified Diff: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h

Issue 1976453002: Add permission parsing and the removeService API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@idl_changes
Patch Set: Created 4 years, 7 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
Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
index 2862001530c85f28bf29c9189ead96da1b470516..2469c08981614ef72ad4f6eab62c60683d26ae4f 100644
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
@@ -357,6 +357,10 @@ class BluetoothLowEnergyEventRouter
void AddServiceToApp(const std::string& app_id,
const std::string& service_id);
+ // Removes a mapping for a service_id to the id of the app that owns it.
+ void RemoveServiceFromApp(const std::string& app_id,
+ const std::string& service_id);
+
// Register a local GATT service.
void RegisterGattService(const Extension* extension,
const std::string& service_id,

Powered by Google App Engine
This is Rietveld 408576698