device/bluetooth: Add bluetooth suspend notifier flag
ChromeOS BlueZ is adding better support for system suspend and it can be
enabled by setting the UseKernelSuspendNotifier property. Add a
BluetoothKernelSuspendNotifier feature flag, expose it in chrome://flags
and use it in device/bluetooth to enable or disable the feature when the
adapter becomes available.
BUG=b:147884615
TEST=Built for Sarien, deploy_chrome to physical device, toggled flag in
guest mode while running dbus-monitor to confirm property changes.
R=hansberry,mcchou
Change-Id: I6cdc874e2adaa7fb59435d1768fb29bffe4e424a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2029258
Reviewed-by: Miao-chen Chou <[email protected]>
Reviewed-by: Ryan Hansberry <[email protected]>
Commit-Queue: Abhishek Pandit-Subedi <[email protected]>
Cr-Commit-Position: refs/heads/master@{#742908}
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index dd49b53..77fcafa 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -1782,6 +1782,9 @@
extern const char kBluetoothAggressiveAppearanceFilterName[];
extern const char kBluetoothAggressiveAppearanceFilterDescription[];
+extern const char kBluetoothKernelSuspendNotifierName[];
+extern const char kBluetoothKernelSuspendNotifierDescription[];
+
extern const char kCameraSystemWebAppName[];
extern const char kCameraSystemWebAppDescription[];