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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/historyreport/AppIndexingReporter.java

Issue 2720753003: Add support for deleting history. (Closed)
Patch Set: Created 3 years, 10 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/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.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/historyreport/AppIndexingReporter.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/historyreport/AppIndexingReporter.java b/chrome/android/java/src/org/chromium/chrome/browser/historyreport/AppIndexingReporter.java
index d6add855b6e604772fbea6e51b0c28a3e756a800..3286a386f98578a894825f138012df1f2fc8daca 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/historyreport/AppIndexingReporter.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/historyreport/AppIndexingReporter.java
@@ -28,4 +28,13 @@ public class AppIndexingReporter {
public void reportEntityJsonLd(String url, String json) {
// Overriden by private class. Base class does nothing.
}
+
+ /**
+ * Clears history of reported entities.
+ * Currently, we do not support clearing only a subset of history. Base class does not implement
+ * any reporting, and call is a no-op. Child classes should implement this functionality.
+ */
+ public void clearHistory() {
+ // Overriden by private class. Base class does nothing.
+ }
}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698