<?xml version="1.0" encoding="utf-8" ?>
<!--
Please refer to the lint doc for how to use this file and what should go in it:
https://chromium.googlesource.com/chromium/src/+/main/build/android/docs/lint.md
-->
<lint>
  <!-- Ignore all lint errors in clank code. -->
  <issue id="all">
    <ignore regexp="^\.\./\.\./clank/"/>
    <ignore regexp="^gen/clank/"/>
    <!-- obj can be a subdirectory under gen. -->
    <ignore regexp="/obj/clank/"/>
  </issue>
  <issue id="AcceptsUserCertificates">
    <!-- See https://crbug.com/41379786 and comment in the file for context. -->
    <ignore regexp="chrome/android/java/res_base/xml/network_security_config.xml"/>
  </issue>
  <!-- Triggered by ChromeImageView removal. -->
  <issue id="ContentDescription">
    <ignore regexp="chrome/android/java/res/layout/history_item_view.xml"/>
    <ignore regexp="chrome/browser/commerce/price_change/android/java/res/layout/price_change_module_layout.xml"/>
    <ignore regexp="chrome/browser/data_sharing/android/java/res/layout/recent_activity_log_item.xml"/>
    <ignore regexp="chrome/browser/glic/android/java/res/layout/glic_auto_browse.xml"/>
    <ignore regexp="chrome/browser/glic/android/java/res/layout/glic_default_tab_access.xml"/>
    <ignore regexp="chrome/browser/safety_hub/android/java/res/layout/safety_hub_expandable_preference.xml"/>
    <ignore regexp="chrome/browser/ui/android/omnibox/java/res/layout/fusebox_layout.xml"/>
    <ignore regexp="components/browser_ui/settings/android/java/res/layout/chrome_expandable_switch_preference.xml"/>
    <ignore regexp="components/browser_ui/widget/android/java/res/layout/rich_radio_button.xml"/>
  </issue>
  <issue id="ExifInterface">
      <!-- TODO(crbug.com/40559214): Update to androidx ExifInterface. -->
      <ignore regexp="components/browser_ui/photo_picker/android/java/src/org/chromium/components/browser_ui/photo_picker/BitmapUtils.java"/>
  </issue>
  <!-- Linter is incorrectly treating existing APIs that are being deprecated
    using a flag as if they were newly introduced, and also treating some APIs
    that were released in SDK35/36 as still requiring a flag.
    Until this is fixed we just disable the FlaggedApi lint for upstream code
    which isn't likely to reference any genuinely flagged APIs anyway since
    flagged APIs are not present in the public SDK jar.
    See: b/404752927, b/425396018 -->
  <issue id="FlaggedApi" severity="ignore"/>
  <issue id="IconDensities">
    <!-- Originals are gone, so ignore these specific ones: crbug.com/40405436 -->
    <ignore regexp="btn_bg_holo_active_normal.png, btn_bg_holo_active_pressed.png, btn_bg_holo_pressed.png"/>
    <!-- This is intentional to save on WebAPKs' size. -->
    <ignore regexp="chrome/android/webapk/shell_apk/res/drawable-*"/>
  </issue>
  <issue id="IconDipSize">
    <!-- These only need to be 1px for all densities. See: crbug.com/40559222 -->
    <ignore regexp="chrome/android/java/res/.*tab_strip_fade"/>
  </issue>
  <issue id="IconLocation">
    <!-- It is OK for content_shell_apk to have missing assets. -->
    <ignore regexp="content/shell/android/java/res/"/>
    <!-- Memconsumer is only for tooling -->
    <ignore regexp="tools/android/memconsumer/java/res/drawable/"/>
  </issue>
  <issue id="IconMissingDensityFolder">
    <!-- Originals are gone, so ignore these specific ones: crbug.com/40405436 -->
    <ignore regexp="components/embedder_support/android/java/res"/>
  </issue>
  <issue id="ImpliedQuantity">
    <ignore regexp="chrome/app/generated_resources"/>
    <ignore regexp="chrome/android/features/tab_ui/java_strings_grd"/>
    <ignore regexp="chrome/browser/touch_to_fill/password_manager/android/internal/java_strings_grd"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd"/>
    <ignore regexp="components/browser_ui/strings/android/browser_ui_strings_grd"/>
    <ignore regexp="components/strings/components_strings_grd"/>
    <ignore regexp="components/strings/privacy_sandbox_strings_grd"/>
  </issue>
  <issue id="InsecureBaseConfiguration">
    <!-- See https://crbug.com/41379786 and comment in the file for context. -->
    <ignore regexp="chrome/android/java/res_base/xml/network_security_config.xml"/>
  </issue>
  <!-- InvalidSetHasFixedSize should not be disabled. If the check fails, check that
    RecyclerViews which set RecyclerView#setHasFixedSize(true) have a globally unique id. -->
  <issue id="InvalidVectorPath" severity="ignore"/>
  <issue id="LogConditional" severity="ignore"/>
  <issue id="LongLogTag" severity="ignore"/>
  <issue id="MissingClass" severity="ignore"/>
  <issue id="MissingDefaultResource">
    <!-- Only used by ToolbarControlContainer guarded by tablet form-factor. -->
    <ignore regexp="toolbar_background.9.png"/>
    <!-- Only used by FirstRunFlowSequencer guarded by tablet form-factor. -->
    <ignore regexp="window_background.xml"/>
  </issue>
  <issue id="MissingPermission" severity="ignore"/>
  <issue id="MissingQuantity" severity="ignore"/>
  <issue id="MissingTranslation">
    <ignore regexp="restriction_values.xml.*"/>
  </issue>
  <issue id="NewApi">
    <!-- Do not add new suppressions without rationale. -->
    <!-- 2: We support these via desugar. -->
    <ignore regexp="Default method requires API level 24"/>
    <ignore regexp="Static interface  method requires API level 24"/>
    <!-- 1: TaskInfo is refactored at API 29. -->
    <ignore regexp="Field requires API level .*`android.app.TaskInfo"/>
    <!-- Endnote: Please specify number of suppressions when adding more -->
  </issue>
  <!-- This check doesn't tend to catch new violations except when we increase
  our minSdkVersion. We prefer to clean up these obsolete checks
  incrementally after increasing minSdkVersion. -->
  <issue id="ObsoleteSdkInt" severity="ignore"/>
  <issue id="OldTargetApi" severity="ignore"/>
  <issue id="OnClick">
    <!-- False positive, see: http://issuetracker.google.com/148523770 for
         similar issue. -->
    <ignore regexp="tools/android/audio_focus_grabber/java/res/layout/audio_focus_grabber_activity.xml"/>
  </issue>
  <issue id="Overdraw" severity="ignore"/>
  <issue id="PackageManagerGetSignatures">
    <ignore regexp="chrome/browser/android/browserservices/verification/java/src/org/chromium/chrome/browser/browserservices/verification/PackageFingerprintCalculator.java"/>
    <ignore regexp="chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/WebApkValidator.java"/>
  </issue>
  <issue id="PluralsCandidate">
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-en-rGB/android_chrome_strings.xml"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values/android_chrome_strings.xml"/>
  </issue>
  <issue id="PrivateApi" severity="ignore"/>
  <!-- Chrome is a system app. -->
  <issue id="ProtectedPermissions" severity="ignore"/>
  <!-- Android 11+ package visibility: g.co/dev/packagevisibility -->
  <issue id="QueryAllPackagesPermission" severity="ignore"/>
  <issue id="RestrictedApi">
    <!-- Chrome uses these GMS core APIs. -->
    <ignore regexp="is marked as internal and should not be accessed from apps"/>
  </issue>
  <issue id="Recycle" severity="ignore"/>
  <issue id="Registered" severity="ignore"/>
  <issue id="RtlCompat" severity="ignore"/>
  <issue id="RtlEnabled" severity="ignore"/>
  <issue id="RtlSymmetry" severity="ignore"/>
  <!-- Android 10+ WRITE_EXTERNAL_STORAGE changed meaning. -->
  <issue id="ScopedStorage" severity="ignore"/>
  <issue id="SetJavaScriptEnabled" severity="ignore"/>
  <issue id="SignatureOrSystemPermissions" severity="ignore"/>
  <issue id="StringFormatCount">
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-af/android_chrome_strings.xml"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-cs/android_chrome_strings.xml"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-fr/android_chrome_strings.xml"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-pl/android_chrome_strings.xml"/>
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values/android_chrome_strings.xml"/>
    <!-- This string has a % in it. -->
    <ignore regexp="data_reduction_promo_infobar_title"/>
  </issue>
  <!-- Many .xtb files have a % that is not part of a formatted string.
       https://crbug.com/40617920 -->
  <issue id="StringFormatInvalid" severity="ignore"/>
  <issue id="StringFormatMatches" severity="ignore"/>
  <issue id="TypographyDashes" severity="ignore" />
  <issue id="TypographyEllipsis">
    <ignore regexp="chrome/browser/ui/android/strings/ui_strings_grd.resources.zip/values-uz/android_chrome_strings.xml"/>
  </issue>
  <issue id="UnusedIds" severity="ignore"/>
  <issue id="UnusedQuantity" severity="ignore"/>
  <issue id="UnusedResources">
    <!-- Do not add new suppressions without rationale. -->
    <!-- TODO(crbug.com/543028748): Remove temporarily suppress Safety FRE carousel screen strings. -->
    <ignore regexp="The resource `R\..*safety_promo_.*` appears to be unused"/>
    <ignore regexp="The resource `R\..*safety_fre_.*` appears to be unused"/>
    <ignore regexp="The resource `R\..*fre_promo_.*_illustration` appears to be unused"/>

    <!-- TODO(crbug.com/540948781): Remove these exceptions after strings are used in code. -->
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_on_all_devices_saved_info` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_on_all_devices_bookmarks` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_on_all_devices_passwords` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_for_device_type_saved_info` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_for_device_type_bookmarks` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_for_device_type_passwords` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_for_web_signin_on_all_devices_saved_info` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_for_web_signin_on_all_devices_bookmarks` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_for_web_signin_on_all_devices_passwords` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_for_web_signin_device_type_saved_info` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_for_web_signin_device_type_bookmarks` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_account_picker_bottom_sheet_subtitle_for_web_signin_device_type_passwords` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_device_type_phone` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_device_type_laptop` appears to be unused"/>
    <ignore regexp="The resource `R.string.signin_device_type_tablet` appears to be unused"/>

    <!-- TODO(crbug.com/517591009): Remove temporarily suppress bottom bar strings. -->
    <ignore regexp="The resource `R.string.settings_show_gemini_in_bottom_bar_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.settings_show_gemini_in_bottom_bar_summary` appears to be unused"/>
    <!-- Strings used by Desktop Android extensions, which are not built in all configurations. -->
    <ignore regexp="The resource `R.string.extensions_menu_.*` appears to be unused"/>
    <ignore regexp="The resource `R.string.extensions_request_access_button` appears to be unused"/>

    <!-- Strings used by Desktop Android extensions, which are only used in tests. -->
    <ignore regexp="The resource `R.string.acc_name_extensions_button_.*` appears to be unused"/>

    <!-- 1: resource used by android webview glue layer, could be refactored -->
    <ignore regexp="R.string.private_browsing_warning"/>
    <!-- 4: The WAM server currently has 2 codes paths for minting a WebAPK, and
         it needs these "unused" resources.
         TODO(crbug.com/40097564): Remove suppression once 2 code paths are merged -->
    <ignore regexp="The resource `R.mipmap.ic_launcher_background` appears to be unused"/>
    <ignore regexp="The resource `R.mipmap.ic_launcher_foreground` appears to be unused"/>
    <ignore regexp="The resource `R.mipmap.maskable_splash_icon_xxhdpi` appears to be unused"/>
    <ignore regexp="The resource `R.mipmap.maskable_splash_icon_xxxhdpi` appears to be unused"/>
    <!-- 1: Module titles may only be used by the Play Store. -->
    <ignore regexp="The resource `R.string.*_module_title` appears to be unused"/>
    <!-- crbug.com/40099080 remove this line and the following six lines after the bug resolved -->
    <ignore regexp="The resource `R.string.accessibility_tab_suggestion_review_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_tab_suggestion_close_stale_message` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_tab_suggestion_dismiss_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_suggestion_close_stale_message` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_suggestion_close_tab_action_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_suggestion_review_button` appears to be unused"/>
    <!-- crbug.com/40144993 remove this line and the following 23 lines after the bug is resolved -->
    <ignore regexp="The resource `R.layout.language_picker` appears to be unused"/>
    <!-- crbug.com/40128703 remove this line and the following two lines after the bug is resolved -->
    <ignore regexp="The resource `R.string.accessibility_tab_suggestion_group_tabs_message` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_suggestion_group_tabs_message` appears to be unused"/>
    <!-- crbug.com/40142803 remove this line and following 7 lines after the bug is resolved -->
    <ignore regexp="The resource `R.string.accessibility_tab_switcher` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_close_tab_group_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_close_tab_group_button_with_group_name` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_expand_tab_group_with_group_name` appears to be unused"/>

    <!-- crbug.com/40148611 remove this line and following 9 lines after the bug is resolved -->
    <ignore regexp="The resource `R.string.languages_content_description` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_select_suggested` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_select_other` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_settings_advanced` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_settings_dont_offer_sites` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_settings_never_sites_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.languages_settings_target` appears to be unused"/>
    <ignore regexp="The resource `R.string.translate_dont_offer_site` appears to be unused"/>
    <ignore regexp="The resource `R.string.translate_dont_offer_lang` appears to be unused"/>

    <!-- Old-style and new-style WebAPKs use same resources for simplicity. Old-style WebAPKs do
         not use R.style.SplashTheme but new-style WebAPKs do.
         TODO(crbug.com/41463410): Remove suppression once old-style WebAPKs are deprecated. -->
    <ignore regexp="The resource `R.style.SplashTheme` appears to be unused"/>
    <!-- 1 resource used by android webview glue layer, could be refactored -->
    <ignore regexp="android_webview/java/res/drawable-hdpi/ic_play_circle_outline_black_48dp.png"/>
    <!-- 1: resource in //ui because it's used by multiple deps. -->
    <ignore regexp="The resource `R.drawable.*_expand_.*` appears to be unused"/>
    <!-- 1 string used by Android's policies system, pulled from app directly -->
    <ignore regexp="restriction_values.xml"/>
    <!--TODO(crbug.com/40674284): Remove this suppression once ConnectionInfoPopAndroid moves to components.-->
    <ignore regexp="components/page_info/android/java/res/drawable-hdpi/pageinfo_*"/>
    <!--TODO(crbug.com/40674284): Remove this suppression once PermissionParamsListBuilder moves to components.-->
    <ignore regexp="The resource `R.string.page_info_permission_ads_subtitle` appears to be unused"/>
    <!--TODO(crbug.com/40125810): The following 10 are found when we switched to linting the entire app. -->
    <ignore regexp="The resource `R.string.download_manager_ui_documents` appears to be unused"/>
    <ignore regexp="The resource `R.string.download_manager_offline_home` appears to be unused"/>
    <ignore regexp="The resource `R.string.ntp_learn_more_about_suggested_content` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_switcher_button_label` appears to be unused"/>
    <ignore regexp="The resource `R.string.website_settings_category_notifications_block` appears to be unused"/>
    <ignore regexp="The resource `R.string.autofill_cc_google_issued` appears to be unused"/>
    <ignore regexp="The resource `R.string.notification_manage_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.app_banner_add` appears to be unused"/>
    <ignore regexp="The resource `R.string.notification_category_permission_requests` appears to be unused"/>
    <!--TODO(crbug.com/40140313): Remove this suppression once Most Visited Tiles header is implemented.-->
    <ignore regexp="The resource `R.string.most_visited_tiles_header` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_omnibox_showing_suggestions_for_website` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_omnibox_most_visited_tile` appears to be unused"/>
    <!-- 1: Some strings in components_strings_grd are not used in other targets. -->
    <ignore regexp="webview_.*__lint.*components_strings_grd"/>
    <!-- 2: resource is used in C++ components/error_page. -->
    <ignore regexp="The resource `R.string.show_content` appears to be unused"/>
    <ignore regexp="The resource `R.string.hide_content` appears to be unused"/>
    <!-- 1: TODO(crbug.com/40725089) resource is used in downstream image editor. -->
    <ignore regexp="The resource `R.string.clear` appears to be unused"/>
    <!-- 5: Temporarily suppressed until impelmentation is ready, see https://crbug.com/40176062 -->
    <ignore regexp="The resource `R.string.merchant_viewer_message_description_rating` appears to be unused"/>
    <ignore regexp="The resource `R.string.merchant_viewer_message_rating_word` appears to be unused"/>
    <ignore regexp="The resource `R.plurals.accessibility_merchant_viewer_message_description` appears to be unused"/>
    <ignore regexp="The resource `R.string.accessibility_merchant_viewer_message_announcement` appears to be unused"/>
    <ignore regexp="The resource `R.string.merchant_viewer_message_rating_numerical` appears to be unused"/>
    <!-- 2: Temporarily suppressed until impelmentation is ready, see https://crbug.com/40214348 -->
    <ignore regexp="The resource `R.string.merchant_viewer_message_title_see_reviews` appears to be unused"/>
    <ignore regexp="The resource `R.plurals.merchant_viewer_message_description_reviews_from_google` appears to be unused"/>
    <!-- 4: Temporarily suppressed until impelmentation is ready, see https://crbug.com/40198376 -->
    <ignore regexp="The resource `R.string.price_drop_notification_content_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.price_drop_notification_content_text` appears to be unused"/>
    <ignore regexp="The resource `R.string.price_drop_notification_action_visit_site` appears to be unused"/>
    <ignore regexp="The resource `R.string.price_drop_notification_action_turn_off_alert` appears to be unused"/>

    <!-- crbug.com/40181767 remove this line and following 4 lines after the bug is resolved -->
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_new_tab_iph` appears to be unused"/>
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_share_iph` appears to be unused"/>
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_voice_search_iph` appears to be unused"/>
    <ignore regexp="The resource `R.string.adaptive_toolbar_menu_edit_shortcut` appears to be unused"/>

    <!-- 3: TODO(crbug.com/40181762) Backup strings until implementation is ready. -->
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_new_tab_iph_settings` appears to be unused"/>
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_share_iph_settings` appears to be unused"/>
    <ignore regexp="The resource `R.string.adaptive_toolbar_button_voice_search_iph_settings` appears to be unused"/>

    <!-- 3: TODO(crbug.com/40183683) Remove when Shortcuts Widget is ready to ship. -->
    <ignore regexp="The resource `R.string.quick_action_search_widget_message_no_google_lens` appears to be unused"/>
    <ignore regexp="The resource `R.string.quick_action_search_widget_message_no_incognito` appears to be unused"/>
    <ignore regexp="The resource `R.string.quick_action_search_widget_message_no_voice_search` appears to be unused"/>

    <!--TODO(crbug.com/408284509): Remove unused shopping string resources. -->
    <ignore regexp="The resource `R.string.price_tracking_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.discount_icon_expanded_text` appears to be unused"/>

    <!-- TODO(crbug.com/40227734): Remove unused resources when UX is finalized. -->
    <ignore regexp="The resource `R.string.search_resumption_module_title_short` appears to be unused"/>

    <!-- TODO(crbug.com/40225008): Remove the following 2 lines after the bug is resolved. -->
    <ignore regexp="The resource `R.string.iph_translate_message_dismissed_text` appears to be unused"/>
    <ignore regexp="The resource `R.string.iph_translate_message_dismissed_accessibility_text` appears to be unused"/>

    <!-- TODO(crbug.com/41487877): Remove the following 2 lines after the tab resumption module is implemented. -->
    <ignore regexp="The resource `R.string.home_modules_tab_resumption_one_tab_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.home_modules_tab_resumption_multiple_tabs_title` appears to be unused"/>

    <!-- TODO(https://crbug.com/324827395): Remove after the intermediate state for OneTapUnsubscribe is implemented. -->
    <ignore regexp="The resource `R.string.notification_unsubscribing_label` appears to be unused"/>

    <!-- TODO(crbug.com/334954448): Remove the following 3 lines after the CPSS settings for Android is implemented. -->
    <ignore regexp="The resource `R.string.website_settings_category_permission_quiet` appears to be unused"/>
    <ignore regexp="The resource `R.string.website_settings_category_permission_cpss` appears to be unused"/>
    <ignore regexp="The resource `R.string.website_settings_category_permission_loud` appears to be unused"/>

    <!-- TODO(crbug.com/324935631): Remove this once tab group sync is using these. -->
    <ignore regexp="The resource `R.string.tab_group_creation_dialog_sync_description` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_groups_category` appears to be unused"/>
    <ignore regexp="The resource `R.string.saved_tab_groups_data_summary` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_group_surface_iph_with_sync` appears to be unused"/>
    <ignore regexp="The resource `R.string.tab_group_surface_iph_no_sync` appears to be unused"/>
    <ignore regexp="The resource `R.string.newly_synced_tab_group_iph` appears to be unused"/>

    <!-- TODO(b/356947395): Remove this once the improved management disclosure uses the *_no_link version. -->
    <ignore regexp="The resource `R.string.management_legacy_tech_report_no_link` appears to be unused"/>

    <!-- TODO(b/362360807): Remove the following 2 lines after the bug is resolved. -->
    <ignore regexp="The resource `R.string.discount_code_copied_button_text` appears to be unused"/>
    <ignore regexp="The resource `R.string.discount_code_copy_button_text` appears to be unused"/>
    <ignore regexp="The resource `R.string.discount_container_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.discount_expiration_date_android` appears to be unused"/>

    <!-- TODO(b/379316800): Remove this once data sharing and collaboration is using these. -->
    <ignore regexp="The resource `R.string.collaboration_manage_group_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_manage_stop_sharing_option` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_stop_sharing_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_remove_member_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_remove_member_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_preview_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_link_failed_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_leave_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_leave_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_block_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_block_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_block_leave_dialog_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_block_leave_dialog_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_delete_last_tab_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_delete_last_tab_cancel` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_last_tab_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_member_delete_last_tab_confirm` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_share_group_share_as` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_stop_sharing_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_remove_member_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_link_failed_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_join_group_as` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_leave_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_block_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_block_leave_dialog_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_block_leave_learn_more` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_last_tab_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_owner_delete_last_tab_body_2` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_member_delete_last_tab_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_learn_about_shared_groups` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_people_with_access` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_link_edit_access` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_link_join_toggle` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_cancel` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_something_went_wrong_header` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_something_went_wrong_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_chrome_out_of_date_error_dialog_header` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_chrome_out_of_date_error_dialog_update_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_chrome_out_of_date_error_dialog_not_now_button` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_chrome_out_of_date_error_dialog_continue_body` appears to be unused"/>
    <ignore regexp="The resource `R.string.collaboration_shared_tab_groups_panel_out_of_date_message_cell_text` appears to be unused"/>
    <ignore regexp="The resource `R.string.data_sharing_recent_activity_bottom_sheet_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.update` appears to be unused"/>

    <!-- TODO(crbug.com/380086456): Remove this once a decision is made to use either the short or the long version of the strings. -->
    <ignore regexp="The resource `R.string.auxiliary_search_module_content_short` appears to be unused"/>
    <ignore regexp="The resource `R.string.auxiliary_search_module_content_default_off_short` appears to be unused"/>

    <ignore regexp="The resource `R.string.ntp_customization_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.ntp_customization_subtitle` appears to be unused"/>
    <ignore regexp="The resource `R.string.ntp_setting_option` appears to be unused"/>
    <ignore regexp="The resource `R.string.feed_setting_option` appears to be unused"/>
    <ignore regexp="The resource `R.string.feed_section_on` appears to be unused"/>

    <!-- TODO(https://crbug.com/423579377): Remove the following 3 lines after the NTP appearance bottom sheet is implemented. -->
    <ignore regexp="The resource `R.string.ntp_customization_theme_bottom_sheet_opened_full` appears to be unused"/>
    <ignore regexp="The resource `R.string.ntp_customization_theme_bottom_sheet` appears to be unused"/>
    <ignore regexp="The resource `R.string.ntp_customization_theme_title` appears to be unused"/>
    <ignore regexp="The resource `R.string.ntp_customization_theme_bottom_sheet_default_option` appears to be unused"/>
    <ignore regexp="The resource `R.string.ntp_customization_theme_bottom_sheet_upload_image_option` appears to be unused"/>
    <ignore regexp="The resource `R.string.ntp_customization_theme_bottom_sheet_chrome_colors_option` appears to be unused"/>
    <ignore regexp="The resource `R.string.ntp_customization_theme_bottom_sheet_theme_collections_option` appears to be unused"/>

    <!-- TODO(https://crbug.com/455627033): Remove the following 4 lines after the pin/unpin tabs menu item in list editor is implemented. -->
    <ignore regexp="The resource `R.plurals.tab_selection_editor_pin_tabs` appears to be unused"/>
    <ignore regexp="The resource `R.plurals.accessibility_tab_selection_editor_pin_tabs` appears to be unused"/>
    <ignore regexp="The resource `R.plurals.tab_selection_editor_unpin_tabs` appears to be unused"/>
    <ignore regexp="The resource `R.plurals.accessibility_tab_selection_editor_unpin_tabs` appears to be unused"/>

    <!-- TODO(https://crbug.com/461840249): Remove the following 1 line after lint migrates to using merged manifests. -->
    <ignore regexp="The resource `R.string.menu` appears to be unused"/>

    <!-- Endnote: Please specify number of suppressions when adding more -->
  </issue>
  <issue id="VectorPath" severity="ignore"/>
  <!-- These constructors are useful for layout editors which we currently do not support. -->
  <issue id="ViewConstructor" severity="ignore"/>
  <!-- Triggered by ChromeImageView removal. -->
  <issue id="UseCompoundDrawables">
    <ignore regexp="chrome/browser/glic/android/java/res/layout/glic_auto_browse.xml"/>
    <ignore regexp="chrome/browser/glic/android/java/res/layout/glic_default_tab_access.xml"/>
    <ignore regexp="chrome/browser/ui/android/appmenu/internal/java/res/layout/submenu_header.xml"/>
    <ignore regexp="chrome/browser/ui/android/toolbar/java/res/layout/sheet_tab_toolbar.xml"/>
  </issue>
  <issue id="WrongConstant">
    <!-- Discussed in crbug.com/40125815, ignoring this class of errors since these are Q+ constants. -->
    <ignore regexp="Must be one of: LineBreaker.BREAK_STRATEGY_SIMPLE, LineBreaker.BREAK_STRATEGY_HIGH_QUALITY, LineBreaker.BREAK_STRATEGY_BALANCED"/>
  </issue>
</lint>
