Commit 60d8d102 authored by wychen's avatar wychen Committed by Commit bot

Remove the old mojo type in Copyless Paste

BUG=693650

Review-Url: https://codereview.chromium.org/2803823004
Cr-Commit-Position: refs/heads/master@{#462957}
parent 4efea4a5
......@@ -28,17 +28,6 @@ public class AppIndexingReporter {
// Overriden by private class. Base class does nothing.
}
/**
* 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
......
......@@ -747,9 +747,6 @@ mojom("android_mojo_bindings") {
visibility_blink = [ ":mojo_bindings_blink" ]
sources = [
"platform/modules/document_metadata/copyless_paste.mojom",
# The following file will be removed once the downstream is updated.
"platform/modules/document_metadata/copyless_paste-deprecated.mojom",
"platform/modules/installation/installation.mojom",
"platform/modules/installedapp/installed_app_provider.mojom",
"platform/modules/installedapp/related_application.mojom",
......
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module blink.mojom;
import "url/mojo/url.mojom";
// Due to the restriction of AppIndexing, all elements should be of the
// same type. Non-array values are converted to arrays of one element.
union Values {
array<bool> bool_values;
array<int64> long_values;
array<string> string_values;
array<Entity> entity_values;
};
// Key-value pair for the attributes of an |Entity|.
struct Property {
string name;
Values values;
};
// Top-level metadata entry using schema.org vocabulary.
// Tree structure of entities is possible.
// Ref: https://developers.google.com/schemas/formats/json-ld
struct Entity {
string type; // Correspond to the "@type" key, defined in JSON-LD.
array<Property> properties;
};
struct WebPage {
url.mojom.Url url;
string title;
array<Entity> entities;
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment