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

Side by Side Diff: net/tools/flip_server/balsa_headers.cc

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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/tools/flip_server/balsa_headers.h" 5 #include "net/tools/flip_server/balsa_headers.h"
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <algorithm> 8 #include <algorithm>
9 #include <ext/hash_set> 9 #include <ext/hash_set>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/port.h" 15 #include "base/port.h"
16 #include "base/stringprintf.h" 16 #include "base/stringprintf.h"
17 #include "base/string_piece.h" 17 #include "base/strings/string_piece.h"
18 #include "net/tools/flip_server/balsa_enums.h" 18 #include "net/tools/flip_server/balsa_enums.h"
19 #include "net/tools/flip_server/buffer_interface.h" 19 #include "net/tools/flip_server/buffer_interface.h"
20 #include "net/tools/flip_server/simple_buffer.h" 20 #include "net/tools/flip_server/simple_buffer.h"
21 #include "third_party/tcmalloc/chromium/src/base/googleinit.h" 21 #include "third_party/tcmalloc/chromium/src/base/googleinit.h"
22 // #include "util/gtl/iterator_adaptors-inl.h" 22 // #include "util/gtl/iterator_adaptors-inl.h"
23 // #include "util/gtl/map-util.h" 23 // #include "util/gtl/map-util.h"
24 24
25 namespace { 25 namespace {
26 26
27 const char kContentLength[] = "Content-Length"; 27 const char kContentLength[] = "Content-Length";
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 956
957 void BalsaHeaders::SetResponseReasonPhrase(const base::StringPiece& reason) { 957 void BalsaHeaders::SetResponseReasonPhrase(const base::StringPiece& reason) {
958 // Note: There is no difference between request_version() and 958 // Note: There is no difference between request_version() and
959 // response_reason_phrase(). Thus, a function to set one is equivalent to a 959 // response_reason_phrase(). Thus, a function to set one is equivalent to a
960 // function to set the other. We maintain two functions for this as it is 960 // function to set the other. We maintain two functions for this as it is
961 // much more descriptive, and makes code more understandable. 961 // much more descriptive, and makes code more understandable.
962 SetRequestVersion(reason); 962 SetRequestVersion(reason);
963 } 963 }
964 964
965 } // namespace net 965 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/flip_server/balsa_headers.h ('k') | net/tools/flip_server/balsa_headers_token_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698