| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <windows.h> |
| 6 #include <objbase.h> |
| 7 #include <urlmon.h> |
| 8 |
| 5 #include "base/logging.h" | 9 #include "base/logging.h" |
| 6 #include "base/registry.h" | |
| 7 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 8 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 9 | 12 |
| 10 #include "chrome_frame/test/test_server.h" | 13 #include "chrome_frame/test/test_server.h" |
| 11 | 14 |
| 12 #include "net/base/winsock_init.h" | 15 #include "net/base/winsock_init.h" |
| 13 #include "net/http/http_util.h" | 16 #include "net/http/http_util.h" |
| 14 | 17 |
| 15 namespace test_server { | 18 namespace test_server { |
| 16 const char kDefaultHeaderTemplate[] = | 19 const char kDefaultHeaderTemplate[] = |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 data_ = headers; | 358 data_ = headers; |
| 356 data_.append(content_length_header); | 359 data_.append(content_length_header); |
| 357 data_.append("\r\n"); | 360 data_.append("\r\n"); |
| 358 } | 361 } |
| 359 | 362 |
| 360 MessageLoop::current()->PostDelayedTask(FROM_HERE, | 363 MessageLoop::current()->PostDelayedTask(FROM_HERE, |
| 361 NewRunnableMethod(this, &ConfigurableConnection::SendChunk), | 364 NewRunnableMethod(this, &ConfigurableConnection::SendChunk), |
| 362 options.timeout_); | 365 options.timeout_); |
| 363 } | 366 } |
| 364 | 367 |
| 365 } // namespace test_server | 368 } // namespace test_server |
| OLD | NEW |