Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java

Issue 2156113002: Replace AppBannerDataFetcher with InstallableManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@banner-refactor
Patch Set: Naming, includes Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/banners/AppBannerManagerTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java b/chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java
index b3e0dea497d509976be38c1d550bda98792b6fab..bfee3abca008026482e0b83a2a0cc553498de23c 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java
@@ -152,10 +152,10 @@ public class AppBannerManager {
nativeSetEngagementWeights(directEngagement, indirectEngagement);
}
- /** Returns whether an AppBannerDataFetcher is actively retrieving data. */
+ /** Returns whether the native AppBannerManager is working. */
@VisibleForTesting
- public boolean isFetcherActiveForTesting() {
- return nativeIsFetcherActive(mNativePointer);
+ public boolean isActiveForTesting() {
+ return nativeIsActiveForTesting(mNativePointer);
}
/** Returns the AppBannerManager object. This is owned by the C++ banner manager. */
@@ -173,5 +173,5 @@ public class AppBannerManager {
private static native void nativeDisableSecureSchemeCheckForTesting();
private static native void nativeSetEngagementWeights(double directEngagement,
double indirectEngagement);
- private native boolean nativeIsFetcherActive(long nativeAppBannerManagerAndroid);
+ private native boolean nativeIsActiveForTesting(long nativeAppBannerManagerAndroid);
}
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/banners/AppBannerManagerTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698