Chromium Code Reviews| Index: chrome/common/search_provider.mojom |
| diff --git a/chrome/common/search_provider.mojom b/chrome/common/search_provider.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4b70e15bea3b283d9bcbd9090ba08744113c55f6 |
| --- /dev/null |
| +++ b/chrome/common/search_provider.mojom |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
|
Sam McNally
2016/06/20 01:27:11
Add per-file *.mojom owners to chrome/common/OWNER
tibell
2016/06/20 03:19:55
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +module mojom; |
| + |
| +import "url/mojo/url.mojom"; |
| + |
| +[Native] |
| +enum InstallState; |
| + |
| +interface SearchProviderInstallState { |
| + // Find out if the given url's security origin is installed as a search |
| + // provider. |
| + [Sync] |
| + GetInstallState( |
| + url.mojom.Url page_url, |
| + url.mojom.Url inquiry_url) => ( |
| + InstallState install); |
| +}; |