| 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 <stddef.h> | 5 #include <stddef.h> |
| 6 #include <deque> | 6 #include <deque> |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <unordered_map> | 9 #include <unordered_map> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 3773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3784 WebContents* web_contents = | 3784 WebContents* web_contents = |
| 3785 browser()->tab_strip_model()->GetActiveWebContents(); | 3785 browser()->tab_strip_model()->GetActiveWebContents(); |
| 3786 bool display_test_result = false; | 3786 bool display_test_result = false; |
| 3787 ASSERT_TRUE(content::ExecuteScriptAndExtractBool(web_contents, | 3787 ASSERT_TRUE(content::ExecuteScriptAndExtractBool(web_contents, |
| 3788 "DidDisplayReallyPass()", | 3788 "DidDisplayReallyPass()", |
| 3789 &display_test_result)); | 3789 &display_test_result)); |
| 3790 ASSERT_TRUE(display_test_result); | 3790 ASSERT_TRUE(display_test_result); |
| 3791 } | 3791 } |
| 3792 #endif // !defined(DISABLE_NACL) | 3792 #endif // !defined(DISABLE_NACL) |
| 3793 | 3793 |
| 3794 } // namespace prerender |
| 3795 |
| 3794 #endif // !defined(OS_MACOSX) || !defined(ADDRESS_SANITIZER) | 3796 #endif // !defined(OS_MACOSX) || !defined(ADDRESS_SANITIZER) |
| 3795 | |
| 3796 } // namespace prerender | |
| OLD | NEW |