Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Unified Diff: chrome/common/search_provider.mojom

Issue 2072613003: Convert GetSearchProviderInstallState to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change security owners Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698