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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/datausage/ExternalDataUseObserver.java

Issue 1837223002: Buffer UI navigation events in DataUseTabModel until rule fetch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed unittest fail Created 4 years, 9 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/browser/android/data_usage/data_use_tab_model.h » ('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/datausage/ExternalDataUseObserver.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/datausage/ExternalDataUseObserver.java b/chrome/android/java/src/org/chromium/chrome/browser/datausage/ExternalDataUseObserver.java
index ce04c27e4abf1d7b8482076d064a96081c5cfe90..26f8dd07f976f6a9d6d7f3266f5812c05f56e08c 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/datausage/ExternalDataUseObserver.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/datausage/ExternalDataUseObserver.java
@@ -112,9 +112,10 @@ public class ExternalDataUseObserver {
}
/**
- * Fetches matching rules and returns them via {@link #fetchMatchingRulesDone}. While the
- * fetch is underway, it is illegal to make calls to this method.
- */
+ * Fetches matching rules and returns them via {@link #fetchMatchingRulesDone}. subsequent
+ * calls to this method While the fetch is underway, may cause the {@link
+ * #fetchMatchingRulesDone} callback to be missed for the subsequent call.
+ */
@CalledByNative
protected void fetchMatchingRules() {
fetchMatchingRulesDone(null, null, null);
« no previous file with comments | « no previous file | chrome/browser/android/data_usage/data_use_tab_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698