| OLD | NEW |
| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <shlobj.h> | 9 #include <shlobj.h> |
| 10 #endif | 10 #endif |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "net/base/load_flags.h" | 32 #include "net/base/load_flags.h" |
| 33 #include "net/base/mock_host_resolver.h" | 33 #include "net/base/mock_host_resolver.h" |
| 34 #include "net/base/net_errors.h" | 34 #include "net/base/net_errors.h" |
| 35 #include "net/base/net_log.h" | 35 #include "net/base/net_log.h" |
| 36 #include "net/base/net_log_unittest.h" | 36 #include "net/base/net_log_unittest.h" |
| 37 #include "net/base/net_module.h" | 37 #include "net/base/net_module.h" |
| 38 #include "net/base/net_util.h" | 38 #include "net/base/net_util.h" |
| 39 #include "net/base/ssl_connection_status_flags.h" | 39 #include "net/base/ssl_connection_status_flags.h" |
| 40 #include "net/base/test_root_certs.h" | 40 #include "net/base/test_root_certs.h" |
| 41 #include "net/base/upload_data.h" | 41 #include "net/base/upload_data.h" |
| 42 #include "net/cookies/canonical_cookie.h" |
| 42 #include "net/cookies/cookie_monster.h" | 43 #include "net/cookies/cookie_monster.h" |
| 43 #include "net/cookies/cookie_store_test_helpers.h" | 44 #include "net/cookies/cookie_store_test_helpers.h" |
| 44 #include "net/disk_cache/disk_cache.h" | 45 #include "net/disk_cache/disk_cache.h" |
| 45 #include "net/ftp/ftp_network_layer.h" | 46 #include "net/ftp/ftp_network_layer.h" |
| 46 #include "net/http/http_cache.h" | 47 #include "net/http/http_cache.h" |
| 47 #include "net/http/http_network_layer.h" | 48 #include "net/http/http_network_layer.h" |
| 48 #include "net/http/http_network_session.h" | 49 #include "net/http/http_network_session.h" |
| 49 #include "net/http/http_request_headers.h" | 50 #include "net/http/http_request_headers.h" |
| 50 #include "net/http/http_response_headers.h" | 51 #include "net/http/http_response_headers.h" |
| 51 #include "net/ocsp/nss_ocsp.h" | 52 #include "net/ocsp/nss_ocsp.h" |
| (...skipping 4547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4599 req.SetExtraRequestHeaders(headers); | 4600 req.SetExtraRequestHeaders(headers); |
| 4600 req.Start(); | 4601 req.Start(); |
| 4601 MessageLoop::current()->Run(); | 4602 MessageLoop::current()->Run(); |
| 4602 // If the net tests are being run with ChromeFrame then we need to allow for | 4603 // If the net tests are being run with ChromeFrame then we need to allow for |
| 4603 // the 'chromeframe' suffix which is added to the user agent before the | 4604 // the 'chromeframe' suffix which is added to the user agent before the |
| 4604 // closing parentheses. | 4605 // closing parentheses. |
| 4605 EXPECT_TRUE(StartsWithASCII(d.data_received(), "Lynx (textmode", true)); | 4606 EXPECT_TRUE(StartsWithASCII(d.data_received(), "Lynx (textmode", true)); |
| 4606 } | 4607 } |
| 4607 | 4608 |
| 4608 } // namespace net | 4609 } // namespace net |
| OLD | NEW |