Make certificate viewer a tab-modal dialog.
[chromium-blink-merge.git] / ppapi / tests / test_crypto.h
blob819ad779db99f45eda160ab79fc501da1be00a36
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.
5 #ifndef PPAPI_TESTS_TEST_CRYPTO_H_
6 #define PPAPI_TESTS_TEST_CRYPTO_H_
8 #include <string>
9 #include <vector>
11 #include "ppapi/c/dev/ppb_crypto_dev.h"
12 #include "ppapi/tests/test_case.h"
14 class TestCrypto : public TestCase {
15 public:
16 TestCrypto(TestingInstance* instance);
18 // TestCase implementation.
19 virtual bool Init();
20 virtual void RunTests(const std::string& filter);
22 private:
23 std::string TestGetRandomBytes();
25 const PPB_Crypto_Dev* crypto_interface_;
28 #endif // PPAPI_TESTS_TEST_CRYPTO_H_