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

Side by Side Diff: chrome/common/extensions/api/cryptotoken_private.idl

Issue 1822303002: [Extensions] Convert APIs to use movable types [4] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Istiaque's Created 4 years, 9 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 2014 The Chromium Authors. All rights reserved. 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 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 // <code>chrome.cryptotokenPrivate</code> API that provides hooks to Chrome to 5 // <code>chrome.cryptotokenPrivate</code> API that provides hooks to Chrome to
6 // be used by cryptotoken component extension. 6 // be used by cryptotoken component extension.
7 namespace cryptotokenPrivate { 7 [use_movable_types=true] namespace cryptotokenPrivate {
8 8
9 // Callback for appId check 9 // Callback for appId check
10 callback AppIdCallback = void(boolean result); 10 callback AppIdCallback = void(boolean result);
11 11
12 interface Functions { 12 interface Functions {
13 // Checks whether the origin is allowed to assert the appId, according to 13 // Checks whether the origin is allowed to assert the appId, according to
14 // the same origin policy defined at 14 // the same origin policy defined at
15 // http://fidoalliance.org/specs/fido-u2f-v1.0-ps-20141009/ 15 // http://fidoalliance.org/specs/fido-u2f-v1.0-ps-20141009/
16 // fido-appid-and-facets-ps-20141009.html 16 // fido-appid-and-facets-ps-20141009.html
17 // |securityOrigin| is the origin as seen by the extension, and |appIdUrl| 17 // |securityOrigin| is the origin as seen by the extension, and |appIdUrl|
18 // is the appId being asserted by the origin. 18 // is the appId being asserted by the origin.
19 static void canOriginAssertAppId(DOMString securityOrigin, 19 static void canOriginAssertAppId(DOMString securityOrigin,
20 DOMString appIdUrl, 20 DOMString appIdUrl,
21 AppIdCallback callback); 21 AppIdCallback callback);
22 }; 22 };
23 }; 23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698