| 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 "chrome_frame/test/test_with_web_server.h" | 5 #include "chrome_frame/test/test_with_web_server.h" |
| 6 | 6 |
| 7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
| 8 #include "base/file_util.h" |
| 8 #include "base/file_version_info.h" | 9 #include "base/file_version_info.h" |
| 10 #include "base/files/memory_mapped_file.h" |
| 9 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
| 10 #include "base/path_service.h" | 12 #include "base/path_service.h" |
| 11 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
| 12 #include "base/test/test_timeouts.h" | 14 #include "base/test/test_timeouts.h" |
| 13 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
| 14 #include "base/win/windows_version.h" | 16 #include "base/win/windows_version.h" |
| 15 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
| 16 #include "chrome/installer/util/product.h" | 18 #include "chrome/installer/util/product.h" |
| 17 #include "chrome/installer/util/install_util.h" | 19 #include "chrome/installer/util/install_util.h" |
| 18 #include "chrome/installer/util/helper.h" | 20 #include "chrome/installer/util/helper.h" |
| (...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1077 server.web_server()->AddResponse(response); | 1079 server.web_server()->AddResponse(response); |
| 1078 | 1080 |
| 1079 std::wstring url(server.FormatHttpPath(L"form.html")); | 1081 std::wstring url(server.FormatHttpPath(L"form.html")); |
| 1080 | 1082 |
| 1081 ASSERT_TRUE(LaunchBrowser(IE, url.c_str())); | 1083 ASSERT_TRUE(LaunchBrowser(IE, url.c_str())); |
| 1082 loop().RunFor(kChromeFrameLongNavigationTimeout); | 1084 loop().RunFor(kChromeFrameLongNavigationTimeout); |
| 1083 | 1085 |
| 1084 EXPECT_EQ(1, response->get_request_count()); | 1086 EXPECT_EQ(1, response->get_request_count()); |
| 1085 EXPECT_EQ(1, response->post_request_count()); | 1087 EXPECT_EQ(1, response->post_request_count()); |
| 1086 } | 1088 } |
| OLD | NEW |