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

Unified Diff: chromeos/components/tether/initializer.cc

Issue 2808353004: bluetooth: Rename Is*Available to Is*Supported (Closed)
Patch Set: Add const Created 3 years, 8 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
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.cc ('k') | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/components/tether/initializer.cc
diff --git a/chromeos/components/tether/initializer.cc b/chromeos/components/tether/initializer.cc
index 9d12a935dbd84d23c274e7d511a6d0df475412ab..809231febc282b20f9b04d2a9f27d375dbbd3051 100644
--- a/chromeos/components/tether/initializer.cc
+++ b/chromeos/components/tether/initializer.cc
@@ -51,8 +51,8 @@ void Initializer::Init(
ProfileOAuth2TokenService* token_service,
NetworkStateHandler* network_state_handler,
NetworkConnect* network_connect) {
- if (!device::BluetoothAdapterFactory::IsBluetoothAdapterAvailable()) {
- PA_LOG(WARNING) << "Bluetooth is unavailable on this device; cannot "
+ if (!device::BluetoothAdapterFactory::IsBluetoothSupported()) {
+ PA_LOG(WARNING) << "Bluetooth is not supported on this device; cannot "
<< "initialize tether feature.";
return;
}
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.cc ('k') | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698