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

Side by Side Diff: net/test/embedded_test_server/http_response.cc

Issue 16652007: Use a direct include of strings headers in net/test/, net/third_party/, net/tools/, net/udp/, net/u… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/test/embedded_test_server/http_request.cc ('k') | net/test/python_utils_unittest.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 #include "net/test/embedded_test_server/http_response.h" 5 #include "net/test/embedded_test_server/http_response.h"
6 6
7 #include "base/format_macros.h" 7 #include "base/format_macros.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 10
11 namespace net { 11 namespace net {
12 namespace test_server { 12 namespace test_server {
13 13
14 HttpResponse::~HttpResponse() { 14 HttpResponse::~HttpResponse() {
15 } 15 }
16 16
17 BasicHttpResponse::BasicHttpResponse() : code_(SUCCESS) { 17 BasicHttpResponse::BasicHttpResponse() : code_(SUCCESS) {
18 } 18 }
19 19
(...skipping 28 matching lines...) Expand all
48 header_name.c_str(), 48 header_name.c_str(),
49 header_value.c_str()); 49 header_value.c_str());
50 } 50 }
51 base::StringAppendF(&response_builder, "\r\n"); 51 base::StringAppendF(&response_builder, "\r\n");
52 52
53 return response_builder + content_; 53 return response_builder + content_;
54 } 54 }
55 55
56 } // namespace test_server 56 } // namespace test_server
57 } // namespace net 57 } // namespace net
OLDNEW
« no previous file with comments | « net/test/embedded_test_server/http_request.cc ('k') | net/test/python_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698