| Index: chrome/common/search_provider.mojom
|
| diff --git a/url/mojo/url_test.mojom b/chrome/common/search_provider.mojom
|
| similarity index 32%
|
| copy from url/mojo/url_test.mojom
|
| copy to chrome/common/search_provider.mojom
|
| index c9b346988f546008a0cfb10d94887f67aa0c8550..23d8e1fc1fbab78f3b2b72aa5232891480ccb919 100644
|
| --- a/url/mojo/url_test.mojom
|
| +++ b/chrome/common/search_provider.mojom
|
| @@ -2,15 +2,20 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -module url.mojom;
|
| +module chrome.mojom;
|
|
|
| -import "url/mojo/origin.mojom";
|
| import "url/mojo/url.mojom";
|
|
|
| -interface UrlTest {
|
| - [Sync]
|
| - BounceUrl(Url in) => (Url out);
|
| +[Native]
|
| +enum InstallState;
|
|
|
| +interface SearchProviderInstallState {
|
| + // Find out if the given url's security origin is installed as a search
|
| + // provider. The |page_url| is the requesting page and the |inquiry_url| is
|
| + // the search provider (e.g. www.google.com), expressed as a security origin
|
| + // URL.
|
| [Sync]
|
| - BounceOrigin(Origin in) => (Origin out);
|
| + GetInstallState(
|
| + url.mojom.Url page_url,
|
| + url.mojom.Url inquiry_url) => (InstallState install);
|
| };
|
|
|