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

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: 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 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 chrome.mojom;
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. The |page_url| is the requesting page and the |inquiry_url| is
15 // the search provider (e.g. www.google.com), expressed as a security origin
16 // URL.
11 [Sync] 17 [Sync]
12 BounceUrl(Url in) => (Url out); 18 GetInstallState(
13 19 url.mojom.Url page_url,
14 [Sync] 20 url.mojom.Url inquiry_url) => (InstallState install);
15 BounceOrigin(Origin in) => (Origin out);
16 }; 21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698