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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_profile_manager_client.cc

Issue 1347193004: Refactor DBusThreadManager to split away BT clients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: device/bluetooth/dbus/fake_bluetooth_profile_manager_client.cc
diff --git a/chromeos/dbus/fake_bluetooth_profile_manager_client.cc b/device/bluetooth/dbus/fake_bluetooth_profile_manager_client.cc
similarity index 93%
rename from chromeos/dbus/fake_bluetooth_profile_manager_client.cc
rename to device/bluetooth/dbus/fake_bluetooth_profile_manager_client.cc
index bba54a87d83f072c821e050188a62c0ecc01c350..96254a52697ec700d5e709844ffaecc981f8df1a 100644
--- a/chromeos/dbus/fake_bluetooth_profile_manager_client.cc
+++ b/device/bluetooth/dbus/fake_bluetooth_profile_manager_client.cc
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chromeos/dbus/fake_bluetooth_profile_manager_client.h"
+#include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/single_thread_task_runner.h"
#include "base/thread_task_runner_handle.h"
-#include "chromeos/dbus/fake_bluetooth_profile_service_provider.h"
#include "dbus/bus.h"
#include "dbus/message.h"
#include "dbus/object_proxy.h"
+#include "device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
-namespace chromeos {
+namespace bluez {
const char FakeBluetoothProfileManagerClient::kL2capUuid[] =
"4d995052-33cc-4fdf-b446-75f32942a076";
@@ -23,14 +23,11 @@ const char FakeBluetoothProfileManagerClient::kRfcommUuid[] =
const char FakeBluetoothProfileManagerClient::kUnregisterableUuid[] =
"00000000-0000-0000-0000-000000000000";
-FakeBluetoothProfileManagerClient::FakeBluetoothProfileManagerClient() {
-}
+FakeBluetoothProfileManagerClient::FakeBluetoothProfileManagerClient() {}
-FakeBluetoothProfileManagerClient::~FakeBluetoothProfileManagerClient() {
-}
+FakeBluetoothProfileManagerClient::~FakeBluetoothProfileManagerClient() {}
-void FakeBluetoothProfileManagerClient::Init(dbus::Bus* bus) {
-}
+void FakeBluetoothProfileManagerClient::Init(dbus::Bus* bus) {}
void FakeBluetoothProfileManagerClient::RegisterProfile(
const dbus::ObjectPath& profile_path,
@@ -111,4 +108,4 @@ FakeBluetoothProfileManagerClient::GetProfileServiceProvider(
return service_provider_map_[iter->second];
}
-} // namespace chromeos
+} // namespace bluez

Powered by Google App Engine
This is Rietveld 408576698