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

Unified Diff: extensions/common/api/bluetooth/bluetooth_manifest_permission.h

Issue 1096393002: API stubs for the BLE advertisement API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: extensions/common/api/bluetooth/bluetooth_manifest_permission.h
diff --git a/extensions/common/api/bluetooth/bluetooth_manifest_permission.h b/extensions/common/api/bluetooth/bluetooth_manifest_permission.h
index c77eee543e932710317bbc521b6ca634913eac71..bbf5d3a4b2c4535c8cfc8525fd6617a359f605e1 100644
--- a/extensions/common/api/bluetooth/bluetooth_manifest_permission.h
+++ b/extensions/common/api/bluetooth/bluetooth_manifest_permission.h
@@ -37,6 +37,7 @@ class BluetoothManifestPermission : public ManifestPermission {
const BluetoothPermissionRequest& request) const;
bool CheckSocketPermitted(const Extension* extension) const;
bool CheckLowEnergyPermitted(const Extension* extension) const;
+ bool CheckPeripheralPermitted(const Extension* extension) const;
void AddPermission(const std::string& uuid);
@@ -60,6 +61,7 @@ class BluetoothManifestPermission : public ManifestPermission {
BluetoothUuidSet uuids_;
bool socket_;
bool low_energy_;
+ bool peripheral_;
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698