Chromium Code Reviews| 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 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
| |
| 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. | |
| 11 [Sync] | 15 [Sync] |
| 12 BounceUrl(Url in) => (Url out); | 16 GetInstallState( |
| 13 | 17 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
| |
| 14 [Sync] | 18 url.mojom.Url inquiry_url) => ( |
| 15 BounceOrigin(Origin in) => (Origin out); | 19 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.
| |
| 16 }; | 20 }; |
| OLD | NEW |