OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_CHILD_WEBCRYPTO_TEST_TEST_HELPERS_H_ | 5 #ifndef CONTENT_CHILD_WEBCRYPTO_TEST_TEST_HELPERS_H_ |
6 #define CONTENT_CHILD_WEBCRYPTO_TEST_TEST_HELPERS_H_ | 6 #define CONTENT_CHILD_WEBCRYPTO_TEST_TEST_HELPERS_H_ |
7 | 7 |
8 #include <ostream> | 8 #include <ostream> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 12 matching lines...) Expand all Loading... |
23 namespace base { | 23 namespace base { |
24 class DictionaryValue; | 24 class DictionaryValue; |
25 class ListValue; | 25 class ListValue; |
26 class Value; | 26 class Value; |
27 } | 27 } |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 class WebCryptoAlgorithm; | 30 class WebCryptoAlgorithm; |
31 } | 31 } |
32 | 32 |
33 namespace content { | 33 namespace components { |
34 | 34 |
35 namespace webcrypto { | 35 namespace webcrypto { |
36 | 36 |
37 class Status; | 37 class Status; |
38 class CryptoData; | 38 class CryptoData; |
39 | 39 |
40 // These functions are used by GTEST to support EXPECT_EQ() for | 40 // These functions are used by GTEST to support EXPECT_EQ() for |
41 // webcrypto::Status and webcrypto::CryptoData | 41 // webcrypto::Status and webcrypto::CryptoData |
42 | 42 |
43 void PrintTo(const Status& status, ::std::ostream* os); | 43 void PrintTo(const Status& status, ::std::ostream* os); |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 // Reads the "crv" string from a JSON test case and returns it as a | 203 // Reads the "crv" string from a JSON test case and returns it as a |
204 // WebCryptoNamedCurve. | 204 // WebCryptoNamedCurve. |
205 blink::WebCryptoNamedCurve GetCurveNameFromDictionary( | 205 blink::WebCryptoNamedCurve GetCurveNameFromDictionary( |
206 const base::DictionaryValue* dict); | 206 const base::DictionaryValue* dict); |
207 | 207 |
208 } // namespace webcrypto | 208 } // namespace webcrypto |
209 | 209 |
210 } // namesapce content | 210 } // namesapce content |
211 | 211 |
212 #endif // CONTENT_CHILD_WEBCRYPTO_TEST_TEST_HELPERS_H_ | 212 #endif // CONTENT_CHILD_WEBCRYPTO_TEST_TEST_HELPERS_H_ |
OLD | NEW |