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

Side by Side Diff: device/bluetooth/dbus/fake_bluetooth_profile_manager_client.cc

Issue 1969033002: Fix include path for moved thread_task_runner_handle.h header in device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h" 5 #include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "dbus/bus.h" 11 #include "dbus/bus.h"
12 #include "dbus/message.h" 12 #include "dbus/message.h"
13 #include "dbus/object_proxy.h" 13 #include "dbus/object_proxy.h"
14 #include "device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h" 14 #include "device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h"
15 #include "third_party/cros_system_api/dbus/service_constants.h" 15 #include "third_party/cros_system_api/dbus/service_constants.h"
16 16
17 namespace bluez { 17 namespace bluez {
18 18
19 const char FakeBluetoothProfileManagerClient::kL2capUuid[] = 19 const char FakeBluetoothProfileManagerClient::kL2capUuid[] =
20 "4d995052-33cc-4fdf-b446-75f32942a076"; 20 "4d995052-33cc-4fdf-b446-75f32942a076";
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 FakeBluetoothProfileServiceProvider* 102 FakeBluetoothProfileServiceProvider*
103 FakeBluetoothProfileManagerClient::GetProfileServiceProvider( 103 FakeBluetoothProfileManagerClient::GetProfileServiceProvider(
104 const std::string& uuid) { 104 const std::string& uuid) {
105 ProfileMap::iterator iter = profile_map_.find(uuid); 105 ProfileMap::iterator iter = profile_map_.find(uuid);
106 if (iter == profile_map_.end()) 106 if (iter == profile_map_.end())
107 return nullptr; 107 return nullptr;
108 return service_provider_map_[iter->second]; 108 return service_provider_map_[iter->second];
109 } 109 }
110 110
111 } // namespace bluez 111 } // namespace bluez
OLDNEW
« no previous file with comments | « device/bluetooth/dbus/fake_bluetooth_le_advertising_manager_client.cc ('k') | device/hid/hid_connection_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698