Update CrOS OOBE throbber to MD throbber; delete old asset
[chromium-blink-merge.git] / chrome / common / extensions / api / cryptotoken_private.idl
blob8a091bb5318e98e4ceaf5aa84e73334e048e1c1b
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // <code>chrome.cryptotokenPrivate</code> API that provides hooks to Chrome to
6 // be used by cryptotoken component extension.
7 namespace cryptotokenPrivate {
9 // Callback for appId check
10 callback AppIdCallback = void(boolean result);
12 interface Functions {
13 // Checks whether the origin is allowed to assert the appId, according to
14 // the same origin policy defined at
15 // http://fidoalliance.org/specs/fido-u2f-v1.0-ps-20141009/
16 // fido-appid-and-facets-ps-20141009.html
17 // |securityOrigin| is the origin as seen by the extension, and |appIdUrl|
18 // is the appId being asserted by the origin.
19 static void canOriginAssertAppId(DOMString securityOrigin,
20 DOMString appIdUrl,
21 AppIdCallback callback);