| 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 #ifndef NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ |
| 6 #define NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ |
| 7 | 7 |
| 8 #include <stdlib.h> | 8 #include <stdlib.h> |
| 9 | 9 |
| 10 #include <sstream> | 10 #include <sstream> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/message_loop.h" | 17 #include "base/message_loop.h" |
| 18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
| 19 #include "base/platform_thread.h" | |
| 20 #include "base/process_util.h" | 19 #include "base/process_util.h" |
| 21 #include "base/string_util.h" | 20 #include "base/string_util.h" |
| 22 #include "base/thread.h" | 21 #include "base/thread.h" |
| 23 #include "base/time.h" | 22 #include "base/time.h" |
| 24 #include "base/waitable_event.h" | 23 #include "base/waitable_event.h" |
| 25 #include "net/base/io_buffer.h" | 24 #include "net/base/io_buffer.h" |
| 26 #include "net/base/net_errors.h" | 25 #include "net/base/net_errors.h" |
| 27 #include "net/base/ssl_test_util.h" | 26 #include "net/base/ssl_test_util.h" |
| 28 #include "net/http/http_network_layer.h" | 27 #include "net/http/http_network_layer.h" |
| 29 #include "net/url_request/url_request.h" | 28 #include "net/url_request/url_request.h" |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 MessageLoop::current()->Run(); | 524 MessageLoop::current()->Run(); |
| 526 if (request.is_pending()) | 525 if (request.is_pending()) |
| 527 return false; | 526 return false; |
| 528 | 527 |
| 529 return true; | 528 return true; |
| 530 } | 529 } |
| 531 | 530 |
| 532 }; | 531 }; |
| 533 | 532 |
| 534 #endif // NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ | 533 #endif // NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ |
| OLD | NEW |