Commit 54f0305f authored by Paul Moy's avatar Paul Moy Committed by Commit Bot

cros_healthd: add is_chrome field

Chrome is trying to communicate with the cros_healthd
daemon via D-Bus. cros_healthd's method which Chrome calls
has changed to include an additional argument. Add this
argument to the MethodCall sent to cros_healthd.

/var/log/chrome/chrome for StatusUploader messages

Bug: b:128683357
Test: chery-pick crrev.com/c/1779132 and check
Change-Id: I477c466927f110ce5667034c00b48b8b2c830d8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1912643Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Commit-Queue: Paul Moy <pmoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#716033}
parent 3a401caf
...@@ -56,6 +56,7 @@ class CrosHealthdClientImpl : public CrosHealthdClient { ...@@ -56,6 +56,7 @@ class CrosHealthdClientImpl : public CrosHealthdClient {
base::ScopedFD fd = base::ScopedFD fd =
platform_channel.TakeRemoteEndpoint().TakePlatformHandle().TakeFD(); platform_channel.TakeRemoteEndpoint().TakePlatformHandle().TakeFD();
writer.AppendFileDescriptor(fd.get()); writer.AppendFileDescriptor(fd.get());
writer.AppendBool(/*is_chrome=*/true);
cros_healthd_service_proxy_->CallMethod( cros_healthd_service_proxy_->CallMethod(
&method_call, dbus::ObjectProxy::TIMEOUT_USE_DEFAULT, &method_call, dbus::ObjectProxy::TIMEOUT_USE_DEFAULT,
base::BindOnce( base::BindOnce(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment