Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Side by Side Diff: components/webcrypto/algorithms/test_helpers.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 COMPONENTS_WEBCRYPTO_ALGORITHMS_TEST_HELPERS_H_ 5 #ifndef COMPONENTS_WEBCRYPTO_ALGORITHMS_TEST_HELPERS_H_
6 #define COMPONENTS_WEBCRYPTO_ALGORITHMS_TEST_HELPERS_H_ 6 #define COMPONENTS_WEBCRYPTO_ALGORITHMS_TEST_HELPERS_H_
7 7
8 #include <stdint.h>
9
8 #include <ostream> 10 #include <ostream>
9 #include <string> 11 #include <string>
10 #include <vector> 12 #include <vector>
11 13
12 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
13 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" 16 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h"
15 #include "third_party/WebKit/public/platform/WebCryptoKey.h" 17 #include "third_party/WebKit/public/platform/WebCryptoKey.h"
16 18
17 #define EXPECT_BYTES_EQ(expected, actual) \ 19 #define EXPECT_BYTES_EQ(expected, actual) \
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 blink::WebCryptoAlgorithmId hash_id); 229 blink::WebCryptoAlgorithmId hash_id);
228 230
229 // Creates an import algorithm for EC keys. 231 // Creates an import algorithm for EC keys.
230 blink::WebCryptoAlgorithm CreateEcImportAlgorithm( 232 blink::WebCryptoAlgorithm CreateEcImportAlgorithm(
231 blink::WebCryptoAlgorithmId id, 233 blink::WebCryptoAlgorithmId id,
232 blink::WebCryptoNamedCurve named_curve); 234 blink::WebCryptoNamedCurve named_curve);
233 235
234 } // namespace webcrypto 236 } // namespace webcrypto
235 237
236 #endif // COMPONENTS_WEBCRYPTO_ALGORITHMS_TEST_HELPERS_H_ 238 #endif // COMPONENTS_WEBCRYPTO_ALGORITHMS_TEST_HELPERS_H_
OLDNEW
« no previous file with comments | « components/webcrypto/algorithms/sha_unittest.cc ('k') | components/webcrypto/algorithms/test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698