OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 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. |
| 4 |
| 5 /** |
| 6 * @fileoverview This provides the different message types for the gnubby |
| 7 * operations. |
| 8 */ |
| 9 |
| 10 var GnubbyMsgTypes = {}; |
| 11 |
| 12 /** |
| 13 * Enroll request message type. |
| 14 * @const |
| 15 */ |
| 16 GnubbyMsgTypes.ENROLL_WEB_REQUEST = 'enroll_web_request'; |
| 17 |
| 18 /** |
| 19 * Enroll reply message type. |
| 20 * @const |
| 21 */ |
| 22 GnubbyMsgTypes.ENROLL_WEB_REPLY = 'enroll_web_reply'; |
| 23 |
| 24 /** |
| 25 * Enroll notification message type. |
| 26 * @const |
| 27 */ |
| 28 GnubbyMsgTypes.ENROLL_WEB_NOTIFICATION = 'enroll_web_notification'; |
| 29 |
| 30 /** |
| 31 * Sign request message type. |
| 32 * @const |
| 33 */ |
| 34 GnubbyMsgTypes.SIGN_WEB_REQUEST = 'sign_web_request'; |
| 35 |
| 36 /** |
| 37 * Sign reply message type. |
| 38 * @const |
| 39 */ |
| 40 GnubbyMsgTypes.SIGN_WEB_REPLY = 'sign_web_reply'; |
| 41 |
| 42 /** |
| 43 * Sign notification message type. |
| 44 * @const |
| 45 */ |
| 46 GnubbyMsgTypes.SIGN_WEB_NOTIFICATION = 'sign_web_notification'; |
OLD | NEW |