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

Side by Side Diff: net/cert/ct_signed_certificate_timestamp_log_param.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "net/cert/ct_signed_certificate_timestamp_log_param.h" 5 #include "net/cert/ct_signed_certificate_timestamp_log_param.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/base64.h" 11 #include "base/base64.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/stringprintf.h"
14 #include "base/values.h" 13 #include "base/values.h"
15 #include "net/cert/ct_sct_to_string.h" 14 #include "net/cert/ct_sct_to_string.h"
16 #include "net/cert/signed_certificate_timestamp.h" 15 #include "net/cert/signed_certificate_timestamp.h"
17 #include "net/log/net_log_capture_mode.h" 16 #include "net/log/net_log_capture_mode.h"
18 17
19 namespace net { 18 namespace net {
20 19
21 namespace { 20 namespace {
22 21
23 // Base64 encode the given |value| string and put it in |dict| with the 22 // Base64 encode the given |value| string and put it in |dict| with the
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 92
94 SetBinaryData("embedded_scts", *embedded_scts, dict.get()); 93 SetBinaryData("embedded_scts", *embedded_scts, dict.get());
95 SetBinaryData("scts_from_ocsp_response", *sct_list_from_ocsp, dict.get()); 94 SetBinaryData("scts_from_ocsp_response", *sct_list_from_ocsp, dict.get());
96 SetBinaryData("scts_from_tls_extension", *sct_list_from_tls_extension, 95 SetBinaryData("scts_from_tls_extension", *sct_list_from_tls_extension,
97 dict.get()); 96 dict.get());
98 97
99 return std::move(dict); 98 return std::move(dict);
100 } 99 }
101 100
102 } // namespace net 101 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/ct_log_response_parser_unittest.cc ('k') | net/cert/multi_threaded_cert_verifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698