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

Side by Side Diff: net/spdy/chromium/spdy_http_utils_unittest.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/chromium/spdy_http_utils.cc ('k') | net/spdy/chromium/spdy_log_util.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_http_utils.h" 5 #include "net/spdy/chromium/spdy_http_utils.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <limits> 9 #include <limits>
10 10
11 #include "net/http/http_request_info.h" 11 #include "net/http/http_request_info.h"
12 #include "net/spdy/spdy_framer.h" 12 #include "net/spdy/core/spdy_framer.h"
13 #include "net/spdy/spdy_test_utils.h" 13 #include "net/spdy/core/spdy_test_utils.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 namespace { 18 namespace {
19 19
20 bool kDirect = true; 20 bool kDirect = true;
21 21
22 } // namespace 22 } // namespace
23 23
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 EXPECT_EQ("CONNECT", headers[":method"]); 90 EXPECT_EQ("CONNECT", headers[":method"]);
91 EXPECT_TRUE(headers.end() == headers.find(":scheme")); 91 EXPECT_TRUE(headers.end() == headers.find(":scheme"));
92 EXPECT_EQ("www.google.com:443", headers[":authority"]); 92 EXPECT_EQ("www.google.com:443", headers[":authority"]);
93 EXPECT_EQ(headers.end(), headers.find(":path")); 93 EXPECT_EQ(headers.end(), headers.find(":path"));
94 EXPECT_EQ(headers.end(), headers.find(":scheme")); 94 EXPECT_EQ(headers.end(), headers.find(":scheme"));
95 EXPECT_TRUE(headers.end() == headers.find(":version")); 95 EXPECT_TRUE(headers.end() == headers.find(":version"));
96 EXPECT_EQ("Chrome/1.1", headers["user-agent"]); 96 EXPECT_EQ("Chrome/1.1", headers["user-agent"]);
97 } 97 }
98 98
99 } // namespace net 99 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/chromium/spdy_http_utils.cc ('k') | net/spdy/chromium/spdy_log_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698