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 "content/browser/devtools/render_frame_devtools_agent_host.h" | 5 #include "content/browser/devtools/render_frame_devtools_agent_host.h" |
6 | 6 |
7 #include "base/basictypes.h" | |
8 #include "base/lazy_instance.h" | 7 #include "base/lazy_instance.h" |
9 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "build/build_config.h" |
10 #include "content/browser/child_process_security_policy_impl.h" | 10 #include "content/browser/child_process_security_policy_impl.h" |
11 #include "content/browser/devtools/devtools_frame_trace_recorder.h" | 11 #include "content/browser/devtools/devtools_frame_trace_recorder.h" |
12 #include "content/browser/devtools/devtools_protocol_handler.h" | 12 #include "content/browser/devtools/devtools_protocol_handler.h" |
13 #include "content/browser/devtools/protocol/dom_handler.h" | 13 #include "content/browser/devtools/protocol/dom_handler.h" |
14 #include "content/browser/devtools/protocol/emulation_handler.h" | 14 #include "content/browser/devtools/protocol/emulation_handler.h" |
15 #include "content/browser/devtools/protocol/input_handler.h" | 15 #include "content/browser/devtools/protocol/input_handler.h" |
16 #include "content/browser/devtools/protocol/inspector_handler.h" | 16 #include "content/browser/devtools/protocol/inspector_handler.h" |
17 #include "content/browser/devtools/protocol/io_handler.h" | 17 #include "content/browser/devtools/protocol/io_handler.h" |
18 #include "content/browser/devtools/protocol/network_handler.h" | 18 #include "content/browser/devtools/protocol/network_handler.h" |
19 #include "content/browser/devtools/protocol/page_handler.h" | 19 #include "content/browser/devtools/protocol/page_handler.h" |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 } | 861 } |
862 | 862 |
863 bool RenderFrameDevToolsAgentHost::MatchesMyTreeNode( | 863 bool RenderFrameDevToolsAgentHost::MatchesMyTreeNode( |
864 NavigationHandle* navigation_handle) { | 864 NavigationHandle* navigation_handle) { |
865 return frame_tree_node_ == | 865 return frame_tree_node_ == |
866 static_cast<NavigationHandleImpl*>(navigation_handle) | 866 static_cast<NavigationHandleImpl*>(navigation_handle) |
867 ->frame_tree_node(); | 867 ->frame_tree_node(); |
868 } | 868 } |
869 | 869 |
870 } // namespace content | 870 } // namespace content |
OLD | NEW |