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

Side by Side Diff: device/bluetooth/dbus/fake_bluetooth_device_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_device_client.h" 5 #include "device/bluetooth/dbus/fake_bluetooth_device_client.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <sys/socket.h> 9 #include <sys/socket.h>
10 #include <sys/types.h> 10 #include <sys/types.h>
11 #include <unistd.h> 11 #include <unistd.h>
12 12
13 #include <algorithm> 13 #include <algorithm>
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 #include <utility> 16 #include <utility>
17 17
18 #include "base/location.h" 18 #include "base/location.h"
19 #include "base/logging.h" 19 #include "base/logging.h"
20 #include "base/rand_util.h" 20 #include "base/rand_util.h"
21 #include "base/single_thread_task_runner.h" 21 #include "base/single_thread_task_runner.h"
22 #include "base/stl_util.h" 22 #include "base/stl_util.h"
23 #include "base/thread_task_runner_handle.h" 23 #include "base/threading/thread_task_runner_handle.h"
24 #include "base/threading/worker_pool.h" 24 #include "base/threading/worker_pool.h"
25 #include "base/time/time.h" 25 #include "base/time/time.h"
26 #include "dbus/file_descriptor.h" 26 #include "dbus/file_descriptor.h"
27 #include "device/bluetooth/dbus/bluez_dbus_manager.h" 27 #include "device/bluetooth/dbus/bluez_dbus_manager.h"
28 #include "device/bluetooth/dbus/fake_bluetooth_adapter_client.h" 28 #include "device/bluetooth/dbus/fake_bluetooth_adapter_client.h"
29 #include "device/bluetooth/dbus/fake_bluetooth_agent_manager_client.h" 29 #include "device/bluetooth/dbus/fake_bluetooth_agent_manager_client.h"
30 #include "device/bluetooth/dbus/fake_bluetooth_agent_service_provider.h" 30 #include "device/bluetooth/dbus/fake_bluetooth_agent_service_provider.h"
31 #include "device/bluetooth/dbus/fake_bluetooth_gatt_service_client.h" 31 #include "device/bluetooth/dbus/fake_bluetooth_gatt_service_client.h"
32 #include "device/bluetooth/dbus/fake_bluetooth_input_client.h" 32 #include "device/bluetooth/dbus/fake_bluetooth_input_client.h"
33 #include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h" 33 #include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h"
(...skipping 1662 matching lines...) Expand 10 before | Expand all | Expand 10 after
1696 1696
1697 properties->uuids.ReplaceValue(service_uuids); 1697 properties->uuids.ReplaceValue(service_uuids);
1698 1698
1699 properties_map_.insert(std::make_pair(device_path, std::move(properties))); 1699 properties_map_.insert(std::make_pair(device_path, std::move(properties)));
1700 device_list_.push_back(device_path); 1700 device_list_.push_back(device_path);
1701 FOR_EACH_OBSERVER(BluetoothDeviceClient::Observer, observers_, 1701 FOR_EACH_OBSERVER(BluetoothDeviceClient::Observer, observers_,
1702 DeviceAdded(device_path)); 1702 DeviceAdded(device_path));
1703 } 1703 }
1704 1704
1705 } // namespace bluez 1705 } // namespace bluez
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698