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

Side by Side Diff: device/bluetooth/dbus/fake_bluetooth_le_advertising_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/location.h" 5 #include "base/location.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "dbus/bus.h" 9 #include "dbus/bus.h"
10 #include "dbus/message.h" 10 #include "dbus/message.h"
11 #include "dbus/object_proxy.h" 11 #include "dbus/object_proxy.h"
12 #include "device/bluetooth/dbus/fake_bluetooth_le_advertisement_service_provider .h" 12 #include "device/bluetooth/dbus/fake_bluetooth_le_advertisement_service_provider .h"
13 #include "device/bluetooth/dbus/fake_bluetooth_le_advertising_manager_client.h" 13 #include "device/bluetooth/dbus/fake_bluetooth_le_advertising_manager_client.h"
14 #include "third_party/cros_system_api/dbus/service_constants.h" 14 #include "third_party/cros_system_api/dbus/service_constants.h"
15 15
16 namespace bluez { 16 namespace bluez {
17 17
18 const char FakeBluetoothLEAdvertisingManagerClient::kAdvertisingManagerPath[] = 18 const char FakeBluetoothLEAdvertisingManagerClient::kAdvertisingManagerPath[] =
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void FakeBluetoothLEAdvertisingManagerClient:: 92 void FakeBluetoothLEAdvertisingManagerClient::
93 UnregisterAdvertisementServiceProvider( 93 UnregisterAdvertisementServiceProvider(
94 FakeBluetoothLEAdvertisementServiceProvider* service_provider) { 94 FakeBluetoothLEAdvertisementServiceProvider* service_provider) {
95 ServiceProviderMap::iterator iter = 95 ServiceProviderMap::iterator iter =
96 service_provider_map_.find(service_provider->object_path_); 96 service_provider_map_.find(service_provider->object_path_);
97 if (iter != service_provider_map_.end() && iter->second == service_provider) 97 if (iter != service_provider_map_.end() && iter->second == service_provider)
98 service_provider_map_.erase(iter); 98 service_provider_map_.erase(iter);
99 } 99 }
100 100
101 } // namespace bluez 101 } // namespace bluez
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698