Index: extensions/browser/api/bluetooth/bluetooth_extension_function.h |
diff --git a/extensions/browser/api/bluetooth/bluetooth_extension_function.h b/extensions/browser/api/bluetooth/bluetooth_extension_function.h |
index c09e8c8053f8c8d4ffb5157706081622367b13e8..8aed8ab602dcbc85713b960558c059c5b40dd769 100644 |
--- a/extensions/browser/api/bluetooth/bluetooth_extension_function.h |
+++ b/extensions/browser/api/bluetooth/bluetooth_extension_function.h |
@@ -31,6 +31,9 @@ class BluetoothExtensionFunction : public AsyncExtensionFunction { |
// ExtensionFunction: |
bool RunAsync() override; |
+ // Use instead of extension_id() so that this can be run from WebUI. |
+ std::string GetExtensionId(); |
+ |
private: |
void RunOnAdapterReady(scoped_refptr<device::BluetoothAdapter> adapter); |