| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module url.mojom; | 5 module chrome.mojom; |
| 6 | 6 |
| 7 import "url/mojo/origin.mojom"; | |
| 8 import "url/mojo/url.mojom"; | 7 import "url/mojo/url.mojom"; |
| 9 | 8 |
| 10 interface UrlTest { | 9 [Native] |
| 10 enum InstallState; |
| 11 |
| 12 interface SearchProviderInstallState { |
| 13 // Find out if the given url's security origin is installed as a search |
| 14 // provider. The |page_url| is the requesting page and the |inquiry_url| is |
| 15 // the search provider (e.g. www.google.com), expressed as a security origin |
| 16 // URL. |
| 11 [Sync] | 17 [Sync] |
| 12 BounceUrl(Url in) => (Url out); | 18 GetInstallState( |
| 13 | 19 url.mojom.Url page_url, |
| 14 [Sync] | 20 url.mojom.Url inquiry_url) => (InstallState install); |
| 15 BounceOrigin(Origin in) => (Origin out); | |
| 16 }; | 21 }; |
| OLD | NEW |