| OLD | NEW |
| 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_HTTP_HTTP_UTIL_H_ | 5 #ifndef NET_HTTP_HTTP_UTIL_H_ |
| 6 #define NET_HTTP_HTTP_UTIL_H_ | 6 #define NET_HTTP_HTTP_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/strings/string_tokenizer.h" | 12 #include "base/strings/string_tokenizer.h" |
| 13 #include "googleurl/src/gurl.h" | |
| 14 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
| 15 #include "net/http/http_byte_range.h" | 14 #include "net/http/http_byte_range.h" |
| 16 #include "net/http/http_version.h" | 15 #include "net/http/http_version.h" |
| 16 #include "url/gurl.h" |
| 17 | 17 |
| 18 // This is a macro to support extending this string literal at compile time. | 18 // This is a macro to support extending this string literal at compile time. |
| 19 // Please excuse me polluting your global namespace! | 19 // Please excuse me polluting your global namespace! |
| 20 #define HTTP_LWS " \t" | 20 #define HTTP_LWS " \t" |
| 21 | 21 |
| 22 namespace net { | 22 namespace net { |
| 23 | 23 |
| 24 class NET_EXPORT HttpUtil { | 24 class NET_EXPORT HttpUtil { |
| 25 public: | 25 public: |
| 26 // Returns the absolute path of the URL, to be used for the http request. | 26 // Returns the absolute path of the URL, to be used for the http request. |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 // into the original's unquoted_value_ member. | 350 // into the original's unquoted_value_ member. |
| 351 std::string unquoted_value_; | 351 std::string unquoted_value_; |
| 352 | 352 |
| 353 bool value_is_quoted_; | 353 bool value_is_quoted_; |
| 354 }; | 354 }; |
| 355 }; | 355 }; |
| 356 | 356 |
| 357 } // namespace net | 357 } // namespace net |
| 358 | 358 |
| 359 #endif // NET_HTTP_HTTP_UTIL_H_ | 359 #endif // NET_HTTP_HTTP_UTIL_H_ |
| OLD | NEW |