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

Side by Side Diff: net/spdy/core/lifo_write_scheduler_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/lifo_write_scheduler.h ('k') | net/spdy/core/mock_spdy_framer_visitor.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) 2017 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2017 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/lifo_write_scheduler.h" 5 #include "net/spdy/core/lifo_write_scheduler.h"
6 6
7 #include "net/spdy/spdy_protocol.h" 7 #include "net/spdy/core/spdy_protocol.h"
8 #include "net/spdy/spdy_test_utils.h" 8 #include "net/spdy/core/spdy_test_utils.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 namespace test { 13 namespace test {
14 14
15 template <typename StreamIdType> 15 template <typename StreamIdType>
16 class LifoWriteSchedulerPeer { 16 class LifoWriteSchedulerPeer {
17 public: 17 public:
18 explicit LifoWriteSchedulerPeer(LifoWriteScheduler<StreamIdType>* scheduler) 18 explicit LifoWriteSchedulerPeer(LifoWriteScheduler<StreamIdType>* scheduler)
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 EXPECT_EQ(3, lifo.GetLatestEventWithPrecedence(5)); 137 EXPECT_EQ(3, lifo.GetLatestEventWithPrecedence(5));
138 EXPECT_EQ(4, lifo.GetLatestEventWithPrecedence(3)); 138 EXPECT_EQ(4, lifo.GetLatestEventWithPrecedence(3));
139 EXPECT_EQ(8, lifo.GetLatestEventWithPrecedence(1)); 139 EXPECT_EQ(8, lifo.GetLatestEventWithPrecedence(1));
140 EXPECT_SPDY_BUG(lifo.GetLatestEventWithPrecedence(11), 140 EXPECT_SPDY_BUG(lifo.GetLatestEventWithPrecedence(11),
141 "Stream 11 is not registered"); 141 "Stream 11 is not registered");
142 } 142 }
143 143
144 } // namespace test 144 } // namespace test
145 145
146 } // namespace net 146 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/lifo_write_scheduler.h ('k') | net/spdy/core/mock_spdy_framer_visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698