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

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

Issue 2803943004: Move Mojo types to a new namespace (Closed)
Patch Set: rename Created 3 years, 8 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 | third_party/WebKit/public/BUILD.gn » ('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 d9ff99a236cbd3f139c823cec80d5fbb44077d27..9e1ea15da7c9f907351db69982f92c72d302e2f7 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
@@ -4,7 +4,7 @@
package org.chromium.chrome.browser.historyreport;
-import org.chromium.blink.mojom.WebPage;
+import org.chromium.blink.mojom.document_metadata.WebPage;
import org.chromium.chrome.browser.AppHooks;
/** Base class for reporting entities to App Indexing. */
@@ -29,6 +29,17 @@ public class AppIndexingReporter {
}
/**
+ * Reports provided entity to on-device index.
+ * Base class does not implement any reporting, and call is a no-op. Child classes should
+ * implement this functionality.
+ *
+ * Deprecated, to be removed in follow-up cl, after downstream change.
+ */
+ public void reportWebPage(org.chromium.blink.mojom.WebPage webpage) {
+ // 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.
« no previous file with comments | « no previous file | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698