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

Side by Side Diff: net/tools/quic/test_tools/http_message_test_utils.h

Issue 13741012: Moving net/tools/quic code to net::tools namspace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/quic/spdy_utils.cc ('k') | net/tools/quic/test_tools/http_message_test_utils.cc » ('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 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_TEST_TOOLS_HTTP_MESSAGE_TEST_UTILS_H_ 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_TEST_TOOLS_HTTP_MESSAGE_TEST_UTILS_H_
6 #define NET_TOOLS_QUIC_TEST_TOOLS_TEST_TOOLS_HTTP_MESSAGE_TEST_UTILS_H_ 6 #define NET_TOOLS_QUIC_TEST_TOOLS_TEST_TOOLS_HTTP_MESSAGE_TEST_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/string_piece.h" 11 #include "base/string_piece.h"
12 #include "net/tools/flip_server/balsa_enums.h" 12 #include "net/tools/flip_server/balsa_enums.h"
13 #include "net/tools/flip_server/balsa_headers.h" 13 #include "net/tools/flip_server/balsa_headers.h"
14 14
15 namespace net { 15 namespace net {
16 namespace tools {
16 namespace test { 17 namespace test {
17 18
18 class HttpConstants { 19 class HttpConstants {
19 public: 20 public:
20 enum Version { 21 enum Version {
21 HTTP_UNKNOWN = 0, 22 HTTP_UNKNOWN = 0,
22 HTTP_0_9, 23 HTTP_0_9,
23 HTTP_1_0, 24 HTTP_1_0,
24 HTTP_1_1 25 HTTP_1_1
25 }; 26 };
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // that are intentionally invalid. 120 // that are intentionally invalid.
120 bool skip_message_validation_; 121 bool skip_message_validation_;
121 122
122 private: 123 private:
123 void InitializeFields(); 124 void InitializeFields();
124 125
125 DISALLOW_COPY_AND_ASSIGN(HTTPMessage); 126 DISALLOW_COPY_AND_ASSIGN(HTTPMessage);
126 }; 127 };
127 128
128 } // namespace test 129 } // namespace test
130 } // namespace tools
129 } // namespace net 131 } // namespace net
130 132
131 #endif // NET_TOOLS_QUIC_TEST_TOOLS_TEST_TOOLS_HTTP_MESSAGE_TEST_UTILS_H_ 133 #endif // NET_TOOLS_QUIC_TEST_TOOLS_TEST_TOOLS_HTTP_MESSAGE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « net/tools/quic/spdy_utils.cc ('k') | net/tools/quic/test_tools/http_message_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698