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

Side by Side Diff: net/spdy/core/spdy_header_indexing_test.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 months 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/spdy/core/spdy_header_indexing.cc ('k') | net/spdy/core/spdy_headers_handler_interface.h » ('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) 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
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
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_header_indexing.cc ('k') | net/spdy/core/spdy_headers_handler_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698