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

Side by Side Diff: net/cert/multi_threaded_cert_verifier_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
« no previous file with comments | « net/cert/ct_signed_certificate_timestamp_log_param.cc ('k') | net/disk_cache/cache_creator.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/multi_threaded_cert_verifier.h" 5 #include "net/cert/multi_threaded_cert_verifier.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/debug/leak_annotations.h" 10 #include "base/debug/leak_annotations.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/format_macros.h" 12 #include "base/format_macros.h"
13 #include "base/strings/stringprintf.h"
14 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
15 #include "net/base/test_completion_callback.h" 14 #include "net/base/test_completion_callback.h"
16 #include "net/cert/cert_verify_proc.h" 15 #include "net/cert/cert_verify_proc.h"
17 #include "net/cert/cert_verify_result.h" 16 #include "net/cert/cert_verify_result.h"
18 #include "net/cert/x509_certificate.h" 17 #include "net/cert/x509_certificate.h"
19 #include "net/log/net_log_with_source.h" 18 #include "net/log/net_log_with_source.h"
20 #include "net/test/cert_test_util.h" 19 #include "net/test/cert_test_util.h"
21 #include "net/test/gtest_util.h" 20 #include "net/test/gtest_util.h"
22 #include "net/test/test_data_directory.h" 21 #include "net/test/test_data_directory.h"
23 #include "testing/gmock/include/gmock/gmock.h" 22 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 ASSERT_TRUE(IsCertificateError(error)); 250 ASSERT_TRUE(IsCertificateError(error));
252 error = callback4.WaitForResult(); 251 error = callback4.WaitForResult();
253 ASSERT_TRUE(IsCertificateError(error)); 252 ASSERT_TRUE(IsCertificateError(error));
254 253
255 // Let the other requests automatically cancel. 254 // Let the other requests automatically cancel.
256 ASSERT_EQ(5u, verifier_.requests()); 255 ASSERT_EQ(5u, verifier_.requests());
257 ASSERT_EQ(2u, verifier_.inflight_joins()); 256 ASSERT_EQ(2u, verifier_.inflight_joins());
258 } 257 }
259 258
260 } // namespace net 259 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/ct_signed_certificate_timestamp_log_param.cc ('k') | net/disk_cache/cache_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698