OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/base/load_timing_info_test_util.h" | 5 #include "net/base/load_timing_info_test_util.h" |
6 | 6 |
7 #include "net/base/load_timing_info.h" | 7 #include "net/base/load_timing_info.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 void ExpectLoadTimingHasOnlyConnectionTimes( | 48 void ExpectLoadTimingHasOnlyConnectionTimes( |
49 const LoadTimingInfo& load_timing_info) { | 49 const LoadTimingInfo& load_timing_info) { |
50 EXPECT_TRUE(load_timing_info.request_start_time.is_null()); | 50 EXPECT_TRUE(load_timing_info.request_start_time.is_null()); |
51 EXPECT_TRUE(load_timing_info.request_start.is_null()); | 51 EXPECT_TRUE(load_timing_info.request_start.is_null()); |
52 EXPECT_TRUE(load_timing_info.proxy_resolve_start.is_null()); | 52 EXPECT_TRUE(load_timing_info.proxy_resolve_start.is_null()); |
53 EXPECT_TRUE(load_timing_info.proxy_resolve_end.is_null()); | 53 EXPECT_TRUE(load_timing_info.proxy_resolve_end.is_null()); |
54 EXPECT_TRUE(load_timing_info.send_start.is_null()); | 54 EXPECT_TRUE(load_timing_info.send_start.is_null()); |
55 EXPECT_TRUE(load_timing_info.send_end.is_null()); | 55 EXPECT_TRUE(load_timing_info.send_end.is_null()); |
56 EXPECT_TRUE(load_timing_info.receive_headers_end.is_null()); | 56 EXPECT_TRUE(load_timing_info.receive_headers_end.is_null()); |
| 57 EXPECT_TRUE(load_timing_info.push_start.is_null()); |
| 58 EXPECT_TRUE(load_timing_info.push_end.is_null()); |
57 } | 59 } |
58 | 60 |
59 } // namespace net | 61 } // namespace net |
OLD | NEW |