Skip to content

Commit

Permalink
[SH iOS AMP] Disable SH AMP by default on iOS
Browse files Browse the repository at this point in the history
Bug: 1313162
Change-Id: I362cfd7423aa967d069a3074442497359feadab0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3582817
Commit-Queue: Tommy Martino <tmartino@chromium.org>
Auto-Submit: Tommy Martino <tmartino@chromium.org>
Reviewed-by: Cheick Cisse <cheickcisse@google.com>
Commit-Queue: Cheick Cisse <cheickcisse@google.com>
Cr-Commit-Position: refs/heads/main@{#991211}
  • Loading branch information
tfmar authored and Chromium LUCI CQ committed Apr 11, 2022
1 parent a2f7aab commit 80ff8e0
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "components/shared_highlighting/core/common/shared_highlighting_features.h"

#include "base/feature_list.h"
#include "build/build_config.h"

namespace shared_highlighting {

Expand All @@ -16,8 +17,14 @@ constexpr base::FeatureParam<int> kPreemptiveLinkGenTimeoutLengthMs{
const base::Feature kSharedHighlightingV2{"SharedHighlightingV2",
base::FEATURE_ENABLED_BY_DEFAULT};

const base::Feature kSharedHighlightingAmp{"SharedHighlightingAmp",
base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kSharedHighlightingAmp {
"SharedHighlightingAmp",
#if BUILDFLAG(IS_IOS)
base::FEATURE_DISABLED_BY_DEFAULT
#else
base::FEATURE_ENABLED_BY_DEFAULT
#endif
};

const base::Feature kIOSSharedHighlightingV2{"IOSSharedHighlightingV2",
base::FEATURE_DISABLED_BY_DEFAULT};
Expand Down

0 comments on commit 80ff8e0

Please sign in to comment.