| OLD | NEW | 
|     1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |     1 // Copyright (c) 2011 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 <deque> |     5 #include <deque> | 
|     6  |     6  | 
|     7 #include "base/command_line.h" |     7 #include "base/command_line.h" | 
|     8 #include "base/memory/scoped_temp_dir.h" |     8 #include "base/memory/scoped_temp_dir.h" | 
|     9 #include "base/path_service.h" |     9 #include "base/path_service.h" | 
|    10 #include "base/string_util.h" |    10 #include "base/string_util.h" | 
| (...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1064       std::make_pair("REPLACE_WITH_URL", https_url.spec())); |  1064       std::make_pair("REPLACE_WITH_URL", https_url.spec())); | 
|  1065   std::string replacement_path; |  1065   std::string replacement_path; | 
|  1066   ASSERT_TRUE(net::TestServer::GetFilePathWithReplacements( |  1066   ASSERT_TRUE(net::TestServer::GetFilePathWithReplacements( | 
|  1067       "files/prerender/prerender_with_iframe.html", |  1067       "files/prerender/prerender_with_iframe.html", | 
|  1068       replacement_text, |  1068       replacement_text, | 
|  1069       &replacement_path)); |  1069       &replacement_path)); | 
|  1070   PrerenderTestURL(replacement_path, FINAL_STATUS_USED, 1); |  1070   PrerenderTestURL(replacement_path, FINAL_STATUS_USED, 1); | 
|  1071   NavigateToDestURL(); |  1071   NavigateToDestURL(); | 
|  1072 } |  1072 } | 
|  1073  |  1073  | 
 |  1074 // Checks that we cancel correctly when window.print() is called. | 
 |  1075 IN_PROC_BROWSER_TEST_F(PrerenderBrowserTest, PrerenderPrint) { | 
 |  1076   PrerenderTestURL("files/prerender/prerender_print.html", | 
 |  1077                    FINAL_STATUS_WINDOW_PRINT, | 
 |  1078                    1); | 
 |  1079 } | 
 |  1080  | 
|  1074 }  // namespace prerender |  1081 }  // namespace prerender | 
| OLD | NEW |