| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/devtools_frontend_host_impl.h" | 5 #include "content/browser/devtools/devtools_frontend_host_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "content/browser/bad_message.h" | 9 #include "content/browser/bad_message.h" |
| 8 #include "content/common/devtools_messages.h" | 10 #include "content/common/devtools_messages.h" |
| 9 #include "content/public/browser/navigation_entry.h" | 11 #include "content/public/browser/navigation_entry.h" |
| 10 #include "content/public/browser/render_frame_host.h" | 12 #include "content/public/browser/render_frame_host.h" |
| 11 #include "content/public/browser/web_contents.h" | 13 #include "content/public/browser/web_contents.h" |
| 12 #include "content/public/common/content_client.h" | 14 #include "content/public/common/content_client.h" |
| 13 #include "grit/devtools_resources_map.h" | 15 #include "grit/devtools_resources_map.h" |
| 14 | 16 |
| 15 namespace content { | 17 namespace content { |
| 16 | 18 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 IPC_END_MESSAGE_MAP() | 73 IPC_END_MESSAGE_MAP() |
| 72 return handled; | 74 return handled; |
| 73 } | 75 } |
| 74 | 76 |
| 75 void DevToolsFrontendHostImpl::OnDispatchOnEmbedder( | 77 void DevToolsFrontendHostImpl::OnDispatchOnEmbedder( |
| 76 const std::string& message) { | 78 const std::string& message) { |
| 77 handle_message_callback_.Run(message); | 79 handle_message_callback_.Run(message); |
| 78 } | 80 } |
| 79 | 81 |
| 80 } // namespace content | 82 } // namespace content |
| OLD | NEW |