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

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

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
« no previous file with comments | « components/webcrypto/algorithms/test_helpers.h ('k') | components/webcrypto/algorithms/util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "components/webcrypto/algorithms/test_helpers.h" 5 #include "components/webcrypto/algorithms/test_helpers.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/base64url.h" 11 #include "base/base64url.h"
10 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
11 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
12 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
13 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/macros.h"
14 #include "base/path_service.h" 17 #include "base/path_service.h"
15 #include "base/strings/string_number_conversions.h" 18 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
17 #include "base/values.h" 20 #include "base/values.h"
18 #include "components/test_runner/test_common.h" 21 #include "components/test_runner/test_common.h"
19 #include "components/webcrypto/algorithm_dispatch.h" 22 #include "components/webcrypto/algorithm_dispatch.h"
20 #include "components/webcrypto/crypto_data.h" 23 #include "components/webcrypto/crypto_data.h"
21 #include "components/webcrypto/generate_key_result.h" 24 #include "components/webcrypto/generate_key_result.h"
22 #include "components/webcrypto/jwk.h" 25 #include "components/webcrypto/jwk.h"
23 #include "components/webcrypto/status.h" 26 #include "components/webcrypto/status.h"
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 } 689 }
687 690
688 blink::WebCryptoAlgorithm CreateEcImportAlgorithm( 691 blink::WebCryptoAlgorithm CreateEcImportAlgorithm(
689 blink::WebCryptoAlgorithmId id, 692 blink::WebCryptoAlgorithmId id,
690 blink::WebCryptoNamedCurve named_curve) { 693 blink::WebCryptoNamedCurve named_curve) {
691 return blink::WebCryptoAlgorithm::adoptParamsAndCreate( 694 return blink::WebCryptoAlgorithm::adoptParamsAndCreate(
692 id, new blink::WebCryptoEcKeyImportParams(named_curve)); 695 id, new blink::WebCryptoEcKeyImportParams(named_curve));
693 } 696 }
694 697
695 } // namespace webcrypto 698 } // namespace webcrypto
OLDNEW
« no previous file with comments | « components/webcrypto/algorithms/test_helpers.h ('k') | components/webcrypto/algorithms/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698