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

Side by Side Diff: net/tools/flip_server/balsa_headers_token_utils.h

Issue 14223008: net: Update the include paths of base/string_piece.h to its new location. (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/flip_server/balsa_headers.cc ('k') | net/tools/flip_server/mem_cache.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // Utility class that performs basic operations on header value tokens: parsing 5 // Utility class that performs basic operations on header value tokens: parsing
6 // them out, checking for presense of certain tokens, and removing them. 6 // them out, checking for presense of certain tokens, and removing them.
7 7
8 #ifndef NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_TOKEN_UTILS_H_ 8 #ifndef NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_TOKEN_UTILS_H_
9 #define NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_TOKEN_UTILS_H_ 9 #define NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_TOKEN_UTILS_H_
10 10
11 #include "base/strings/string_piece.h"
11 #include "net/tools/flip_server/balsa_headers.h" 12 #include "net/tools/flip_server/balsa_headers.h"
12 #include "base/string_piece.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class BalsaHeadersTokenUtils { 16 class BalsaHeadersTokenUtils {
17 public: 17 public:
18 // All the functions below respect multiple header lines with the same key. 18 // All the functions below respect multiple header lines with the same key.
19 19
20 // Checks whether the last header token matches a given value. Useful to 20 // Checks whether the last header token matches a given value. Useful to
21 // check the outer-most content or transfer-encoding, for example. In the 21 // check the outer-most content or transfer-encoding, for example. In the
22 // presence of multiple header lines with given key, the last token of the 22 // presence of multiple header lines with given key, the last token of the
(...skipping 29 matching lines...) Expand all
52 const BalsaHeaders::HeaderLineDescription& line, 52 const BalsaHeaders::HeaderLineDescription& line,
53 BalsaHeaders::HeaderTokenList* tokens); 53 BalsaHeaders::HeaderTokenList* tokens);
54 54
55 BalsaHeadersTokenUtils(); // Prohibit instantiation 55 BalsaHeadersTokenUtils(); // Prohibit instantiation
56 }; 56 };
57 57
58 } // namespace net 58 } // namespace net
59 59
60 #endif // NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_TOKEN_UTILS_H_ 60 #endif // NET_TOOLS_FLIP_SERVER_BALSA_HEADERS_TOKEN_UTILS_H_
61 61
OLDNEW
« no previous file with comments | « net/tools/flip_server/balsa_headers.cc ('k') | net/tools/flip_server/mem_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698