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

Side by Side 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 unified diff | Download patch
OLDNEW
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698