OLD | NEW |
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/ssl/channel_id_service.h" | 5 #include "net/ssl/channel_id_service.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
14 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
15 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
16 #include "base/task_runner.h" | 17 #include "base/task_runner.h" |
17 #include "base/thread_task_runner_handle.h" | 18 #include "base/thread_task_runner_handle.h" |
18 #include "crypto/ec_private_key.h" | 19 #include "crypto/ec_private_key.h" |
19 #include "net/base/net_errors.h" | 20 #include "net/base/net_errors.h" |
20 #include "net/base/test_completion_callback.h" | 21 #include "net/base/test_completion_callback.h" |
21 #include "net/cert/asn1_util.h" | 22 #include "net/cert/asn1_util.h" |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 EXPECT_EQ(1u, service_->inflight_joins()); | 620 EXPECT_EQ(1u, service_->inflight_joins()); |
620 EXPECT_TRUE(key1); | 621 EXPECT_TRUE(key1); |
621 EXPECT_TRUE(KeysEqual(key1.get(), key2.get())); | 622 EXPECT_TRUE(KeysEqual(key1.get(), key2.get())); |
622 EXPECT_FALSE(request1.is_active()); | 623 EXPECT_FALSE(request1.is_active()); |
623 EXPECT_FALSE(request2.is_active()); | 624 EXPECT_FALSE(request2.is_active()); |
624 } | 625 } |
625 | 626 |
626 } // namespace | 627 } // namespace |
627 | 628 |
628 } // namespace net | 629 } // namespace net |
OLD | NEW |