Skip to content

Commit

Permalink
[CodeHealth] Remove unused worker check function
Browse files Browse the repository at this point in the history
Change-Id: Ic182bfa4e1bcff47c10f51da982b0e5afe15781e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5731835
Auto-Submit: Ella Ge <eirage@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Commit-Queue: Daniel Murphy <dmurph@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1331417}
  • Loading branch information
EiraGe authored and pull[bot] committed Jul 23, 2024
1 parent 3b61e21 commit ec5caca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -665,13 +665,6 @@ bool AppBannerManagerAndroid::MaybeShowPwaBottomSheetController(
std::move(a2hs_params));
}

void AppBannerManagerAndroid::PerformWorkerCheckForAmbientBadge(
InstallableParams params,
InstallableCallback callback) {
InstallableManager::FromWebContents(&GetWebContents())
->GetData(params, std::move(callback));
}

void AppBannerManagerAndroid::OnMlInstallPrediction(
base::PassKey<MLInstallabilityPromoter>,
std::string result_label) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,6 @@ class AppBannerManagerAndroid
GURL primary_icon_url,
const SkBitmap& bitmap);

// Run before showing the ambient badge. This calls back to the
// InstallableManager to continue checking service worker criteria for showing
// ambient badge.
void PerformWorkerCheckForAmbientBadge(InstallableParams params,
InstallableCallback callback);

const std::unique_ptr<ChromeDelegate> delegate_;

// The Java-side AppBannerManager.
Expand Down

0 comments on commit ec5caca

Please sign in to comment.