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

Side by Side Diff: net/spdy/core/spdy_header_block_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_block.cc ('k') | net/spdy/core/spdy_header_indexing.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_block.h" 5 #include "net/spdy/core/spdy_header_block.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "net/log/net_log_capture_mode.h" 11 #include "net/log/net_log_capture_mode.h"
12 #include "net/spdy/spdy_test_utils.h" 12 #include "net/spdy/core/spdy_test_utils.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 using ::testing::ElementsAre; 16 using ::testing::ElementsAre;
17 17
18 namespace net { 18 namespace net {
19 namespace test { 19 namespace test {
20 20
21 class ValueProxyPeer { 21 class ValueProxyPeer {
22 public: 22 public:
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 std::vector<SpdyStringPiece> v = {"one", "two", "three"}; 214 std::vector<SpdyStringPiece> v = {"one", "two", "three"};
215 SpdyStringPiece separator = ", "; 215 SpdyStringPiece separator = ", ";
216 char buf[15]; 216 char buf[15];
217 size_t written = Join(buf, v, separator); 217 size_t written = Join(buf, v, separator);
218 EXPECT_EQ(15u, written); 218 EXPECT_EQ(15u, written);
219 EXPECT_EQ("one, two, three", SpdyStringPiece(buf, written)); 219 EXPECT_EQ("one, two, three", SpdyStringPiece(buf, written));
220 } 220 }
221 221
222 } // namespace test 222 } // namespace test
223 } // namespace net 223 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_header_block.cc ('k') | net/spdy/core/spdy_header_indexing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698