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

Unified Diff: chrome/browser/chromeos/bluetooth/bluetooth_adapter.cc

Issue 11075006: Moved bluetooth adapter files to device/bluetooth/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renamed 'bluetooth' target to 'device_bluetooth'. Created 8 years, 2 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: chrome/browser/chromeos/bluetooth/bluetooth_adapter.cc
diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_adapter.cc b/chrome/browser/chromeos/bluetooth/bluetooth_adapter.cc
deleted file mode 100644
index 7108b41b8efa4493a21b2155c4fdbd0fd586a6da..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/bluetooth/bluetooth_adapter.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2012 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 "chrome/browser/chromeos/bluetooth/bluetooth_adapter.h"
-
-#include "chrome/browser/chromeos/bluetooth/bluetooth_device.h"
-
-namespace chromeos {
-
-BluetoothAdapter::~BluetoothAdapter() {
-}
-
-const std::string& BluetoothAdapter::address() const {
- return address_;
-}
-
-const std::string& BluetoothAdapter::name() const {
- return name_;
-}
-
-BluetoothAdapter::DeviceList BluetoothAdapter::GetDevices() {
- ConstDeviceList const_devices =
- const_cast<const BluetoothAdapter *>(this)->GetDevices();
-
- DeviceList devices;
- for (ConstDeviceList::const_iterator i = const_devices.begin();
- i != const_devices.end(); ++i)
- devices.push_back(const_cast<BluetoothDevice *>(*i));
-
- return devices;
-}
-
-} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698