| Index: chrome/browser/resources/cryptotoken/gnubbymsgtypes.js
|
| diff --git a/chrome/browser/resources/cryptotoken/gnubbymsgtypes.js b/chrome/browser/resources/cryptotoken/gnubbymsgtypes.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fd98afc5c55d97572cc4fd55e04db36a23e82525
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/cryptotoken/gnubbymsgtypes.js
|
| @@ -0,0 +1,46 @@
|
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +/**
|
| + * @fileoverview This provides the different message types for the gnubby
|
| + * operations.
|
| + */
|
| +
|
| +var GnubbyMsgTypes = {};
|
| +
|
| +/**
|
| + * Enroll request message type.
|
| + * @const
|
| + */
|
| +GnubbyMsgTypes.ENROLL_WEB_REQUEST = 'enroll_web_request';
|
| +
|
| +/**
|
| + * Enroll reply message type.
|
| + * @const
|
| + */
|
| +GnubbyMsgTypes.ENROLL_WEB_REPLY = 'enroll_web_reply';
|
| +
|
| +/**
|
| + * Enroll notification message type.
|
| + * @const
|
| + */
|
| +GnubbyMsgTypes.ENROLL_WEB_NOTIFICATION = 'enroll_web_notification';
|
| +
|
| +/**
|
| + * Sign request message type.
|
| + * @const
|
| + */
|
| +GnubbyMsgTypes.SIGN_WEB_REQUEST = 'sign_web_request';
|
| +
|
| +/**
|
| + * Sign reply message type.
|
| + * @const
|
| + */
|
| +GnubbyMsgTypes.SIGN_WEB_REPLY = 'sign_web_reply';
|
| +
|
| +/**
|
| + * Sign notification message type.
|
| + * @const
|
| + */
|
| +GnubbyMsgTypes.SIGN_WEB_NOTIFICATION = 'sign_web_notification';
|
|
|