OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <stdlib.h> | 9 #include <stdlib.h> |
10 | 10 |
11 #include <sstream> | 11 #include <sstream> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
16 #include "base/file_util.h" | 16 #include "base/file_util.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/message_loop.h" | 18 #include "base/message_loop.h" |
19 #include "base/path_service.h" | 19 #include "base/path_service.h" |
20 #include "base/process_util.h" | 20 #include "base/process_util.h" |
21 #include "base/string_util.h" | 21 #include "base/string_util.h" |
22 #include "base/string16.h" | 22 #include "base/string16.h" |
23 #include "base/thread.h" | 23 #include "base/thread.h" |
24 #include "base/time.h" | 24 #include "base/time.h" |
25 #include "base/utf_string_conversions.h" | 25 #include "base/utf_string_conversions.h" |
26 #include "base/waitable_event.h" | |
27 #include "net/base/cookie_monster.h" | 26 #include "net/base/cookie_monster.h" |
28 #include "net/base/cookie_policy.h" | 27 #include "net/base/cookie_policy.h" |
29 #include "net/base/host_resolver.h" | 28 #include "net/base/host_resolver.h" |
30 #include "net/base/io_buffer.h" | 29 #include "net/base/io_buffer.h" |
31 #include "net/base/net_errors.h" | 30 #include "net/base/net_errors.h" |
32 #include "net/base/ssl_config_service_defaults.h" | 31 #include "net/base/ssl_config_service_defaults.h" |
33 #include "net/disk_cache/disk_cache.h" | 32 #include "net/disk_cache/disk_cache.h" |
34 #include "net/ftp/ftp_network_layer.h" | 33 #include "net/ftp/ftp_network_layer.h" |
35 #include "net/http/http_auth_handler_factory.h" | 34 #include "net/http/http_auth_handler_factory.h" |
36 #include "net/http/http_cache.h" | 35 #include "net/http/http_cache.h" |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 bool received_data_before_response_; | 385 bool received_data_before_response_; |
387 bool request_failed_; | 386 bool request_failed_; |
388 bool have_certificate_errors_; | 387 bool have_certificate_errors_; |
389 std::string data_received_; | 388 std::string data_received_; |
390 | 389 |
391 // our read buffer | 390 // our read buffer |
392 scoped_refptr<net::IOBuffer> buf_; | 391 scoped_refptr<net::IOBuffer> buf_; |
393 }; | 392 }; |
394 | 393 |
395 #endif // NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ | 394 #endif // NET_URL_REQUEST_URL_REQUEST_UNITTEST_H_ |
OLD | NEW |