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

Side by Side Diff: chrome_frame/test/test_server.cc

Issue 14272007: Update the remaining 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 | « chrome_frame/test/test_scrubber.h ('k') | chrome_frame/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 #include "chrome_frame/test/test_server.h" 5 #include "chrome_frame/test/test_server.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <objbase.h> 8 #include <objbase.h>
9 #include <urlmon.h> 9 #include <urlmon.h>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/string_number_conversions.h" 13 #include "base/string_number_conversions.h"
14 #include "base/string_piece.h"
15 #include "base/string_util.h" 14 #include "base/string_util.h"
16 #include "base/stringprintf.h" 15 #include "base/stringprintf.h"
16 #include "base/strings/string_piece.h"
17 #include "base/utf_string_conversions.h" 17 #include "base/utf_string_conversions.h"
18 #include "chrome_frame/test/chrome_frame_test_utils.h" 18 #include "chrome_frame/test/chrome_frame_test_utils.h"
19 #include "net/base/winsock_init.h" 19 #include "net/base/winsock_init.h"
20 #include "net/http/http_util.h" 20 #include "net/http/http_util.h"
21 #include "net/socket/tcp_listen_socket.h" 21 #include "net/socket/tcp_listen_socket.h"
22 22
23 namespace test_server { 23 namespace test_server {
24 const char kDefaultHeaderTemplate[] = 24 const char kDefaultHeaderTemplate[] =
25 "HTTP/1.1 %hs\r\n" 25 "HTTP/1.1 %hs\r\n"
26 "Connection: close\r\n" 26 "Connection: close\r\n"
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 data_.append(content_length_header); 411 data_.append(content_length_header);
412 data_.append("\r\n"); 412 data_.append("\r\n");
413 } 413 }
414 414
415 MessageLoop::current()->PostDelayedTask( 415 MessageLoop::current()->PostDelayedTask(
416 FROM_HERE, base::Bind(&ConfigurableConnection::SendChunk, this), 416 FROM_HERE, base::Bind(&ConfigurableConnection::SendChunk, this),
417 base::TimeDelta::FromMilliseconds(options.timeout_)); 417 base::TimeDelta::FromMilliseconds(options.timeout_));
418 } 418 }
419 419
420 } // namespace test_server 420 } // namespace test_server
OLDNEW
« no previous file with comments | « chrome_frame/test/test_scrubber.h ('k') | chrome_frame/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698