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.
6 * @fileoverview This provides the different message types for the gnubby
10 var GnubbyMsgTypes
= {};
13 * Enroll request message type.
16 GnubbyMsgTypes
.ENROLL_WEB_REQUEST
= 'enroll_web_request';
19 * Enroll reply message type.
22 GnubbyMsgTypes
.ENROLL_WEB_REPLY
= 'enroll_web_reply';
25 * Enroll notification message type.
28 GnubbyMsgTypes
.ENROLL_WEB_NOTIFICATION
= 'enroll_web_notification';
31 * Sign request message type.
34 GnubbyMsgTypes
.SIGN_WEB_REQUEST
= 'sign_web_request';
37 * Sign reply message type.
40 GnubbyMsgTypes
.SIGN_WEB_REPLY
= 'sign_web_reply';
43 * Sign notification message type.
46 GnubbyMsgTypes
.SIGN_WEB_NOTIFICATION
= 'sign_web_notification';