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

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: Small twiddles 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 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.
};

Powered by Google App Engine
This is Rietveld 408576698