Chromium Code Reviews| Index: chrome/common/search_provider.mojom |
| diff --git a/url/mojo/url_test.mojom b/chrome/common/search_provider.mojom |
| similarity index 42% |
| copy from url/mojo/url_test.mojom |
| copy to chrome/common/search_provider.mojom |
| index c9b346988f546008a0cfb10d94887f67aa0c8550..4b70e15bea3b283d9bcbd9090ba08744113c55f6 100644 |
| --- a/url/mojo/url_test.mojom |
| +++ b/chrome/common/search_provider.mojom |
| @@ -2,15 +2,19 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -module url.mojom; |
| +module mojom; |
|
sky
2016/06/20 15:20:26
Are we really going with a module of 'mojom' for t
tibell
2016/06/21 01:31:32
Done.
The other chrome/ mojom files (except one I
|
| -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. |
| [Sync] |
| - BounceOrigin(Origin in) => (Origin out); |
| + GetInstallState( |
| + url.mojom.Url page_url, |
|
sky
2016/06/20 15:20:26
Document what page_url and inquiry_url are.
tibell
2016/06/21 01:31:32
I've just spent some time figuring it out (it's no
levin
2016/06/21 01:48:44
You're basically correct except that the second is
|
| + url.mojom.Url inquiry_url) => ( |
| + InstallState install); |
|
sky
2016/06/20 15:20:26
nit: this wrapping is a bit awkward. Maybe move 'I
tibell
2016/06/21 01:31:32
Done.
|
| }; |