Commit a82e71b8 authored by Livvie Lin's avatar Livvie Lin Committed by Commit Bot

Add MarkHttpAs to ChromeFeatureList

Add MarkHttpAs to ChromeFeatureList so that it can be used to
check whether the danger-warning parameter (crbug.com/1008219)
is enabled in LocationBarModel.java, which will use a different
security icon for insecure states.

Bug: 1008219
Change-Id: I9fa7797cf44c83be4b21db9c57406f42850ad076
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1885224Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Commit-Queue: Livvie Lin <livvielin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710162}
parent e14a69ef
......@@ -263,6 +263,7 @@ public abstract class ChromeFeatureList {
public static final String SEARCH_ENGINE_PROMO_EXISTING_DEVICE =
"SearchEnginePromo.ExistingDevice";
public static final String SEARCH_ENGINE_PROMO_NEW_DEVICE = "SearchEnginePromo.NewDevice";
public static final String MARK_HTTP_AS = "MarkHttpAs";
// TODO(crbug.com/980849) Remove ChromeFeatureList.MOBILE_IDENTITY_CONSISTENCY
public static final String MOBILE_IDENTITY_CONSISTENCY = "MobileIdentityConsistency";
public static final String MODAL_PERMISSION_PROMPTS = "ModalPermissionPrompts";
......
......@@ -33,6 +33,7 @@
#include "components/payments/core/features.h"
#include "components/previews/core/previews_features.h"
#include "components/safe_browsing/features.h"
#include "components/security_state/core/features.h"
#include "components/signin/public/base/account_consistency_method.h"
#include "components/subresource_filter/core/browser/subresource_filter_features.h"
#include "components/sync/driver/sync_driver_switches.h"
......@@ -224,6 +225,7 @@ const base::Feature* kFeaturesExposedToJava[] = {
&password_manager::features::kPasswordManagerOnboardingAndroid,
&password_manager::features::kLeakDetection,
&safe_browsing::kCaptureSafetyNetId,
&security_state::features::kMarkHttpAsFeature,
&signin::kMiceFeature,
&switches::kSyncManualStartAndroid,
&subresource_filter::kSafeBrowsingSubresourceFilter,
......
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