Commit 87040434 authored by Chris Morin's avatar Chris Morin Committed by Commit Bot

Add ARC feature flag for Chrome OS

Add the ArcBootCompletedBroadcast feature flag to those exposed to
chromeos. This is needed by arcvm-launch to determine what commandline
parameters should be passed to the Android kernel.

BUG=b:136128691
TEST=dbus-send

Change-Id: I748b33ace2bab84c79075c9ee920e35bd7b56ff1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715398Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
Commit-Queue: Chris Morin <cmtm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680187}
parent c2bc5254
......@@ -107,9 +107,13 @@ void ChromeFeaturesServiceProvider::IsFeatureEnabled(
dbus::MethodCall* method_call,
dbus::ExportedObject::ResponseSender response_sender) {
static const base::Feature constexpr* kFeatureLookup[] = {
&features::kUsbbouncer, &features::kUsbguard,
&arc::kNativeBridgeExperimentFeature, &arc::kFilePickerExperimentFeature,
&arc::kCustomTabsExperimentFeature, &arc::kPrintSpoolerExperimentFeature,
&features::kUsbbouncer,
&features::kUsbguard,
&arc::kBootCompletedBroadcastFeature,
&arc::kCustomTabsExperimentFeature,
&arc::kFilePickerExperimentFeature,
&arc::kNativeBridgeExperimentFeature,
&arc::kPrintSpoolerExperimentFeature,
};
dbus::MessageReader reader(method_call);
......
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