| 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 2ebb35badafdd2e2fb5771ff3f5ea86b60772393..3ded12f4b3445da57c32be4ed1ed69750cd0c1bf 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
|
| @@ -19,6 +19,38 @@ public class AppIndexingReporter {
|
| }
|
|
|
| /**
|
| + * Stand-in class for Mojo interface.
|
| + *
|
| + * To be removed once service is implemeented.
|
| + */
|
| + public static class WebPage {
|
| + /**
|
| + * Stand-in class for Mojo interface.
|
| + *
|
| + * To be removed once service is implemeented.
|
| + */
|
| + public static class Entity {
|
| + /**
|
| + * Stand-in class for Mojo interface.
|
| + *
|
| + * To be removed once service is implemeented.
|
| + */
|
| + public static class Property {
|
| + public String name;
|
| +
|
| + public String[] stringValue;
|
| + public long[] longValue;
|
| + public Entity[] entityValue;
|
| + }
|
| + public String type;
|
| + public Property[] properties;
|
| + }
|
| + public String url;
|
| + public String title;
|
| + public Entity[] entities;
|
| + }
|
| +
|
| + /**
|
| * 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.
|
| @@ -28,6 +60,15 @@ 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.
|
| + */
|
| + public void reportWebPage(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.
|
|
|