| 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> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/bind.h" | 13 #include "base/bind.h" |
| 14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/ref_counted_memory.h" | 17 #include "base/memory/ref_counted_memory.h" |
| 18 #include "base/memory/scoped_vector.h" | |
| 19 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 20 #include "base/path_service.h" | 19 #include "base/path_service.h" |
| 21 #include "base/run_loop.h" | 20 #include "base/run_loop.h" |
| 22 #include "base/scoped_observer.h" | 21 #include "base/scoped_observer.h" |
| 23 #include "base/stl_util.h" | 22 #include "base/stl_util.h" |
| 24 #include "base/strings/string_split.h" | 23 #include "base/strings/string_split.h" |
| 25 #include "base/strings/string_util.h" | 24 #include "base/strings/string_util.h" |
| 26 #include "base/strings/stringprintf.h" | 25 #include "base/strings/stringprintf.h" |
| 27 #include "base/strings/utf_string_conversions.h" | 26 #include "base/strings/utf_string_conversions.h" |
| 28 #include "base/test/scoped_feature_list.h" | 27 #include "base/test/scoped_feature_list.h" |
| (...skipping 3775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3804 browser()->tab_strip_model()->GetActiveWebContents(); | 3803 browser()->tab_strip_model()->GetActiveWebContents(); |
| 3805 bool display_test_result = false; | 3804 bool display_test_result = false; |
| 3806 ASSERT_TRUE(content::ExecuteScriptAndExtractBool(web_contents, | 3805 ASSERT_TRUE(content::ExecuteScriptAndExtractBool(web_contents, |
| 3807 "DidDisplayReallyPass()", | 3806 "DidDisplayReallyPass()", |
| 3808 &display_test_result)); | 3807 &display_test_result)); |
| 3809 ASSERT_TRUE(display_test_result); | 3808 ASSERT_TRUE(display_test_result); |
| 3810 } | 3809 } |
| 3811 #endif // !defined(DISABLE_NACL) | 3810 #endif // !defined(DISABLE_NACL) |
| 3812 | 3811 |
| 3813 } // namespace prerender | 3812 } // namespace prerender |
| OLD | NEW |