• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2012 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 #ifndef PPAPI_TESTS_TEST_CRYPTO_H_
6 #define PPAPI_TESTS_TEST_CRYPTO_H_
7 
8 #include <string>
9 #include <vector>
10 
11 #include "ppapi/c/dev/ppb_crypto_dev.h"
12 #include "ppapi/tests/test_case.h"
13 
14 class TestCrypto : public TestCase {
15  public:
16   TestCrypto(TestingInstance* instance);
17 
18   // TestCase implementation.
19   virtual bool Init();
20   virtual void RunTests(const std::string& filter);
21 
22  private:
23   std::string TestGetRandomBytes();
24 
25   const PPB_Crypto_Dev* crypto_interface_;
26 };
27 
28 #endif  // PPAPI_TESTS_TEST_CRYPTO_H_
29