OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/json/json_reader.h" | 12 #include "base/json/json_reader.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
17 #include "base/strings/string_split.h" | 17 #include "base/strings/string_split.h" |
18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
19 #include "base/threading/thread_task_runner_handle.h" | 19 #include "base/threading/thread_task_runner_handle.h" |
20 #include "base/values.h" | 20 #include "base/values.h" |
21 #include "build/build_config.h" | 21 #include "build/build_config.h" |
22 #include "content/browser/child_process_security_policy_impl.h" | |
23 #include "content/browser/frame_host/render_frame_proxy_host.h" | 22 #include "content/browser/frame_host/render_frame_proxy_host.h" |
24 #include "content/browser/renderer_host/render_view_host_impl.h" | 23 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 24 #include "content/browser/shared/child_process_security_policy_helper.h" |
25 #include "content/browser/site_instance_impl.h" | 25 #include "content/browser/site_instance_impl.h" |
26 #include "content/browser/web_contents/web_contents_impl.h" | 26 #include "content/browser/web_contents/web_contents_impl.h" |
27 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 27 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
28 #include "content/browser/webui/web_ui_impl.h" | 28 #include "content/browser/webui/web_ui_impl.h" |
29 #include "content/common/content_constants_internal.h" | 29 #include "content/common/content_constants_internal.h" |
30 #include "content/common/input_messages.h" | 30 #include "content/common/input_messages.h" |
31 #include "content/common/site_isolation_policy.h" | 31 #include "content/common/site_isolation_policy.h" |
32 #include "content/public/browser/navigation_controller.h" | 32 #include "content/public/browser/navigation_controller.h" |
33 #include "content/public/browser/navigation_entry.h" | 33 #include "content/public/browser/navigation_entry.h" |
34 #include "content/public/browser/render_process_host.h" | 34 #include "content/public/browser/render_process_host.h" |
(...skipping 2761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2796 TestNavigationObserver commit_observer(web_contents); | 2796 TestNavigationObserver commit_observer(web_contents); |
2797 shell()->LoadURL(embedded_test_server()->GetURL("b.com", "/title1.html")); | 2797 shell()->LoadURL(embedded_test_server()->GetURL("b.com", "/title1.html")); |
2798 commit_observer.Wait(); | 2798 commit_observer.Wait(); |
2799 exit_observer.Wait(); | 2799 exit_observer.Wait(); |
2800 | 2800 |
2801 // Ensure the entry's title hasn't changed after the ignored commit. | 2801 // Ensure the entry's title hasn't changed after the ignored commit. |
2802 EXPECT_EQ(title, entry->GetTitle()); | 2802 EXPECT_EQ(title, entry->GetTitle()); |
2803 } | 2803 } |
2804 | 2804 |
2805 } // namespace content | 2805 } // namespace content |
OLD | NEW |