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 "content/browser/frame_host/navigation_entry_impl.h" | 5 #include "content/browser/frame_host/navigation_entry_impl.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <queue> | 9 #include <queue> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/debug/dump_without_crashing.h" | 12 #include "base/debug/dump_without_crashing.h" |
13 #include "base/i18n/rtl.h" | 13 #include "base/i18n/rtl.h" |
14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
15 #include "base/metrics/histogram.h" | 15 #include "base/metrics/histogram_macros.h" |
16 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
19 #include "components/url_formatter/url_formatter.h" | 19 #include "components/url_formatter/url_formatter.h" |
20 #include "content/common/content_constants_internal.h" | 20 #include "content/common/content_constants_internal.h" |
21 #include "content/common/navigation_params.h" | 21 #include "content/common/navigation_params.h" |
22 #include "content/common/page_state_serialization.h" | 22 #include "content/common/page_state_serialization.h" |
23 #include "content/common/resource_request_body_impl.h" | 23 #include "content/common/resource_request_body_impl.h" |
24 #include "content/common/site_isolation_policy.h" | 24 #include "content/common/site_isolation_policy.h" |
25 #include "content/public/common/browser_side_navigation_policy.h" | 25 #include "content/public/common/browser_side_navigation_policy.h" |
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 return node; | 906 return node; |
907 | 907 |
908 // Enqueue any children and keep looking. | 908 // Enqueue any children and keep looking. |
909 for (auto* child : node->children) | 909 for (auto* child : node->children) |
910 work_queue.push(child); | 910 work_queue.push(child); |
911 } | 911 } |
912 return nullptr; | 912 return nullptr; |
913 } | 913 } |
914 | 914 |
915 } // namespace content | 915 } // namespace content |
OLD | NEW |