| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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/spdy/spdy_header_indexing.h" | 5 #include "net/spdy/core/spdy_header_indexing.h" |
| 6 | 6 |
| 7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
| 8 #include "testing/gmock/include/gmock/gmock.h" | 8 #include "testing/gmock/include/gmock/gmock.h" |
| 9 #include "testing/platform_test.h" | 9 #include "testing/platform_test.h" |
| 10 | 10 |
| 11 namespace net { | 11 namespace net { |
| 12 | 12 |
| 13 namespace test { | 13 namespace test { |
| 14 | 14 |
| 15 class HeaderIndexingPeer { | 15 class HeaderIndexingPeer { |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 EXPECT_EQ(100u, hi_->tracking_set_size()); | 115 EXPECT_EQ(100u, hi_->tracking_set_size()); |
| 116 EXPECT_TRUE(hi_->ShouldIndex(":status")); | 116 EXPECT_TRUE(hi_->ShouldIndex(":status")); |
| 117 EXPECT_TRUE(hi_->InTrackingSet(":status")); | 117 EXPECT_TRUE(hi_->InTrackingSet(":status")); |
| 118 EXPECT_FALSE(hi_->InTrackingSet("NotValid")); | 118 EXPECT_FALSE(hi_->InTrackingSet("NotValid")); |
| 119 EXPECT_FALSE(hi_->ShouldIndex("NotValid")); | 119 EXPECT_FALSE(hi_->ShouldIndex("NotValid")); |
| 120 } | 120 } |
| 121 | 121 |
| 122 } // namespace test | 122 } // namespace test |
| 123 | 123 |
| 124 } // namespace net | 124 } // namespace net |
| OLD | NEW |