Skip to content

Commit

Permalink
Add Feature to control the usage of BluetoothSystem
Browse files Browse the repository at this point in the history
The BluetoothSystem Mojo interface will replace the current Bluetooth
API. This introduces a Feature to use BluetoothSystem.

Bug: 882346
Change-Id: I9b0bd963642cdcd887c03124f8af1e2fa150d07e
Reviewed-on: https://chromium-review.googlesource.com/1235364
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#593463}
  • Loading branch information
Giovanni Ortuño Urquidi authored and Commit Bot committed Sep 24, 2018
1 parent ebd9b1a commit 7504077
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ash/public/cpp/ash_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ const base::Feature kUnlockWithExternalBinary{

const base::Feature kViewsLogin{"ViewsLogin", base::FEATURE_ENABLED_BY_DEFAULT};

const base::Feature kUseBluetoothSystemInAsh{"UseBluetoothSystemInAsh",
base::FEATURE_DISABLED_BY_DEFAULT};

bool IsDockedMagnifierEnabled() {
return base::FeatureList::IsEnabled(kDockedMagnifier);
}
Expand Down
3 changes: 3 additions & 0 deletions ash/public/cpp/ash_features.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ ASH_PUBLIC_EXPORT extern const base::Feature kUnlockWithExternalBinary;
// Enables views login.
ASH_PUBLIC_EXPORT extern const base::Feature kViewsLogin;

// Enables using the BluetoothSystem Mojo interface for Bluetooth operations.
ASH_PUBLIC_EXPORT extern const base::Feature kUseBluetoothSystemInAsh;

ASH_PUBLIC_EXPORT bool IsDockedMagnifierEnabled();

ASH_PUBLIC_EXPORT bool IsKeyboardShortcutViewerEnabled();
Expand Down

0 comments on commit 7504077

Please sign in to comment.