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

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

Issue 1922923002: bluetooth: Move requestDevice to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-request-device
Patch Set: Change ref to pointer 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
« no previous file with comments | « content/common/bluetooth/bluetooth_device.h ('k') | content/common/bluetooth/bluetooth_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/bluetooth/bluetooth_device.cc
diff --git a/content/common/bluetooth/bluetooth_device.cc b/content/common/bluetooth/bluetooth_device.cc
deleted file mode 100644
index 4b07d329f4d7b54ee2c72b762fad03af277b469e..0000000000000000000000000000000000000000
--- a/content/common/bluetooth/bluetooth_device.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/common/bluetooth/bluetooth_device.h"
-
-#include "base/strings/string_util.h"
-
-namespace content {
-
-BluetoothDevice::BluetoothDevice()
- : id(""),
- name(base::string16()),
- uuids() {}
-
-BluetoothDevice::BluetoothDevice(
- const std::string& id,
- const base::string16& name,
- const std::vector<std::string>& uuids)
- : id(id),
- name(name),
- uuids(uuids) {}
-
-BluetoothDevice::~BluetoothDevice() {
-}
-
-// static
-std::vector<std::string> BluetoothDevice::UUIDsFromBluetoothUUIDs(
- const device::BluetoothDevice::UUIDList& uuid_list) {
- std::vector<std::string> uuids;
- uuids.reserve(uuid_list.size());
- for (const auto& it : uuid_list)
- uuids.push_back(it.canonical_value());
- return uuids;
-}
-
-} // namespace content
« no previous file with comments | « content/common/bluetooth/bluetooth_device.h ('k') | content/common/bluetooth/bluetooth_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698