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

Side by Side Diff: net/cert/ct_log_response_parser_unittest.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 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 "net/cert/ct_log_response_parser.h" 5 #include "net/cert/ct_log_response_parser.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
11 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
12 #include "base/strings/stringprintf.h"
13 #include "base/time/time.h" 12 #include "base/time/time.h"
14 #include "base/values.h" 13 #include "base/values.h"
15 #include "net/cert/ct_serialization.h" 14 #include "net/cert/ct_serialization.h"
16 #include "net/cert/signed_tree_head.h" 15 #include "net/cert/signed_tree_head.h"
17 #include "net/test/ct_test_util.h" 16 #include "net/test/ct_test_util.h"
18 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
19 18
20 namespace net { 19 namespace net {
21 20
22 namespace ct { 21 namespace ct {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 std::vector<std::string> output; 157 std::vector<std::string> output;
159 158
160 std::unique_ptr<base::Value> badly_encoded = 159 std::unique_ptr<base::Value> badly_encoded =
161 ParseJson(std::string("{\"consistency\": [], \"somethingelse\": 3}")); 160 ParseJson(std::string("{\"consistency\": [], \"somethingelse\": 3}"));
162 EXPECT_TRUE(FillConsistencyProof(*badly_encoded.get(), &output)); 161 EXPECT_TRUE(FillConsistencyProof(*badly_encoded.get(), &output));
163 } 162 }
164 163
165 } // namespace ct 164 } // namespace ct
166 165
167 } // namespace net 166 } // namespace net
OLDNEW
« no previous file with comments | « net/base/network_interfaces_unittest.cc ('k') | net/cert/ct_signed_certificate_timestamp_log_param.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698