-
Vaclav Brozek authored
Code talking to DBus needs to run on the same thread across Chrome (see https://crbug.com/130984). This is controlled by DBusThreadManager on CrOS, but not on Linux. Therefore this CL introduces GetDBusTaskRunner() for vending a TaskRunner for a lazily created DBus thread, and also switches NativeBackendKWallet and NotificationPlatformBridgeLinuxImpl over to use it. (Credits: This CL contains substantial code from https://chromium-review.googlesource.com/c/chromium/src/+/727899.) Bug: 769381 Change-Id: I643fbdcf0efd5647fc3fc27106748ac2226c5e03 Reviewed-on: https://chromium-review.googlesource.com/725289 Reviewed-by: Steven Bennetts <stevenjb@chromium.org> Reviewed-by: Christos Froussios <cfroussios@chromium.org> Reviewed-by: Jochen Eisinger <jochen@chromium.org> Commit-Queue: Vaclav Brozek <vabr@chromium.org> Cr-Commit-Position: refs/heads/master@{#511750}
440e0b2b