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

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

Issue 1828683002: [Extensions] Convert APIs to use movable types [3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony'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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // Use this API to expose certificates to the platform which can use these 5 // Use this API to expose certificates to the platform which can use these
6 // certificates for TLS authentications. 6 // certificates for TLS authentications.
7 namespace certificateProvider { 7 [use_movable_types=true]namespace certificateProvider {
8 enum Hash { 8 enum Hash {
9 MD5_SHA1, 9 MD5_SHA1,
10 SHA1, 10 SHA1,
11 SHA256, 11 SHA256,
12 SHA384, 12 SHA384,
13 SHA512 13 SHA512
14 }; 14 };
15 15
16 [noinline_doc] dictionary CertificateInfo { 16 [noinline_doc] dictionary CertificateInfo {
17 // Must be the DER encoding of a X.509 certificate. Currently, only 17 // Must be the DER encoding of a X.509 certificate. Currently, only
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // $(ref:onCertificatesRequested) event. 70 // $(ref:onCertificatesRequested) event.
71 // The extension must sign the data in <code>request</code> using the 71 // The extension must sign the data in <code>request</code> using the
72 // appropriate algorithm and private key and return it by calling 72 // appropriate algorithm and private key and return it by calling
73 // <code>reportCallback</code>. <code>reportCallback</code> must be called 73 // <code>reportCallback</code>. <code>reportCallback</code> must be called
74 // exactly once. 74 // exactly once.
75 // |request|: Contains the details about the sign request. 75 // |request|: Contains the details about the sign request.
76 static void onSignDigestRequested(SignRequest request, 76 static void onSignDigestRequested(SignRequest request,
77 SignCallback reportCallback); 77 SignCallback reportCallback);
78 }; 78 };
79 }; 79 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698