OLD | NEW |
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.easyUnlockPrivate</code> API that provides hooks to Chrome to | 5 // <code>chrome.easyUnlockPrivate</code> API that provides hooks to Chrome to |
6 // be used by Easy Unlock component app. | 6 // be used by Easy Unlock component app. |
7 [nodoc] namespace easyUnlockPrivate { | 7 namespace easyUnlockPrivate { |
8 // Signature algorithms supported by the crypto library methods used by | 8 // Signature algorithms supported by the crypto library methods used by |
9 // Easy Unlock. | 9 // Easy Unlock. |
10 enum SignatureType { | 10 enum SignatureType { |
11 HMAC_SHA256, | 11 HMAC_SHA256, |
12 ECDSA_P256_SHA256 | 12 ECDSA_P256_SHA256 |
13 }; | 13 }; |
14 | 14 |
15 // Encryption algorithms supported by the crypto library methods used by | 15 // Encryption algorithms supported by the crypto library methods used by |
16 // Easy Unlock. | 16 // Easy Unlock. |
17 enum EncryptionType { | 17 enum EncryptionType { |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 static void getUserImage(DataCallback callback); | 317 static void getUserImage(DataCallback callback); |
318 }; | 318 }; |
319 | 319 |
320 interface Events { | 320 interface Events { |
321 // Event fired when the data for the user currently associated with | 321 // Event fired when the data for the user currently associated with |
322 // Easy unlock service is updated. | 322 // Easy unlock service is updated. |
323 // |userInfo| The updated user information. | 323 // |userInfo| The updated user information. |
324 static void onUserInfoUpdated(UserInfo userInfo); | 324 static void onUserInfoUpdated(UserInfo userInfo); |
325 }; | 325 }; |
326 }; | 326 }; |
OLD | NEW |