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

Unified Diff: content/common/bluetooth/bluetooth_device.h

Issue 1945823003: bluetooth: Remove BluetoothAdvertisementData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Fix test Created 4 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: content/common/bluetooth/bluetooth_device.h
diff --git a/content/common/bluetooth/bluetooth_device.h b/content/common/bluetooth/bluetooth_device.h
index 535f13c15ee54084cb8082726111f45208024417..5d731a96d1f4765e31e718f37d87bb2e9eb81735 100644
--- a/content/common/bluetooth/bluetooth_device.h
+++ b/content/common/bluetooth/bluetooth_device.h
@@ -21,25 +21,14 @@ struct CONTENT_EXPORT BluetoothDevice {
BluetoothDevice();
BluetoothDevice(const std::string& id,
const base::string16& name,
- int8_t tx_power,
- int8_t rssi,
const std::vector<std::string>& uuids);
~BluetoothDevice();
static std::vector<std::string> UUIDsFromBluetoothUUIDs(
const device::BluetoothDevice::UUIDList& uuid_list);
- // 127 is used as Unknown Power. According to the Bluetooth spec valid powers
- // are between [-127, 127]. Anything outside this range will be considered
- // Unknown Power.
- static int8_t ValidatePower(int16_t power);
- // TODO(ortuno): RSSI Unknown and Tx Power Unknown should have different
- // values. Add kUnknownTxPower when implemented: http://crbug.com/551572
- const static int8_t kUnknownPower = 127;
std::string id;
base::string16 name;
- int8_t tx_power;
- int8_t rssi;
std::vector<std::string> uuids; // 128bit UUIDs with dashes. 36 chars.
};
« no previous file with comments | « content/browser/bluetooth/bluetooth_dispatcher_host.cc ('k') | content/common/bluetooth/bluetooth_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698