Commit b4454a4f authored by Tao Bai's avatar Tao Bai Committed by Commit Bot

Enable ContentCapture for Android

Bug: 950248
Change-Id: I7ea4198c96fda976ce2d9ae6e6b19b5cdc473f36
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1764896Reviewed-by: default avatarChangwan Ryu <changwan@chromium.org>
Commit-Queue: Tao Bai <michaelbai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689527}
parent 3aae7412
......@@ -5,12 +5,18 @@
#include "components/content_capture/common/content_capture_features.h"
#include "base/metrics/field_trial_params.h"
#include "build/build_config.h"
namespace content_capture {
namespace features {
#if defined(OS_ANDROID)
const base::Feature kContentCapture{"ContentCapture",
base::FEATURE_ENABLED_BY_DEFAULT};
#else
const base::Feature kContentCapture{"ContentCapture",
base::FEATURE_DISABLED_BY_DEFAULT};
#endif
bool IsContentCaptureEnabled() {
return base::FeatureList::IsEnabled(kContentCapture);
......
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