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

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

Issue 2855233002: Use constexpr TaskTraits constructor in device. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | device/usb/usb_service.cc » ('j') | device/usb/usb_service_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/dbus/fake_bluetooth_device_client.cc
diff --git a/device/bluetooth/dbus/fake_bluetooth_device_client.cc b/device/bluetooth/dbus/fake_bluetooth_device_client.cc
index 3ce62c3519c1d4cab6d4587e31703d0dbed40105..4dd09ffe817d3b6261d3a4e266f3e81229f97d0c 100644
--- a/device/bluetooth/dbus/fake_bluetooth_device_client.cc
+++ b/device/bluetooth/dbus/fake_bluetooth_device_client.cc
@@ -519,10 +519,8 @@ void FakeBluetoothDeviceClient::ConnectProfile(
}
base::PostTaskWithTraits(
- FROM_HERE, base::TaskTraits()
- .WithShutdownBehavior(
- base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN)
- .MayBlock(),
+ FROM_HERE,
+ {base::MayBlock(), base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN},
base::Bind(&SimulatedProfileSocket, fds[0]));
base::ScopedFD fd(fds[1]);
« no previous file with comments | « no previous file | device/usb/usb_service.cc » ('j') | device/usb/usb_service_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698