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

Side by Side Diff: device/bluetooth/dbus/fake_bluetooth_adapter_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_adapter_client.h" 5 #include "device/bluetooth/dbus/fake_bluetooth_adapter_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 "base/time/time.h" 11 #include "base/time/time.h"
12 #include "device/bluetooth/dbus/bluez_dbus_manager.h" 12 #include "device/bluetooth/dbus/bluez_dbus_manager.h"
13 #include "device/bluetooth/dbus/fake_bluetooth_device_client.h" 13 #include "device/bluetooth/dbus/fake_bluetooth_device_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 namespace { 18 namespace {
19 19
20 // Default interval for delayed tasks. 20 // Default interval for delayed tasks.
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 } 297 }
298 298
299 void FakeBluetoothAdapterClient::PostDelayedTask( 299 void FakeBluetoothAdapterClient::PostDelayedTask(
300 const base::Closure& callback) { 300 const base::Closure& callback) {
301 base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( 301 base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
302 FROM_HERE, callback, 302 FROM_HERE, callback,
303 base::TimeDelta::FromMilliseconds(simulation_interval_ms_)); 303 base::TimeDelta::FromMilliseconds(simulation_interval_ms_));
304 } 304 }
305 305
306 } // namespace bluez 306 } // namespace bluez
OLDNEW
« no previous file with comments | « device/bluetooth/bluez/bluetooth_adapter_bluez.cc ('k') | device/bluetooth/dbus/fake_bluetooth_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698