Skip to content

Commit

Permalink
[Chrome Apps Deprecation] Adding direct print to allowlist
Browse files Browse the repository at this point in the history
(cherry picked from commit 8a16464)

Bug: 1402813
Change-Id: I8d49dfabec8bf41dab05e9a745ee837efccaecf7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4120330
Reviewed-by: Dibyajyoti Pal <dibyapal@chromium.org>
Commit-Queue: Daniel Murphy <dmurph@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1086000}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4133598
Commit-Queue: Ayu Ishii <ayui@chromium.org>
Reviewed-by: Ayu Ishii <ayui@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Auto-Submit: Daniel Murphy <dmurph@chromium.org>
Cr-Commit-Position: refs/branch-heads/5481@{#127}
Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
  • Loading branch information
dmurph authored and Chromium LUCI CQ committed Jan 4, 2023
1 parent 68bad88 commit 85dadf0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ const char* g_preinstalled_app_for_testing = nullptr;

#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
BUILDFLAG(IS_FUCHSIA)
const char kMobilityPrintExtensionId[] = "alhngdkjgnedakdlnamimgfihgkmenbh";
const char kMobilityPrintAndDirectPrintIoExtensionIds[] =
"alhngdkjgnedakdlnamimgfihgkmenbh,gnddkmpjjjcimefninepfmmddpgaaado";

BASE_FEATURE(kChromeAppsDeprecationExcludeForceInstalls,
"ChromeAppsDeprecationExcludeForceInstalls",
base::FEATURE_DISABLED_BY_DEFAULT);
base::FeatureParam<std::string> kChromeAppAllowlist{
&features::kChromeAppsDeprecation, "allow_list", kMobilityPrintExtensionId};
&features::kChromeAppsDeprecation, "allow_list",
kMobilityPrintAndDirectPrintIoExtensionIds};
#endif

} // namespace
Expand Down

0 comments on commit 85dadf0

Please sign in to comment.