gecko-dev/dom/u2f/NSSU2FTokenRemote.h
J.C. Jones 8524776280 Bug 1275479 - Create nsIU2FToken base interface (Part 2). r=keeler
Create a base "nsIU2FToken" interface that all tokens must implement. This
patch does not change U2F.cpp from initializing tokens monolithically, but
if/when future tokens are added, the implementer may want to do that.

MozReview-Commit-ID: GQuu6NolF4D

--HG--
extra : transplant_source : %3Fi%8E%C4n%BF%C1%DB%DB%03HjG%B5%9Ct%9EMWH
2016-05-27 13:44:20 -07:00

25 lines
607 B
C++

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef NSSU2FTokenRemote_h
#define NSSU2FTokenRemote_h
#include "nsIU2FToken.h"
class NSSU2FTokenRemote : public nsIU2FToken
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIU2FTOKEN
NSSU2FTokenRemote();
private:
virtual ~NSSU2FTokenRemote();
};
#endif // NSSU2FTokenRemote_h