Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / cryptotoken / messagetypes.js
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.
4
5 /**
6  * @fileoverview U2F message types.
7  */
8 'use strict';
9
10 /**
11  * Message types for messsages to/from the extension
12  * @const
13  * @enum {string}
14  */
15 var MessageTypes = {
16   U2F_REGISTER_REQUEST: 'u2f_register_request',
17   U2F_SIGN_REQUEST: 'u2f_sign_request',
18   U2F_REGISTER_RESPONSE: 'u2f_register_response',
19   U2F_SIGN_RESPONSE: 'u2f_sign_response'
20 };