Commit 0366e5c9 authored by Sophey Dong's avatar Sophey Dong Committed by Chromium LUCI CQ

[QRCode Android] Remove unused duplicate flag.

Bug: 1152761
Change-Id: I40ead415dcf134f2119bc63d27a82ce07c6dfb07
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2559154Reviewed-by: default avatarRamya Nagarajan <ramyan@chromium.org>
Commit-Queue: Sophey Dong <sophey@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844822}
parent 8911ef07
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include "chrome/browser/flags/jni_headers/ChromeFeatureList_jni.h" #include "chrome/browser/flags/jni_headers/ChromeFeatureList_jni.h"
#include "chrome/browser/notifications/chime/android/features.h" #include "chrome/browser/notifications/chime/android/features.h"
#include "chrome/browser/performance_hints/performance_hints_features.h" #include "chrome/browser/performance_hints/performance_hints_features.h"
#include "chrome/browser/share/features.h"
#include "chrome/browser/sharing/shared_clipboard/feature_flags.h" #include "chrome/browser/sharing/shared_clipboard/feature_flags.h"
#include "chrome/browser/video_tutorials/switches.h" #include "chrome/browser/video_tutorials/switches.h"
#include "chrome/browser/webapps/android/features.h" #include "chrome/browser/webapps/android/features.h"
...@@ -209,7 +208,6 @@ const base::Feature* kFeaturesExposedToJava[] = { ...@@ -209,7 +208,6 @@ const base::Feature* kFeaturesExposedToJava[] = {
&kShareButtonInTopToolbar, &kShareButtonInTopToolbar,
&kShareByDefaultInCCT, &kShareByDefaultInCCT,
&kSharedClipboardUI, &kSharedClipboardUI,
&kSharingQrCodeAndroid,
&kShoppingAssist, &kShoppingAssist,
&kSpannableInlineAutocomplete, &kSpannableInlineAutocomplete,
&kSpecialLocaleWrapper, &kSpecialLocaleWrapper,
......
...@@ -422,7 +422,6 @@ public abstract class ChromeFeatureList { ...@@ -422,7 +422,6 @@ public abstract class ChromeFeatureList {
public static final String SHARE_BUTTON_IN_TOP_TOOLBAR = "ShareButtonInTopToolbar"; public static final String SHARE_BUTTON_IN_TOP_TOOLBAR = "ShareButtonInTopToolbar";
public static final String SHARE_BY_DEFAULT_IN_CCT = "ShareByDefaultInCCT"; public static final String SHARE_BY_DEFAULT_IN_CCT = "ShareByDefaultInCCT";
public static final String SHARED_CLIPBOARD_UI = "SharedClipboardUI"; public static final String SHARED_CLIPBOARD_UI = "SharedClipboardUI";
public static final String SHARING_QR_CODE_ANDROID = "SharingQrCodeAndroid";
public static final String SHOW_TRUSTED_PUBLISHER_URL = "ShowTrustedPublisherURL"; public static final String SHOW_TRUSTED_PUBLISHER_URL = "ShowTrustedPublisherURL";
public static final String SMART_SUGGESTION_FOR_LARGE_DOWNLOADS = public static final String SMART_SUGGESTION_FOR_LARGE_DOWNLOADS =
"SmartSuggestionForLargeDownloads"; "SmartSuggestionForLargeDownloads";
......
...@@ -10,8 +10,6 @@ source_set("share") { ...@@ -10,8 +10,6 @@ source_set("share") {
sources = [ sources = [
"bitmap_download_request.cc", "bitmap_download_request.cc",
"editor_screenshot_task.cc", "editor_screenshot_task.cc",
"features.cc",
"features.h",
"link_to_text_bridge.cc", "link_to_text_bridge.cc",
"qr_code_generation_request.cc", "qr_code_generation_request.cc",
"qr_code_generation_request.h", "qr_code_generation_request.h",
......
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/share/features.h"
const base::Feature kSharingQrCodeAndroid{"SharingQrCodeAndroid",
base::FEATURE_ENABLED_BY_DEFAULT};
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SHARE_FEATURES_H_
#define CHROME_BROWSER_SHARE_FEATURES_H_
#include "base/feature_list.h"
// Feature flag to enable sharing and scanning QR Code on Android.
extern const base::Feature kSharingQrCodeAndroid;
#endif // CHROME_BROWSER_SHARE_FEATURES_H_
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